Boot Info Script cfd9efe + Boot-Repair extra info [Boot-Info 26Apr2016]
============================= Boot Info Summary: ===============================
=> No boot loader is installed in the MBR of /dev/sda.
sda1: __________________________________________________________________________
File system: vfat
Boot sector type: Windows 8/2012: FAT32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /boot/grub/grub.cfg /syslinux.cfg /casper/vmlinuz.efi
/EFI/BOOT/bootia32.efi
============================ Drive/Partition Info: =============================
Drive: sda _____________________________________________________________________
Disk /dev/sda: 3.8 GiB, 4051697664 bytes, 7913472 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Partition Boot Start Sector End Sector # of Sectors Id System
/dev/sda1 1 4,294,967,295 4,294,967,295 ee GPT
/dev/sda1 ends after the last sector of /dev/sda
GUID Partition Table detected.
Partition Attrs Start Sector End Sector # of Sectors System
/dev/sda1 2,048 7,913,438 7,911,391 Data partition (Windows/Linux)
Attributes: R=Required, N=No Block IO, B=Legacy BIOS Bootable, +=More bits set
"blkid" output: ________________________________________________________________
Device UUID TYPE LABEL
/dev/loop0 squashfs
/dev/mmcblk0
/dev/mmcblk0p1 1663-56F5 vfat SYSTEM
/dev/mmcblk0p2
/dev/mmcblk0p3
/dev/mmcblk0p4 1A286C6D286C4A39 ntfs RECOVERY
/dev/mmcblk1
/dev/mmcblk1p1 13dd157f-10dd-4858-a4cf-29f821eaf963 swap
/dev/mmcblk1p2 7CC6-1E1B vfat
/dev/mmcblk1p3 f9c0307c-9b4e-4eba-b83d-2247f276fc1e ext4
/dev/sda1 1695-D502 vfat UBUNTU-MATE
========================= "ls -l /dev/disk/by-id" output: ======================
total 0
lrwxrwxrwx 1 root root 13 Dec 7 2016 mmc-HBG4e__0x9f6a42f0 -> ../../mmcblk0
lrwxrwxrwx 1 root root 15 Dec 7 2016 mmc-HBG4e__0x9f6a42f0-part1 -> ../../mmcblk0p1
lrwxrwxrwx 1 root root 15 Dec 7 2016 mmc-HBG4e__0x9f6a42f0-part2 -> ../../mmcblk0p2
lrwxrwxrwx 1 root root 15 Dec 7 2016 mmc-HBG4e__0x9f6a42f0-part3 -> ../../mmcblk0p3
lrwxrwxrwx 1 root root 15 Dec 7 2016 mmc-HBG4e__0x9f6a42f0-part4 -> ../../mmcblk0p4
lrwxrwxrwx 1 root root 13 Dec 7 2016 mmc-SD64G_0xda92cc9e -> ../../mmcblk1
lrwxrwxrwx 1 root root 15 Dec 7 2016 mmc-SD64G_0xda92cc9e-part1 -> ../../mmcblk1p1
lrwxrwxrwx 1 root root 15 Dec 7 2016 mmc-SD64G_0xda92cc9e-part2 -> ../../mmcblk1p2
lrwxrwxrwx 1 root root 15 Dec 7 2016 mmc-SD64G_0xda92cc9e-part3 -> ../../mmcblk1p3
lrwxrwxrwx 1 root root 9 Dec 7 21:07 usb-USB_Flash_DISK_1412045090009783-0:0 -> ../../sda
lrwxrwxrwx 1 root root 10 Dec 7 21:07 usb-USB_Flash_DISK_1412045090009783-0:0-part1 -> ../../sda1
================================ Mount points: =================================
Device Mount_Point Type Options
/dev/loop0 /rofs squashfs (ro,noatime)
/dev/mmcblk1p3 /media/ubuntu-mate/f9c0307c-9b4e-4eba-b83d-2247f276fc1e ext4 (rw,nosuid,nodev,relatime,data=ordered,uhelper=udisks2)
/dev/sda1 /cdrom vfat (ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
=========================== sda1/boot/grub/grub.cfg: ===========================
--------------------------------------------------------------------------------
if loadfont /boot/grub/font.pf2 ; then
set gfxmode=auto
insmod efi_gop
insmod efi_uga
insmod gfxterm
terminal_output gfxterm
fi
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
menuentry "Try Ubuntu MATE without installing" {
set gfxpayload=keep
linux /casper/vmlinuz.efi file=/cdrom/preseed/ubuntu-mate.seed boot=casper quiet splash ---
initrd /casper/initrd.lz
}
menuentry "Install Ubuntu MATE" {
set gfxpayload=keep
linux /casper/vmlinuz.efi file=/cdrom/preseed/ubuntu-mate.seed boot=casper only-ubiquity quiet splash ---
initrd /casper/initrd.lz
}
menuentry "OEM install (for manufacturers)" {
set gfxpayload=keep
linux /casper/vmlinuz.efi file=/cdrom/preseed/ubuntu-mate.seed boot=casper only-ubiquity quiet splash oem-config/enable=true ---
initrd /casper/initrd.lz
}
menuentry "Check disc for defects" {
set gfxpayload=keep
linux /casper/vmlinuz.efi boot=casper integrity-check quiet splash ---
initrd /casper/initrd.lz
}
--------------------------------------------------------------------------------
============================== sda1/syslinux.cfg: ==============================
--------------------------------------------------------------------------------
DEFAULT loadconfig
LABEL loadconfig
CONFIG /isolinux/isolinux.cfg
APPEND /isolinux/
--------------------------------------------------------------------------------
=================== sda1: Location of files loaded by Grub: ====================
GiB - GB File Fragment(s)
?? = ?? boot/grub/grub.cfg 1
================= sda1: Location of files loaded by Syslinux: ==================
GiB - GB File Fragment(s)
?? = ?? syslinux.cfg 1
=============================== StdErr Messages: ===============================
File descriptor 9 (/proc/6550/mounts) leaked on lvs invocation. Parent PID 20201: bash
File descriptor 63 (pipe:[54304]) leaked on lvs invocation. Parent PID 20201: bash
ADDITIONAL INFORMATION :
=================== log of boot-repair 2016-12-07__21h07 ===================
boot-repair version : 4ppa40
boot-sav version : 4ppa40
glade2script version : 3.2.3~ppa1
boot-sav-extra version : 4ppa40
Error: /dev/mmcblk0rpmb: unrecognised disk label
Warning: Error fsyncing/closing /dev/mmcblk0rpmb: Input/output error
Error: /dev/mmcblk0boot0: unrecognised disk label
Error: /dev/mmcblk0boot1: unrecognised disk label
Error: /dev/mmcblk0rpmb: unrecognised disk label
Warning: Error fsyncing/closing /dev/mmcblk0rpmb: Input/output error
Error: /dev/mmcblk0boot0: unrecognised disk label
Error: /dev/mmcblk0boot1: unrecognised disk label
boot-repair is executed in live-session (Ubuntu 16.04.1 LTS, xenial, Ubuntu, x86_64)
CPU op-mode(s): 32-bit, 64-bit
BOOT_IMAGE=/casper/vmlinuz.efi file=/cdrom/preseed/ubuntu-mate.seed boot=casper quiet splash ---
ls: cannot access '/home/usr/.config': No such file or directory
mount: /dev/mmcblk0 is already mounted or /mnt/boot-sav/mmcblk0 busy
mount /dev/mmcblk0 : Error code 32
mount -r /dev/mmcblk0 /mnt/boot-sav/mmcblk0
mount: /dev/mmcblk0 is already mounted or /mnt/boot-sav/mmcblk0 busy
mount -r /dev/mmcblk0 : Error code 32
NTFS signature is missing.
Failed to mount '/dev/mmcblk0p3': Invalid argument
The device '/dev/mmcblk0p3' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
mount /dev/mmcblk0p3 : Error code 12
mount -r /dev/mmcblk0p3 /mnt/boot-sav/mmcblk0p3
NTFS signature is missing.
Failed to mount '/dev/mmcblk0p3': Invalid argument
The device '/dev/mmcblk0p3' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
mount -r /dev/mmcblk0p3 : Error code 12
mount: /dev/mmcblk1 is already mounted or /mnt/boot-sav/mmcblk1 busy
mount /dev/mmcblk1 : Error code 32
mount -r /dev/mmcblk1 /mnt/boot-sav/mmcblk1
mount: /dev/mmcblk1 is already mounted or /mnt/boot-sav/mmcblk1 busy
mount -r /dev/mmcblk1 : Error code 32
cat: /sys/block/mmcblk0/mmcblk0boot0/start: No such file or directory
cat: /sys/block/mmcblk0/mmcblk0boot1/start: No such file or directory
cat: /sys/block/mmcblk0/mmcblk0rpmb/start: No such file or directory
=================== os-prober:
/dev/mmcblk0p1@/efi/Microsoft/Boot/bootmgfw.efi:Windows Boot Manager:Windows:efi
/dev/mmcblk1p3:Ubuntu 16.04.1 LTS (16.04):Ubuntu:linux
=================== blkid:
/dev/mmcblk0p1: LABEL="SYSTEM" UUID="1663-56F5" TYPE="vfat" PARTLABEL="EFI system partition" PARTUUID="bf55eb2a-8300-41c5-ba6f-96c77d253dd9"
/dev/mmcblk0p4: LABEL="RECOVERY" UUID="1A286C6D286C4A39" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="a9a1a9d9-ad23-439d-872f-5799c87d1ef1"
/dev/mmcblk1p2: UUID="7CC6-1E1B" TYPE="vfat" PARTUUID="d9d01342-2e24-44ab-8db3-c56db1215297"
/dev/mmcblk1p3: UUID="f9c0307c-9b4e-4eba-b83d-2247f276fc1e" TYPE="ext4" PARTUUID="03ed1e33-78d4-4374-8272-66780fb09f0e"
/dev/sda1: LABEL="UBUNTU-MATE" UUID="1695-D502" TYPE="vfat" PARTLABEL="Microsoft Basic Data" PARTUUID="5988a1b1-2d35-473b-b207-3b5768c73381"
/dev/loop0: TYPE="squashfs"
/dev/mmcblk1p1: UUID="13dd157f-10dd-4858-a4cf-29f821eaf963" TYPE="swap" PARTUUID="8c768860-2a0d-4ead-b4a1-098cf06a60ce"
/dev/mmcblk0: PTUUID="2db8e9ac-42f1-4620-9139-52933570ecf6" PTTYPE="gpt"
/dev/mmcblk0p2: PARTLABEL="Microsoft reserved partition" PARTUUID="dfd20c70-165d-44e4-894b-680bc0715a1a"
/dev/mmcblk0p3: PARTLABEL="Basic data partition" PARTUUID="75a8409b-9c5f-4550-8f1d-d03a2f14b6be"
/dev/mmcblk1: PTUUID="be316f1e-f7cb-7027-3d4a-710660767894" PTTYPE="gpt"
2 disks with OS, 2 OS : 1 Linux, 0 MacOS, 1 Windows, 0 unknown type OS.
mount: /dev/mmcblk0 is already mounted or /mnt/boot-sav/mmcblk0 busy
mount /dev/mmcblk0 : Error code 32
mount -r /dev/mmcblk0 /mnt/boot-sav/mmcblk0
mount: /dev/mmcblk0 is already mounted or /mnt/boot-sav/mmcblk0 busy
mount -r /dev/mmcblk0 : Error code 32
NTFS signature is missing.
Failed to mount '/dev/mmcblk0p3': Invalid argument
The device '/dev/mmcblk0p3' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
mount /dev/mmcblk0p3 : Error code 12
mount -r /dev/mmcblk0p3 /mnt/boot-sav/mmcblk0p3
NTFS signature is missing.
Failed to mount '/dev/mmcblk0p3': Invalid argument
The device '/dev/mmcblk0p3' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
mount -r /dev/mmcblk0p3 : Error code 12
mount: /dev/mmcblk1 is already mounted or /mnt/boot-sav/mmcblk1 busy
mount /dev/mmcblk1 : Error code 32
mount -r /dev/mmcblk1 /mnt/boot-sav/mmcblk1
mount: /dev/mmcblk1 is already mounted or /mnt/boot-sav/mmcblk1 busy
mount -r /dev/mmcblk1 : Error code 32
Presence of EFI/Microsoft file detected: /mnt/boot-sav/mmcblk0p1/EFI/Microsoft/Boot/bootmgfw.efi
Presence of EFI/Boot file detected: /mnt/boot-sav/mmcblk0p1/EFI/Boot/bootia32.efi
Presence of EFI/Boot file detected: /mnt/boot-sav/mmcblk0p1/EFI/Boot/bootx64.efi
=================== /media/ubuntu-mate/f9c0307c-9b4e-4eba-b83d-2247f276fc1e/etc/grub.d/ :
drwxr-xr-x 2 root root 4096 Dec 7 20:49 grub.d
total 80
-rwxr-xr-x 1 root root 9791 Jun 17 09:10 00_header
-rwxr-xr-x 1 root root 6258 Mar 15 2016 05_debian_theme
-rwxr-xr-x 1 root root 12261 Jun 17 09:10 10_linux
-rwxr-xr-x 1 root root 11082 Jun 17 09:10 20_linux_xen
-rwxr-xr-x 1 root root 1992 Jan 28 2016 20_memtest86+
-rwxr-xr-x 1 root root 588 Dec 7 20:49 25_custom
-rwxr-xr-x 1 root root 11692 Jun 17 09:10 30_os-prober
-rwxr-xr-x 1 root root 1418 Jun 17 09:10 30_uefi-firmware
-rwxr-xr-x 1 root root 214 Jun 17 09:10 40_custom
-rwxr-xr-x 1 root root 216 Jun 17 09:10 41_custom
-rw-r--r-- 1 root root 483 Jun 17 09:10 README
=================== /media/ubuntu-mate/f9c0307c-9b4e-4eba-b83d-2247f276fc1e/etc/default/grub :
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
# info -f grub -n 'Simple configuration'
GRUB_DEFAULT=0
#GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console
# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480
# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true
# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"
# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"
/boot/efi detected in the fstab of mmcblk1p3: UUID=1663-56F5 (mmcblk0p1)
=================== efibootmgr -v
BootCurrent: 0008
Timeout: 2 seconds
BootOrder: 0000,0002,0005,0007,0008,0001,0003,0004
Boot0000* Windows Boot Manager HD(1,GPT,bf55eb2a-8300-41c5-ba6f-96c77d253dd9,0x800,0x82000)/File(EFIMICROSOFTBOOTBOOTMGFW.EFI)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}...0................
Boot0001* UEFI:CD/DVD Drive BBS(129,,0x0)
Boot0002* ubuntu HD(1,GPT,bf55eb2a-8300-41c5-ba6f-96c77d253dd9,0x800,0x82000)/File(EFIUBUNTUGRUBIA32.EFI)
Boot0003* UEFI:Removable Device BBS(130,,0x0)
Boot0004* UEFI:Network Device BBS(131,,0x0)
Boot0005* bodhi HD(1,GPT,bf55eb2a-8300-41c5-ba6f-96c77d253dd9,0x800,0x82000)/File(EFIBODHIGRUBIA32.EFI)
Boot0007* ubuntu HD(1,GPT,bf55eb2a-8300-41c5-ba6f-96c77d253dd9,0x800,0x82000)/File(EFIUBUNTUGRUBX64.EFI)
Boot0008* UEFI: USB Flash DISK 1100 PciRoot(0x0)/Pci(0x1d,0x0)/USB(1,0)/USB(2,0)/USB(1,0)/HD(1,GPT,5988a1b1-2d35-473b-b207-3b5768c73381,0x800,0x78b7df)..BO
=================== UEFI/Legacy mode:
BIOS is EFI-compatible, and is setup in EFI-mode for this live-session.
SecureBoot disabled.
(maybe sec-boot, Please report this message to
[email protected])
=================== PARTITIONS & DISKS:
mmcblk0p1 : mmcblk0, not-sepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-boot, is-os, is-correct-EFI, part-has-no-fstab, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, not-far, /mnt/boot-sav/mmcblk0p1.
mmcblk0p4 : mmcblk0, not-sepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-boot, no-os, not--efi--part, part-has-no-fstab, part-has-no-fstab, no-nt, no-winload, recovery-or-hidden, no-bmgr, notwinboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, not-far, /mnt/boot-sav/mmcblk0p4.
mmcblk1p2 : mmcblk1, not-sepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-boot, no-os, not--efi--part, part-has-no-fstab, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, not-far, /mnt/boot-sav/mmcblk1p2.
mmcblk1p3 : mmcblk1, not-sepboot, grubenv-ok grub2, signed grub-efi , update-grub, 64, with-boot, is-os, not--efi--part, fstab-without-boot, fstab-has-goodEFI, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, apt-get, grub-install, with--usr, fstab-without-usr, not-sep-usr, standard, not-far, /media/ubuntu-mate/f9c0307c-9b4e-4eba-b83d-2247f276fc1e.
mmcblk0 : sda, maybesepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-boot, no-os, not--efi--part, part-has-no-fstab, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, not-far, /mnt/boot-sav/mmcblk0.
mmcblk0p3 : mmcblk0, maybesepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-boot, no-os, not--efi--part, part-has-no-fstab, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, not-far, /mnt/boot-sav/mmcblk0p3.
mmcblk1 : sda, maybesepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-boot, no-os, not--efi--part, part-has-no-fstab, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, not-far, /mnt/boot-sav/mmcblk1.
mmcblk0 : GPT, no-BIOS_boot, has-correctEFI, not-usb, has-os, 1 sectors * 512 bytes
mmcblk1 : GPT, no-BIOS_boot, has-no-EFIpart, not-usb, has-os, 2048 sectors * 512 bytes
sda : GPT, no-BIOS_boot, has-no-EFIpart, usb-disk, no-os, 2048 sectors * 512 bytes
=================== parted -l:
Model: USB Flash DISK (scsi)
Disk /dev/sda: 4052MB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 1049kB 4052MB 4051MB fat32 Microsoft Basic Data msftdata
Model: Generic SD/MMC Storage Card (sd/mmc)
Disk /dev/mmcblk0rpmb: 4194kB
Sector size (logical/physical): 512B/512B
Partition Table: unknown
Disk Flags:
Model: Generic SD/MMC Storage Card (sd/mmc)
Disk /dev/mmcblk0boot0: 4194kB
Sector size (logical/physical): 512B/512B
Partition Table: unknown
Disk Flags:
Model: Generic SD/MMC Storage Card (sd/mmc)
Disk /dev/mmcblk0boot1: 4194kB
Sector size (logical/physical): 512B/512B
Partition Table: unknown
Disk Flags:
Model: MMC HBG4e (sd/mmc)
Disk /dev/mmcblk0: 31.3GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 1049kB 274MB 273MB fat32 EFI system partition boot, esp
2 274MB 290MB 16.8MB Microsoft reserved partition msftres
3 290MB 30.7GB 30.5GB Basic data partition msftdata
4 30.7GB 31.3GB 523MB ntfs Basic data partition hidden, diag
Model: SD SD64G (sd/mmc)
Disk /dev/mmcblk1: 62.5GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 1049kB 2048MB 2047MB linux-swap(v1)
2 2048MB 2147MB 99.6MB fat32 boot, esp
3 2147MB 62.5GB 60.4GB ext4
=================== parted -lm:
BYT;
/dev/sda:4052MB:scsi:512:512:gpt:USB Flash DISK:;
1:1049kB:4052MB:4051MB:fat32:Microsoft Basic Data:msftdata;
BYT;
/dev/mmcblk0rpmb:4194kB:sd/mmc:512:512:unknown:Generic SD/MMC Storage Card:;
BYT;
/dev/mmcblk0boot0:4194kB:sd/mmc:512:512:unknown:Generic SD/MMC Storage Card:;
BYT;
/dev/mmcblk0boot1:4194kB:sd/mmc:512:512:unknown:Generic SD/MMC Storage Card:;
BYT;
/dev/mmcblk0:31.3GB:sd/mmc:512:512:gpt:MMC HBG4e:;
1:1049kB:274MB:273MB:fat32:EFI system partition:boot, esp;
2:274MB:290MB:16.8MB::Microsoft reserved partition:msftres;
3:290MB:30.7GB:30.5GB::Basic data partition:msftdata;
4:30.7GB:31.3GB:523MB:ntfs:Basic data partition:hidden, diag;
BYT;
/dev/mmcblk1:62.5GB:sd/mmc:512:512:gpt:SD SD64G:;
1:1049kB:2048MB:2047MB:linux-swap(v1)::;
2:2048MB:2147MB:99.6MB:fat32::boot, esp;
3:2147MB:62.5GB:60.4GB:ext4::;
=================== lsblk:
KNAME TYPE FSTYPE SIZE LABEL
sda disk 3.8G
sda1 part vfat 3.8G UBUNTU-MATE
loop0 loop squashfs 1.5G
mmcblk0rpmb disk 4M
mmcblk0boot0 disk 4M
mmcblk0boot1 disk 4M
mmcblk0 disk 29.1G
mmcblk0p1 part vfat 260M SYSTEM
mmcblk0p2 part 16M
mmcblk0p3 part 28.4G
mmcblk0p4 part ntfs 499M RECOVERY
mmcblk1 disk 58.2G
mmcblk1p1 part swap 1.9G
mmcblk1p2 part vfat 95M
mmcblk1p3 part ext4 56.2G
KNAME ROTA RO RM STATE MOUNTPOINT
sda 1 0 1 running
sda1 1 0 1 /cdrom
loop0 1 1 0 /rofs
mmcblk0rpmb 0 0 0
mmcblk0boot0 0 1 0
mmcblk0boot1 0 1 0
mmcblk0 0 0 0
mmcblk0p1 0 0 0 /mnt/boot-sav/mmcblk0p1
mmcblk0p2 0 0 0
mmcblk0p3 0 0 0
mmcblk0p4 0 0 0 /mnt/boot-sav/mmcblk0p4
mmcblk1 0 0 0
mmcblk1p1 0 0 0
mmcblk1p2 0 0 0 /mnt/boot-sav/mmcblk1p2
mmcblk1p3 0 0 0 /media/ubuntu-mate/f9c0307c-9b4e-4eba-b83d-2247f276fc1e
=================== mount:
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs (rw,nosuid,relatime,size=973236k,nr_inodes=243309,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=197576k,mode=755)
/dev/sda1 on /cdrom type vfat (ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/dev/loop0 on /rofs type squashfs (ro,noatime)
/cow on / type overlay (rw,relatime,lowerdir=//filesystem.squashfs,upperdir=/cow/upper,workdir=/cow/work)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
efivarfs on /sys/firmware/efi/efivars type efivarfs (rw,nosuid,nodev,noexec,relatime)
cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb)
cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=32,pgrp=1,timeout=0,minproto=5,maxproto=5,direct)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
mqueue on /dev/mqueue type mqueue (rw,relatime)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
tracefs on /sys/kernel/debug/tracing type tracefs (rw,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,relatime)
tmpfs on /run/user/999 type tmpfs (rw,nosuid,nodev,relatime,size=197576k,mode=700,uid=999,gid=999)
gvfsd-fuse on /run/user/999/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=999,group_id=999)
/dev/mmcblk1p3 on /media/ubuntu-mate/f9c0307c-9b4e-4eba-b83d-2247f276fc1e type ext4 (rw,nosuid,nodev,relatime,data=ordered,uhelper=udisks2)
/dev/mmcblk0p1 on /mnt/boot-sav/mmcblk0p1 type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/dev/mmcblk0p4 on /mnt/boot-sav/mmcblk0p4 type fuseblk (rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096)
/dev/mmcblk1p2 on /mnt/boot-sav/mmcblk1p2 type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
=================== ls:
/sys/block/mmcblk0 (filtered): alignment_offset bdi capability dev device discard_alignment ext_range force_ro holders inflight integrity mmcblk0boot0 mmcblk0boot1 mmcblk0p1 mmcblk0p2 mmcblk0p3 mmcblk0p4 mmcblk0rpmb power queue range removable ro size slaves stat subsystem trace uevent
/sys/block/mmcblk0boot0 (filtered): alignment_offset bdi capability dev device discard_alignment ext_range force_ro holders inflight integrity power queue range removable ro ro_lock_until_next_power_on size slaves stat subsystem trace uevent
/sys/block/mmcblk0boot1 (filtered): alignment_offset bdi capability dev device discard_alignment ext_range force_ro holders inflight integrity power queue range removable ro ro_lock_until_next_power_on size slaves stat subsystem trace uevent
/sys/block/mmcblk0rpmb (filtered): alignment_offset bdi capability dev device discard_alignment ext_range force_ro holders inflight integrity power queue range removable ro size slaves stat subsystem trace uevent
/sys/block/mmcblk1 (filtered): alignment_offset bdi capability dev device discard_alignment ext_range force_ro holders inflight integrity mmcblk1p1 mmcblk1p2 mmcblk1p3 power queue range removable ro size slaves stat subsystem trace uevent
/sys/block/sda (filtered): alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight integrity power queue range removable ro sda1 size slaves stat subsystem trace uevent
/dev (filtered): acpi_thermal_rel autofs block bsg btrfs-control bus char console core cpu cpu_dma_latency cuse disk dri ecryptfs fb0 fd full fuse hidraw0 hidraw1 hpet hugepages hwrng i2c-0 i2c-1 i2c-10 i2c-11 i2c-12 i2c-2 i2c-3 i2c-4 i2c-5 i2c-6 i2c-7 i2c-8 i2c-9 initctl input kmsg kvm lightnvm log mapper mcelog media0 mei0 mem memory_bandwidth mmcblk0 mmcblk0boot0 mmcblk0boot1 mmcblk0p1 mmcblk0p2 mmcblk0p3 mmcblk0p4 mmcblk0rpmb mmcblk1 mmcblk1p1 mmcblk1p2 mmcblk1p3 mqueue net network_latency network_throughput null port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sg0 shm snapshot snd stderr stdin stdout tpm0 uhid uinput urandom userio v4l vfio vga_arbiter vhci vhost-net video0 zero
ls /dev/mapper: control
=================== hexdump -n512 -C /dev/mmcblk0p1
00000000 eb 58 90 4d 53 44 4f 53 35 2e 30 00 02 08 fe 1b |.X.MSDOS5.0.....|
00000010 02 00 00 00 00 f8 00 00 3f 00 ff 00 00 08 00 00 |........?.......|
00000020 00 20 08 00 01 02 00 00 00 00 00 00 02 00 00 00 |. ..............|
00000030 01 00 06 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000040 80 01 29 f5 56 63 16 4e 4f 20 4e 41 4d 45 20 20 |..).Vc.NO NAME |
00000050 20 20 46 41 54 33 32 20 20 20 33 c9 8e d1 bc f4 | FAT32 3.....|
00000070 40 b4 41 bb aa 55 cd 13 72 10 81 fb 55 aa 75 0a |@.A..U..r...U.u.|
00000080 f6 c1 01 74 05 fe 46 02 eb 2d 8a 56 40 b4 08 cd |...t..F..-.V@...|
00000090 13 73 05 b9 ff ff 8a f1 66 0f b6 c6 40 66 0f b6 |.s......f...@f..|
000000a0 d1 80 e2 3f f7 e2 86 cd c0 ed 06 41 66 0f b7 c9 |...?.......Af...|
000000b0 66 f7 e1 66 89 46 f8 83 7e 16 00 75 39 83 7e 2a |f..f.F..~..u9.~*|
000000c0 00 77 33 66 8b 46 1c 66 83 c0 0c bb 00 80 b9 01 |.w3f.F.f........|
000000d0 00 e8 2c 00 e9 a8 03 a1 f8 7d 80 c4 7c 8b f0 ac |..,......}..|...|
000000e0 84 c0 74 17 3c ff 74 09 b4 0e bb 07 00 cd 10 eb |..t.<.t.........|
000000f0 ee a1 fa 7d eb e4 a1 7d 80 eb df 98 cd 16 cd 19 |...}...}........|
00000100 66 60 80 7e 02 00 0f 84 20 00 66 6a 00 66 50 06 |f`.~.... .fj.fP.|
00000110 53 66 68 10 00 01 00 b4 42 8a 56 40 8b f4 cd 13 |Sfh.....B.V@....|
00000120 66 58 66 58 66 58 66 58 eb 33 66 3b 46 f8 72 03 |fXfXfXfX.3f;F.r.|
00000130 f9 eb 2a 66 33 d2 66 0f b7 4e 18 66 f7 f1 fe c2 |..*f3.f..N.f....|
00000140 8a ca 66 8b d0 66 c1 ea 10 f7 76 1a 86 d6 8a 56 |..f..f....v....V|
00000150 40 8a e8 c0 e4 06 0a cc b8 01 02 cd 13 66 61 0f |@............fa.|
00000170 54 4d 47 52 20 20 20 20 00 00 00 00 00 00 00 00 |TMGR ........|
00000180 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
000001a0 00 00 00 00 00 00 00 00 00 00 00 00 0d 0a 44 69 |..............Di|
000001b0 73 6b 20 65 72 72 6f 72 ff 0d 0a 50 72 65 73 73 |sk error...Press|
000001c0 20 61 6e 79 20 6b 65 79 20 74 6f 20 72 65 73 74 | any key to rest|
000001d0 61 72 74 0d 0a 00 00 00 00 00 00 00 00 00 00 00 |art.............|
000001e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000001f0 00 00 00 00 00 00 00 00 ac 01 b9 01 00 00 55 aa |..............U.|
00000200
=================== hexdump -n512 -C /dev/mmcblk0p4
00000000 eb 52 90 4e 54 46 53 20 20 20 20 00 02 08 00 00 |.R.NTFS .....|
00000010 00 00 00 00 00 f8 00 00 3f 00 ff 00 00 60 94 03 |........?....`..|
00000020 00 00 00 00 80 00 80 00 ff 97 0f 00 00 00 00 00 |................|
00000030 55 a6 00 00 00 00 00 00 02 00 00 00 00 00 00 00 |U...............|
00000040 f6 00 00 00 01 00 00 00 39 4a 6c 28 6d 6c 28 1a |........9Jl(ml(.|
00000050 00 00 00 00 fa 33 c0 8e d0 bc 00 7c fb 68 c0 07 |.....3.....|.h..|
00000060 1f 1e 68 66 00 cb 88 16 0e 00 66 81 3e 03 00 4e |..hf......f.>..N|
00000070 54 46 53 75 15 b4 41 bb aa 55 cd 13 72 0c 81 fb |TFSu..A..U..r...|
00000080 55 aa 75 06 f7 c1 01 00 75 03 e9 dd 00 1e 83 ec |U.u.....u.......|
00000090 18 68 1a 00 b4 48 8a 16 0e 00 8b f4 16 1f cd 13 |.h...H..........|
000000a0 9f 83 c4 18 9e 58 1f 72 e1 3b 06 0b 00 75 db a3 |.....X.r.;...u..|
000000b0 0f 00 c1 2e 0f 00 04 1e 5a 33 db b9 00 20 2b c8 |........Z3... +.|
000000c0 66 ff 06 11 00 03 16 0f 00 8e c2 ff 06 16 00 e8 |f...............|
000000d0 4b 00 2b c8 77 ef b8 00 bb cd 1a 66 23 c0 75 2d |K.+.w......f#.u-|
000000e0 66 81 fb 54 43 50 41 75 24 81 f9 02 01 72 1e 16 |f..TCPAu$....r..|
000000f0 68 07 bb 16 68 52 11 16 68 09 00 66 53 66 53 66 |h...hR..h..fSfSf|
00000100 55 16 16 16 68 b8 01 66 61 0e 07 cd 1a 33 c0 bf |U...h..fa....3..|
00000110 0a 13 b9 f6 0c fc f3 aa e9 fe 01 90 90 66 60 1e |.............f`.|
00000120 06 66 a1 11 00 66 03 06 1c 00 1e 66 68 00 00 00 |.f...f.....fh...|
00000130 00 66 50 06 53 68 01 00 68 10 00 b4 42 8a 16 0e |.fP.Sh..h...B...|
00000140 00 16 1f 8b f4 cd 13 66 59 5b 5a 66 59 66 59 1f |.......fY[ZfYfY.|
00000150 0f 82 16 00 66 ff 06 11 00 03 16 0f 00 8e c2 ff |....f...........|
00000160 0e 16 00 75 bc 07 1f 66 61 c3 a1 f6 01 e8 09 00 |...u...fa.......|
00000170 a1 fa 01 e8 03 00 f4 eb fd 8b f0 ac 3c 00 74 09 |............<.t.|
00000180 b4 0e bb 07 00 cd 10 eb f2 c3 0d 0a 41 20 64 69 |............A di|
00000190 73 6b 20 72 65 61 64 20 65 72 72 6f 72 20 6f 63 |sk read error oc|
000001a0 63 75 72 72 65 64 00 0d 0a 42 4f 4f 54 4d 47 52 |curred...BOOTMGR|
000001b0 20 69 73 20 63 6f 6d 70 72 65 73 73 65 64 00 0d | is compressed..|
000001c0 0a 50 72 65 73 73 20 43 74 72 6c 2b 41 6c 74 2b |.Press Ctrl+Alt+|
000001d0 44 65 6c 20 74 6f 20 72 65 73 74 61 72 74 0d 0a |Del to restart..|
000001e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000001f0 00 00 00 00 00 00 8a 01 a7 01 bf 01 00 00 55 aa |..............U.|
00000200
=================== hexdump -n512 -C /dev/mmcblk1p2
00000000 eb 58 90 6d 6b 66 73 2e 66 61 74 00 02 01 20 00 |.X.mkfs.fat... .|
00000010 02 00 00 00 00 f8 00 00 10 00 04 00 00 08 3d 00 |..............=.|
00000020 00 f8 02 00 d9 05 00 00 00 00 00 00 02 00 00 00 |................|
00000030 01 00 06 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000040 80 01 29 1b 1e c6 7c 4e 4f 20 4e 41 4d 45 20 20 |..)...|NO NAME |
00000050 20 20 46 41 54 33 32 20 20 20 0e 1f be 77 7c ac | FAT32 ...w|.|
00000060 22 c0 74 0b 56 b4 0e bb 07 00 cd 10 5e eb f0 32 |".t.V.......^..2|
00000070 e4 cd 16 cd 19 eb fe 54 68 69 73 20 69 73 20 6e |.......This is n|
00000080 6f 74 20 61 20 62 6f 6f 74 61 62 6c 65 20 64 69 |ot a bootable di|
00000090 73 6b 2e 20 20 50 6c 65 61 73 65 20 69 6e 73 65 |sk. Please inse|
000000a0 72 74 20 61 20 62 6f 6f 74 61 62 6c 65 20 66 6c |rt a bootable fl|
000000b0 6f 70 70 79 20 61 6e 64 0d 0a 70 72 65 73 73 20 |oppy and..press |
000000c0 61 6e 79 20 6b 65 79 20 74 6f 20 74 72 79 20 61 |any key to try a|
000000d0 67 61 69 6e 20 2e 2e 2e 20 0d 0a 00 00 00 00 00 |gain ... .......|
000000e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.|
00000200
=================== df -Th:
Filesystem Type Size Used Avail Use% Mounted on
udev devtmpfs 951M 0 951M 0% /dev
tmpfs tmpfs 193M 6.3M 187M 4% /run
/dev/sda1 vfat 3.8G 1.6G 2.3G 42% /cdrom
/dev/loop0 squashfs 1.5G 1.5G 0 100% /rofs
/cow overlay 965M 116M 849M 12% /
tmpfs tmpfs 965M 404K 965M 1% /dev/shm
tmpfs tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs tmpfs 965M 0 965M 0% /sys/fs/cgroup
tmpfs tmpfs 965M 4.0K 965M 1% /tmp
tmpfs tmpfs 193M 52K 193M 1% /run/user/999
/dev/mmcblk1p3 ext4 56G 4.6G 48G 9% /media/ubuntu-mate/f9c0307c-9b4e-4eba-b83d-2247f276fc1e
/dev/mmcblk0p1 vfat 256M 55M 202M 22% /mnt/boot-sav/mmcblk0p1
/dev/mmcblk0p4 fuseblk 499M 269M 231M 54% /mnt/boot-sav/mmcblk0p4
/dev/mmcblk1p2 vfat 94M 512 94M 1% /mnt/boot-sav/mmcblk1p2
=================== fdisk -l:
Disk /dev/ram0: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram1: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram2: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram3: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram4: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram5: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram6: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram7: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram8: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram9: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram10: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram11: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram12: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram13: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram14: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram15: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/loop0: 1.5 GiB, 1593864192 bytes, 3113016 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/mmcblk0: 29.1 GiB, 31272730624 bytes, 61079552 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 2DB8E9AC-42F1-4620-9139-52933570ECF6
Device Start End Sectors Size Type
/dev/mmcblk0p1 2048 534527 532480 260M EFI System
/dev/mmcblk0p2 534528 567295 32768 16M Microsoft reserved
/dev/mmcblk0p3 567296 60055551 59488256 28.4G Microsoft basic data
/dev/mmcblk0p4 60055552 61077503 1021952 499M Windows recovery environment
Disk /dev/mmcblk0boot1: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/mmcblk0boot0: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/mmcblk1: 58.2 GiB, 62537072640 bytes, 122142720 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: BE316F1E-F7CB-7027-3D4A-710660767894
Device Start End Sectors Size Type
/dev/mmcblk1p1 2048 3999743 3997696 1.9G Linux swap
/dev/mmcblk1p2 3999744 4194303 194560 95M EFI System
/dev/mmcblk1p3 4194304 122140671 117946368 56.2G Linux filesystem
Disk /dev/sda: 3.8 GiB, 4051697664 bytes, 7913472 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: EC8F7097-1575-4338-8CA3-F9009A740293
Device Start End Sectors Size Type
/dev/sda1 2048 7913438 7911391 3.8G Microsoft basic data
=================== Recommended repair
The default repair of the Boot-Repair utility will reinstall the grub-efi-amd64-signed of mmcblk1p3, using the following options: mmcblk0p1/boot/efi,
Additional repair will be performed: unhide-bootmenu-10s use-standard-efi-file
rm /mnt/boot-sav/mmcblk0p1/efi/Boot/bootx64.efi /mnt/boot-sav/mmcblk0p1/efi/Boot/bootx64.efi.grb
Mount mmcblk0p1 on /media/ubuntu-mate/f9c0307c-9b4e-4eba-b83d-2247f276fc1e/boot/efi
ls mmcblk0p1/efi: /Microsoft/Recovery/BCD.LOG2 /Microsoft/Recovery/BCD.LOG1 /Microsoft/Recovery/BCD.LOG /Microsoft/Recovery/BCD /Microsoft/Boot/zh-TW /Microsoft/Boot/zh-HK /Microsoft/Boot/zh-CN /Microsoft/Boot/uk-UA /Microsoft/Boot/tr-TR /Microsoft/Boot/sv-SE /Microsoft/Boot/sr-Latn-RS /Microsoft/Boot/sr-Latn-CS /Microsoft/Boot/sl-SI /Microsoft/Boot/sk-SK /Microsoft/Boot/ru-RU /Microsoft/Boot/ro-RO /Microsoft/Boot/Resources /Microsoft/Boot/qps-ploc /Microsoft/Boot/pt-PT /Microsoft/Boot/pt-BR /Microsoft/Boot/pl-PL /Microsoft/Boot/nl-NL /Microsoft/Boot/nb-NO /Microsoft/Boot/memtest.efi /Microsoft/Boot/lv-LV /Microsoft/Boot/lt-LT /Microsoft/Boot/ko-KR /Microsoft/Boot/kdstub.dll /Microsoft/Boot/kd_0C_8086.dll /Microsoft/Boot/kd_07_1415.dll /Microsoft/Boot/kd_02_8086.dll /Microsoft/Boot/kd_02_19a2.dll /Microsoft/Boot/kd_02_1969.dll /Microsoft/Boot/kd_02_14e4.dll /Microsoft/Boot/kd_02_10ec.dll /Microsoft/Boot/kd_02_10df.dll /Microsoft/Boot/ja-JP /Microsoft/Boot/it-IT /Microsoft/Boot/hu-HU /Microsoft/Boot/hr-HR /Microsoft/Boot/fr-FR /Microsoft/Boot/fr-CA /Microsoft/Boot/Fonts /Microsoft/Boot/fi-FI /Microsoft/Boot/et-EE /Microsoft/Boot/es-MX /Microsoft/Boot/es-ES /Microsoft/Boot/en-US /Microsoft/Boot/en-GB /Microsoft/Boot/el-GR /Microsoft/Boot/de-DE /Microsoft/Boot/da-DK /Microsoft/Boot/cs-CZ /Microsoft/Boot/boot.stl /Microsoft/Boot/BOOTSTAT.DAT /Microsoft/Boot/bootmgr.efi /Microsoft/Boot/bootmgfw.efi /Microsoft/Boot/bg-BG /Microsoft/Boot/BCD.LOG2 /Microsoft/Boot/BCD.LOG1 /Microsoft/Boot/BCD.LOG /Microsoft/Boot/BCD /ubuntu/shimx64.efi /ubuntu/MokManager.efi /ubuntu/MOKMAN~1.EFI /ubuntu/grubx64.efi /ubuntu/grubia32.efi /ubuntu/grub.efi /ubuntu/grub.cfg /ubuntu/fwupx64.efi /ubuntu/fw /Microsoft/Recovery /Microsoft/Boot /Boot/bootia32.efi /bodhi/grubia32.efi /bodhi/grub.efi
ls mmcblk0p1: boot-sav
EFI
*******lspci -nnk | grep -iA3 vga
00:02.0 VGA compatible controller [0300]: Intel Corporation Atom Processor Z36xxx/Z37xxx Series Graphics & Display [8086:0f31] (rev 0f)
Subsystem: ASUSTeK Computer Inc. Atom Processor Z36xxx/Z37xxx Series Graphics & Display [1043:18cd]
Kernel driver in use: i915
Kernel modules: i915
*******
grub-install --version
grub-install (GRUB) 2.02~beta2-36ubuntu3.2,grub-install (GRUB) 2.
chroot /media/ubuntu-mate/f9c0307c-9b4e-4eba-b83d-2247f276fc1e efibootmgr -v
BootCurrent: 0008
Timeout: 2 seconds
BootOrder: 0000,0002,0005,0007,0008,0001,0003,0004
Boot0000* Windows Boot Manager HD(1,GPT,bf55eb2a-8300-41c5-ba6f-96c77d253dd9,0x800,0x82000)/File(EFIMICROSOFTBOOTBOOTMGFW.EFI)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}...0................
Boot0001* UEFI:CD/DVD Drive BBS(129,,0x0)
Boot0002* ubuntu HD(1,GPT,bf55eb2a-8300-41c5-ba6f-96c77d253dd9,0x800,0x82000)/File(EFIUBUNTUGRUBIA32.EFI)
Boot0003* UEFI:Removable Device BBS(130,,0x0)
Boot0004* UEFI:Network Device BBS(131,,0x0)
Boot0005* bodhi HD(1,GPT,bf55eb2a-8300-41c5-ba6f-96c77d253dd9,0x800,0x82000)/File(EFIBODHIGRUBIA32.EFI)
Boot0007* ubuntu HD(1,GPT,bf55eb2a-8300-41c5-ba6f-96c77d253dd9,0x800,0x82000)/File(EFIUBUNTUGRUBX64.EFI)
Boot0008* UEFI: USB Flash DISK 1100 PciRoot(0x0)/Pci(0x1d,0x0)/USB(1,0)/USB(2,0)/USB(1,0)/HD(1,GPT,5988a1b1-2d35-473b-b207-3b5768c73381,0x800,0x78b7df)..BO
chroot /media/ubuntu-mate/f9c0307c-9b4e-4eba-b83d-2247f276fc1e uname -r
Kernel: 4.4.0-31-generic
Reinstall the grub-efi-amd64-signed of mmcblk1p3
grub-install: error: /usr/lib/grub/x86_64-efi/modinfo.sh doesn't exist. Please specify --target or --directory.
grub-install --efi-directory=/boot/efi --target=x86_64-efi --uefi-secure-boot : exit code of grub-install :1
mv 25_custom
ls mmcblk0p1/efi: /Microsoft/Recovery/BCD.LOG2 /Microsoft/Recovery/BCD.LOG1 /Microsoft/Recovery/BCD.LOG /Microsoft/Recovery/BCD /Microsoft/Boot/zh-TW /Microsoft/Boot/zh-HK /Microsoft/Boot/zh-CN /Microsoft/Boot/uk-UA /Microsoft/Boot/tr-TR /Microsoft/Boot/sv-SE /Microsoft/Boot/sr-Latn-RS /Microsoft/Boot/sr-Latn-CS /Microsoft/Boot/sl-SI /Microsoft/Boot/sk-SK /Microsoft/Boot/ru-RU /Microsoft/Boot/ro-RO /Microsoft/Boot/Resources /Microsoft/Boot/qps-ploc /Microsoft/Boot/pt-PT /Microsoft/Boot/pt-BR /Microsoft/Boot/pl-PL /Microsoft/Boot/nl-NL /Microsoft/Boot/nb-NO /Microsoft/Boot/memtest.efi /Microsoft/Boot/lv-LV /Microsoft/Boot/lt-LT /Microsoft/Boot/ko-KR /Microsoft/Boot/kdstub.dll /Microsoft/Boot/kd_0C_8086.dll /Microsoft/Boot/kd_07_1415.dll /Microsoft/Boot/kd_02_8086.dll /Microsoft/Boot/kd_02_19a2.dll /Microsoft/Boot/kd_02_1969.dll /Microsoft/Boot/kd_02_14e4.dll /Microsoft/Boot/kd_02_10ec.dll /Microsoft/Boot/kd_02_10df.dll /Microsoft/Boot/ja-JP /Microsoft/Boot/it-IT /Microsoft/Boot/hu-HU /Microsoft/Boot/hr-HR /Microsoft/Boot/fr-FR /Microsoft/Boot/fr-CA /Microsoft/Boot/Fonts /Microsoft/Boot/fi-FI /Microsoft/Boot/et-EE /Microsoft/Boot/es-MX /Microsoft/Boot/es-ES /Microsoft/Boot/en-US /Microsoft/Boot/en-GB /Microsoft/Boot/el-GR /Microsoft/Boot/de-DE /Microsoft/Boot/da-DK /Microsoft/Boot/cs-CZ /Microsoft/Boot/boot.stl /Microsoft/Boot/BOOTSTAT.DAT /Microsoft/Boot/bootmgr.efi /Microsoft/Boot/bootmgfw.efi /Microsoft/Boot/bg-BG /Microsoft/Boot/BCD.LOG2 /Microsoft/Boot/BCD.LOG1 /Microsoft/Boot/BCD.LOG /Microsoft/Boot/BCD /ubuntu/shimx64.efi /ubuntu/MokManager.efi /ubuntu/MOKMAN~1.EFI /ubuntu/grubx64.efi /ubuntu/grubia32.efi /ubuntu/grub.efi /ubuntu/grub.cfg /ubuntu/fwupx64.efi /ubuntu/fw /Microsoft/Recovery /Microsoft/Boot /Boot/bootia32.efi /bodhi/grubia32.efi /bodhi/grub.efi
ls mmcblk0p1: boot-sav
EFI
df /dev/mmcblk0p1
cp /media/ubuntu-mate/f9c0307c-9b4e-4eba-b83d-2247f276fc1e/boot/efi/EFI/ubuntu/shimx64.efi /media/ubuntu-mate/f9c0307c-9b4e-4eba-b83d-2247f276fc1e/boot/efi/EFI/Boot/bootx64.efi (& .grb)
ls mmcblk0p1/efi: /Microsoft/Recovery/BCD.LOG2 /Microsoft/Recovery/BCD.LOG1 /Microsoft/Recovery/BCD.LOG /Microsoft/Recovery/BCD /Microsoft/Boot/zh-TW /Microsoft/Boot/zh-HK /Microsoft/Boot/zh-CN /Microsoft/Boot/uk-UA /Microsoft/Boot/tr-TR /Microsoft/Boot/sv-SE /Microsoft/Boot/sr-Latn-RS /Microsoft/Boot/sr-Latn-CS /Microsoft/Boot/sl-SI /Microsoft/Boot/sk-SK /Microsoft/Boot/ru-RU /Microsoft/Boot/ro-RO /Microsoft/Boot/Resources /Microsoft/Boot/qps-ploc /Microsoft/Boot/pt-PT /Microsoft/Boot/pt-BR /Microsoft/Boot/pl-PL /Microsoft/Boot/nl-NL /Microsoft/Boot/nb-NO /Microsoft/Boot/memtest.efi /Microsoft/Boot/lv-LV /Microsoft/Boot/lt-LT /Microsoft/Boot/ko-KR /Microsoft/Boot/kdstub.dll /Microsoft/Boot/kd_0C_8086.dll /Microsoft/Boot/kd_07_1415.dll /Microsoft/Boot/kd_02_8086.dll /Microsoft/Boot/kd_02_19a2.dll /Microsoft/Boot/kd_02_1969.dll /Microsoft/Boot/kd_02_14e4.dll /Microsoft/Boot/kd_02_10ec.dll /Microsoft/Boot/kd_02_10df.dll /Microsoft/Boot/ja-JP /Microsoft/Boot/it-IT /Microsoft/Boot/hu-HU /Microsoft/Boot/hr-HR /Microsoft/Boot/fr-FR /Microsoft/Boot/fr-CA /Microsoft/Boot/Fonts /Microsoft/Boot/fi-FI /Microsoft/Boot/et-EE /Microsoft/Boot/es-MX /Microsoft/Boot/es-ES /Microsoft/Boot/en-US /Microsoft/Boot/en-GB /Microsoft/Boot/el-GR /Microsoft/Boot/de-DE /Microsoft/Boot/da-DK /Microsoft/Boot/cs-CZ /Microsoft/Boot/boot.stl /Microsoft/Boot/BOOTSTAT.DAT /Microsoft/Boot/bootmgr.efi /Microsoft/Boot/bootmgfw.efi /Microsoft/Boot/bg-BG /Microsoft/Boot/BCD.LOG2 /Microsoft/Boot/BCD.LOG1 /Microsoft/Boot/BCD.LOG /Microsoft/Boot/BCD /ubuntu/shimx64.efi /ubuntu/MokManager.efi /ubuntu/MOKMAN~1.EFI /ubuntu/grubx64.efi /ubuntu/grubia32.efi /ubuntu/grub.efi /ubuntu/grub.cfg /ubuntu/fwupx64.efi /ubuntu/fw /Microsoft/Recovery /Microsoft/Boot /Boot/bootx64.efi.grb /Boot/bootx64.efi /Boot/bootia32.efi /bodhi/grubia32.efi /bodhi/grub.efi
ls mmcblk0p1: boot-sav
EFI
Add /media/ubuntu-mate/f9c0307c-9b4e-4eba-b83d-2247f276fc1e/boot/efi efi entries in /media/ubuntu-mate/f9c0307c-9b4e-4eba-b83d-2247f276fc1e/etc/grub.d/25_custom
Adding custom /media/ubuntu-mate/f9c0307c-9b4e-4eba-b83d-2247f276fc1e/boot/efi/EFI/Microsoft/Boot/bootmgfw.efi
Adding custom /media/ubuntu-mate/f9c0307c-9b4e-4eba-b83d-2247f276fc1e/boot/efi/EFI/Boot/bootia32.efi
mmcblk0p1/bootia32.efi already added
Adding custom /media/ubuntu-mate/f9c0307c-9b4e-4eba-b83d-2247f276fc1e/boot/efi/EFI/ubuntu/fwupx64.efi
Adding custom /media/ubuntu-mate/f9c0307c-9b4e-4eba-b83d-2247f276fc1e/boot/efi/EFI/ubuntu/MokManager.efi
mmcblk0p1/bootmgfw.efi already added
---- Grub-install verbose
/usr/sbin/grub-install: 3: /usr/sbin/grub-install: Syntax error: "(" unexpected
--------
/usr/sbin/grub-install --efi-directory=/boot/efi --target=x86_64-efi --uefi-secure-boot : exit code of grub-install :2
---- End of grub-install verbose
chroot /media/ubuntu-mate/f9c0307c-9b4e-4eba-b83d-2247f276fc1e efibootmgr -v
BootCurrent: 0008
Timeout: 2 seconds
BootOrder: 0000,0002,0005,0007,0008,0001,0003,0004
Boot0000* Windows Boot Manager HD(1,GPT,bf55eb2a-8300-41c5-ba6f-96c77d253dd9,0x800,0x82000)/File(EFIMICROSOFTBOOTBOOTMGFW.EFI)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}...0................
Boot0001* UEFI:CD/DVD Drive BBS(129,,0x0)
Boot0002* ubuntu HD(1,GPT,bf55eb2a-8300-41c5-ba6f-96c77d253dd9,0x800,0x82000)/File(EFIUBUNTUGRUBIA32.EFI)
Boot0003* UEFI:Removable Device BBS(130,,0x0)
Boot0004* UEFI:Network Device BBS(131,,0x0)
Boot0005* bodhi HD(1,GPT,bf55eb2a-8300-41c5-ba6f-96c77d253dd9,0x800,0x82000)/File(EFIBODHIGRUBIA32.EFI)
Boot0007* ubuntu HD(1,GPT,bf55eb2a-8300-41c5-ba6f-96c77d253dd9,0x800,0x82000)/File(EFIUBUNTUGRUBX64.EFI)
Boot0008* UEFI: USB Flash DISK 1100 PciRoot(0x0)/Pci(0x1d,0x0)/USB(1,0)/USB(2,0)/USB(1,0)/HD(1,GPT,5988a1b1-2d35-473b-b207-3b5768c73381,0x800,0x78b7df)..BO
chroot /media/ubuntu-mate/f9c0307c-9b4e-4eba-b83d-2247f276fc1e update-grub
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-4.4.0-51-generic
Found initrd image: /boot/initrd.img-4.4.0-51-generic
Found linux image: /boot/vmlinuz-4.4.0-31-generic
Found initrd image: /boot/initrd.img-4.4.0-31-generic
Found Windows Boot Manager on /dev/mmcblk0p1@/EFI/Microsoft/Boot/bootmgfw.efi
Adding boot menu entry for EFI firmware configuration
mount: /dev/mmcblk0 is already mounted or /mnt/boot-sav/mmcblk0 busy
mount /dev/mmcblk0 : Error code 32
mount -r /dev/mmcblk0 /mnt/boot-sav/mmcblk0
mount: /dev/mmcblk0 is already mounted or /mnt/boot-sav/mmcblk0 busy
mount -r /dev/mmcblk0 : Error code 32
NTFS signature is missing.
Failed to mount '/dev/mmcblk0p3': Invalid argument
The device '/dev/mmcblk0p3' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
mount /dev/mmcblk0p3 : Error code 12
mount -r /dev/mmcblk0p3 /mnt/boot-sav/mmcblk0p3
NTFS signature is missing.
Failed to mount '/dev/mmcblk0p3': Invalid argument
The device '/dev/mmcblk0p3' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
mount -r /dev/mmcblk0p3 : Error code 12
mount: /dev/mmcblk1 is already mounted or /mnt/boot-sav/mmcblk1 busy
mount /dev/mmcblk1 : Error code 32
mount -r /dev/mmcblk1 /mnt/boot-sav/mmcblk1
mount: /dev/mmcblk1 is already mounted or /mnt/boot-sav/mmcblk1 busy
mount -r /dev/mmcblk1 : Error code 32
Unhide GRUB boot menu in mmcblk1p3/boot/grub/grub.cfg
An error occurred during the repair.
You can now reboot your computer.
Please do not forget to make your BIOS boot on mmcblk1 (62.5GB) disk!
If your computer reboots directly into Windows, try to change the boot order in your BIOS.
If your BIOS does not allow to change the boot order, change the default boot entry of the Windows bootloader.
For example you can boot into Windows, then type the following command in an admin command prompt:
bcdedit /set {bootmgr} path \EFI\ubuntu\shimx64.efi
paste.ubuntu.com ko (), using paste.debian
paste.debian.net ko (), using paste2