1. Boot Info Script cfd9efe + Boot-Repair extra info [Boot-Info 26Apr2016]
  2. ============================= Boot Info Summary: ===============================
  3. => Syslinux MBR (5.00 and higher) is installed in the MBR of /dev/sda.
  4. sda1: __________________________________________________________________________
  5. File system: vfat
  6. Boot sector type: SYSLINUX 6.03 20151222............................................@.....2....0............A20 gate n
  7. Boot sector info: Syslinux looks at sector 3590240 of /dev/sda1 for its
  8. second stage. SYSLINUX is installed in the directory.
  9. According to the info in the boot sector, sda1 starts
  10. at sector 0. But according to the info from fdisk,
  11. sda1 starts at sector 63.
  12. Operating System:
  13. Boot files: /boot/grub/grub.cfg /syslinux.cfg /casper/vmlinuz.efi
  14. /EFI/BOOT/grubx64.efi
  15. /OS/ubuntu-14.04.2-64bit/casper/vmlinuz.efi
  16. /OS/fedora-20-64bit/EFI/BOOT/BOOTX64.efi
  17. /OS/fedora-20-64bit/EFI/BOOT/grubx64.efi
  18. /OS/ubuntu-14.04.2-64bit/EFI/BOOT/grubx64.efi
  19. /ldlinux.sys
  20. ============================ Drive/Partition Info: =============================
  21. Drive: sda _____________________________________________________________________
  22. Disk /dev/sda: 15.8 GiB, 16988602368 bytes, 33180864 sectors
  23. Units: sectors of 1 * 512 = 512 bytes
  24. Sector size (logical/physical): 512 bytes / 512 bytes
  25. I/O size (minimum/optimal): 512 bytes / 512 bytes
  26. Disklabel type: dos
  27. Partition Boot Start Sector End Sector # of Sectors Id System
  28. /dev/sda1 * 63 33,180,863 33,180,801 6 FAT16
  29. "blkid" output: ________________________________________________________________
  30. Device UUID TYPE LABEL
  31. /dev/loop0 squashfs
  32. /dev/mmcblk0
  33. /dev/mmcblk0p1 F478-F298 vfat SYSTEM
  34. /dev/mmcblk0p2
  35. /dev/mmcblk0p3 60368017367FED02 ntfs OS
  36. /dev/mmcblk0p4 10C4D649C4D63128 ntfs RECOVERY
  37. /dev/mmcblk1
  38. /dev/mmcblk1p1 33e33f58-4922-4f08-a6b4-287ee4f292cc ext4
  39. /dev/sda1 6D83-AC27 vfat Linux
  40. ========================= "ls -l /dev/disk/by-id" output: ======================
  41. total 0
  42. lrwxrwxrwx 1 root root 13 Sep 4 19:10 mmc-DS2064_0x1d6c387a -> ../../mmcblk0
  43. lrwxrwxrwx 1 root root 15 Sep 4 19:10 mmc-DS2064_0x1d6c387a-part1 -> ../../mmcblk0p1
  44. lrwxrwxrwx 1 root root 15 Sep 4 19:10 mmc-DS2064_0x1d6c387a-part2 -> ../../mmcblk0p2
  45. lrwxrwxrwx 1 root root 15 Sep 4 19:10 mmc-DS2064_0x1d6c387a-part3 -> ../../mmcblk0p3
  46. lrwxrwxrwx 1 root root 15 Sep 4 19:10 mmc-DS2064_0x1d6c387a-part4 -> ../../mmcblk0p4
  47. lrwxrwxrwx 1 root root 13 Sep 4 19:10 mmc-SU16G_0x22dcfcf1 -> ../../mmcblk1
  48. lrwxrwxrwx 1 root root 15 Sep 4 19:10 mmc-SU16G_0x22dcfcf1-part1 -> ../../mmcblk1p1
  49. lrwxrwxrwx 1 root root 9 Sep 4 19:14 usb-USB2.0_DISK_120508102915-0:0 -> ../../sda
  50. lrwxrwxrwx 1 root root 10 Sep 4 19:14 usb-USB2.0_DISK_120508102915-0:0-part1 -> ../../sda1
  51. ================================ Mount points: =================================
  52. Device Mount_Point Type Options
  53. /dev/loop0 /rofs squashfs (ro,noatime)
  54. /dev/mmcblk1p1 /media/ubuntu/33e33f58-4922-4f08-a6b4-287ee4f292cc ext4 (rw,nosuid,nodev,relatime,data=ordered,uhelper=udisks2)
  55. /dev/sda1 /cdrom vfat (ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
  56. =========================== sda1/boot/grub/grub.cfg: ===========================
  57. --------------------------------------------------------------------------------
  58. if loadfont /boot/grub/font.pf2 ; then
  59. set gfxmode=auto
  60. insmod efi_gop
  61. insmod efi_uga
  62. insmod gfxterm
  63. terminal_output gfxterm
  64. fi
  65. set menu_color_normal=white/black
  66. set menu_color_highlight=black/light-gray
  67. menuentry "Try Ubuntu without installing" {
  68. set gfxpayload=keep
  69. linux /casper/vmlinuz.efi file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash ---
  70. initrd /casper/initrd.lz
  71. }
  72. menuentry "Install Ubuntu" {
  73. set gfxpayload=keep
  74. linux /casper/vmlinuz.efi file=/cdrom/preseed/ubuntu.seed boot=casper only-ubiquity quiet splash ---
  75. initrd /casper/initrd.lz
  76. }
  77. menuentry "OEM install (for manufacturers)" {
  78. set gfxpayload=keep
  79. linux /casper/vmlinuz.efi file=/cdrom/preseed/ubuntu.seed boot=casper only-ubiquity quiet splash oem-config/enable=true ---
  80. initrd /casper/initrd.lz
  81. }
  82. menuentry "Check disc for defects" {
  83. set gfxpayload=keep
  84. linux /casper/vmlinuz.efi boot=casper integrity-check quiet splash ---
  85. initrd /casper/initrd.lz
  86. }
  87. --------------------------------------------------------------------------------
  88. ============================== sda1/syslinux.cfg: ==============================
  89. --------------------------------------------------------------------------------
  90. default menu.c32
  91. prompt 0
  92. menu title UNetbootin
  93. timeout 100
  94. label unetbootindefault
  95. menu label Default
  96. kernel /ubnkern
  97. append initrd=/ubninit file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash ---
  98. label ubnentry0
  99. menu label ^Help
  100. kernel /ubnkern
  101. append initrd=/ubninit
  102. label ubnentry1
  103. menu label ^Try Ubuntu without installing
  104. kernel /casper/vmlinuz.efi
  105. append initrd=/casper/initrd.lz file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash ---
  106. label ubnentry2
  107. menu label ^Install Ubuntu
  108. kernel /casper/vmlinuz.efi
  109. append initrd=/casper/initrd.lz file=/cdrom/preseed/ubuntu.seed boot=casper only-ubiquity quiet splash ---
  110. label ubnentry3
  111. menu label ^Check disc for defects
  112. kernel /casper/vmlinuz.efi
  113. append initrd=/casper/initrd.lz boot=casper integrity-check quiet splash ---
  114. label ubnentry4
  115. menu label Test ^memory
  116. kernel /install/mt86plus
  117. append initrd=/ubninit
  118. label ubnentry5
  119. menu label ^Boot from first hard disk
  120. kernel /ubnkern
  121. append initrd=/ubninit
  122. label ubnentry6
  123. menu label Try Ubuntu without installing
  124. kernel /casper/vmlinuz.efi
  125. append initrd=/casper/initrd.lz file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash ---
  126. label ubnentry7
  127. menu label Install Ubuntu
  128. kernel /casper/vmlinuz.efi
  129. append initrd=/casper/initrd.lz file=/cdrom/preseed/ubuntu.seed boot=casper only-ubiquity quiet splash ---
  130. label ubnentry8
  131. menu label OEM install (for manufacturers)
  132. kernel /casper/vmlinuz.efi
  133. append initrd=/casper/initrd.lz file=/cdrom/preseed/ubuntu.seed boot=casper only-ubiquity quiet splash oem-config/enable=true ---
  134. label ubnentry9
  135. menu label Check disc for defects
  136. kernel /casper/vmlinuz.efi
  137. append initrd=/casper/initrd.lz boot=casper integrity-check quiet splash ---
  138. --------------------------------------------------------------------------------
  139. =================== sda1: Location of files loaded by Grub: ====================
  140. GiB - GB File Fragment(s)
  141. ?? = ?? boot/grub/grub.cfg 1
  142. ================= sda1: Location of files loaded by Syslinux: ==================
  143. GiB - GB File Fragment(s)
  144. ?? = ?? syslinux.cfg 1
  145. ?? = ?? ldlinux.sys 1
  146. ?? = ?? ldlinux.c32 1
  147. ?? = ?? libcom32.c32 1
  148. ?? = ?? libutil.c32 1
  149. ?? = ?? menu.c32 1
  150. ============== sda1: Version of COM32(R) files used by Syslinux: ===============
  151. ldlinux.c32 : not a COM32/COM32R module
  152. libcom32.c32 : not a COM32/COM32R module
  153. libutil.c32 : not a COM32/COM32R module
  154. menu.c32 : not a COM32/COM32R module
  155. =============================== StdErr Messages: ===============================
  156. File descriptor 9 (/proc/7967/mounts) leaked on lvs invocation. Parent PID 8109: bash
  157. File descriptor 63 (pipe:[57207]) leaked on lvs invocation. Parent PID 8109: bash
  158. ADDITIONAL INFORMATION :
  159. =================== log of boot-repair 2016-09-04__19h13 ===================
  160. boot-repair version : 4ppa38
  161. boot-sav version : 4ppa38
  162. glade2script version : 3.2.3~ppa1
  163. boot-sav-extra version : 4ppa38
  164. Error: /dev/mmcblk0rpmb: unrecognised disk label
  165. Warning: Error fsyncing/closing /dev/mmcblk0rpmb: Input/output error
  166. Error: /dev/mmcblk0boot0: unrecognised disk label
  167. Error: /dev/mmcblk0boot1: unrecognised disk label
  168. Error: /dev/mmcblk0rpmb: unrecognised disk label
  169. Warning: Error fsyncing/closing /dev/mmcblk0rpmb: Input/output error
  170. Error: /dev/mmcblk0boot0: unrecognised disk label
  171. Error: /dev/mmcblk0boot1: unrecognised disk label
  172. boot-repair is executed in live-session (Ubuntu 16.04.1 LTS, xenial, Ubuntu, x86_64)
  173. CPU op-mode(s): 32-bit, 64-bit
  174. BOOT_IMAGE=/casper/vmlinuz.efi file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash ---
  175. ls: cannot access '/home/usr/.config': No such file or directory
  176. mmcblk0 (sda) has unknown type. Please report this message to [email protected]
  177. mmcblk1 (sda) has unknown type. Please report this message to [email protected]
  178. mount: /dev/mmcblk0 is already mounted or /mnt/boot-sav/mmcblk0 busy
  179. mount /dev/mmcblk0 : Error code 32
  180. mount -r /dev/mmcblk0 /mnt/boot-sav/mmcblk0
  181. mount: /dev/mmcblk0 is already mounted or /mnt/boot-sav/mmcblk0 busy
  182. mount -r /dev/mmcblk0 : Error code 32
  183. mount: /dev/mmcblk1 is already mounted or /mnt/boot-sav/mmcblk1 busy
  184. mount /dev/mmcblk1 : Error code 32
  185. mount -r /dev/mmcblk1 /mnt/boot-sav/mmcblk1
  186. mount: /dev/mmcblk1 is already mounted or /mnt/boot-sav/mmcblk1 busy
  187. mount -r /dev/mmcblk1 : Error code 32
  188. cat: /sys/block/mmcblk0/mmcblk0boot0/start: No such file or directory
  189. cat: /sys/block/mmcblk0/mmcblk0boot1/start: No such file or directory
  190. cat: /sys/block/mmcblk0/mmcblk0rpmb/start: No such file or directory
  191. =================== os-prober:
  192. /dev/mmcblk0p1@/efi/Microsoft/Boot/bootmgfw.efi:Windows Boot Manager:Windows:efi
  193. /dev/mmcblk1p1:Ubuntu 16.04.1 LTS (16.04):Ubuntu:linux
  194. =================== blkid:
  195. /dev/mmcblk0p1: LABEL="SYSTEM" UUID="F478-F298" TYPE="vfat" PARTLABEL="EFI system partition" PARTUUID="ec1dde75-be7b-41e0-947b-93fc4bd0d96a"
  196. /dev/mmcblk0p3: LABEL="OS" UUID="60368017367FED02" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="83111429-d662-480f-a9cd-28a7baa4639b"
  197. /dev/mmcblk0p4: LABEL="RECOVERY" UUID="10C4D649C4D63128" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="3623c5d8-c96b-4d9a-b208-abfda71d1a93"
  198. /dev/mmcblk1p1: UUID="33e33f58-4922-4f08-a6b4-287ee4f292cc" TYPE="ext4" PARTUUID="4de78d10-01"
  199. /dev/sda1: LABEL="Linux" UUID="6D83-AC27" TYPE="vfat" PARTUUID="00005e85-01"
  200. /dev/loop0: TYPE="squashfs"
  201. /dev/mmcblk0: PTUUID="7e552fa3-c760-449a-9e5f-fa4781ef3b35" PTTYPE="gpt"
  202. /dev/mmcblk0p2: PARTLABEL="Microsoft reserved partition" PARTUUID="64df097f-c7e8-47c2-a4f3-9cba71433df8"
  203. /dev/mmcblk1: PTUUID="4de78d10" PTTYPE="dos"
  204. 2 disks with OS, 2 OS : 1 Linux, 0 MacOS, 1 Windows, 0 unknown type OS.
  205. mount: /dev/mmcblk0 is already mounted or /mnt/boot-sav/mmcblk0 busy
  206. mount /dev/mmcblk0 : Error code 32
  207. mount -r /dev/mmcblk0 /mnt/boot-sav/mmcblk0
  208. mount: /dev/mmcblk0 is already mounted or /mnt/boot-sav/mmcblk0 busy
  209. mount -r /dev/mmcblk0 : Error code 32
  210. mount: /dev/mmcblk1 is already mounted or /mnt/boot-sav/mmcblk1 busy
  211. mount /dev/mmcblk1 : Error code 32
  212. mount -r /dev/mmcblk1 /mnt/boot-sav/mmcblk1
  213. mount: /dev/mmcblk1 is already mounted or /mnt/boot-sav/mmcblk1 busy
  214. mount -r /dev/mmcblk1 : Error code 32
  215. Windows not detected by os-prober on mmcblk0p3.
  216. Presence of EFI/Microsoft file detected: /mnt/boot-sav/mmcblk0p1/EFI/Microsoft/Boot/bootmgfw.efi
  217. Presence of EFI/Boot file detected: /mnt/boot-sav/mmcblk0p1/EFI/Boot/bkpbootx64.efi
  218. Presence of EFI/Boot file detected: /mnt/boot-sav/mmcblk0p1/EFI/Boot/bootx64.efi
  219. Presence of bkp file detected: /mnt/boot-sav/mmcblk0p1/EFI/Boot/bkpbootx64.efi
  220. =================== /media/ubuntu/33e33f58-4922-4f08-a6b4-287ee4f292cc/etc/grub.d/ :
  221. drwxr-xr-x 2 root root 4096 Sep 4 19:01 grub.d
  222. total 80
  223. -rwxr-xr-x 1 root root 9791 Jun 17 09:10 00_header
  224. -rwxr-xr-x 1 root root 6258 Mar 15 18:08 05_debian_theme
  225. -rwxr-xr-x 1 root root 12261 Jun 17 09:10 10_linux
  226. -rwxr-xr-x 1 root root 11082 Jun 17 09:10 20_linux_xen
  227. -rwxr-xr-x 1 root root 1992 Jan 28 2016 20_memtest86+
  228. -rwxr-xr-x 1 root root 590 Sep 4 19:01 25_custom
  229. -rwxr-xr-x 1 root root 11692 Jun 17 09:10 30_os-prober
  230. -rwxr-xr-x 1 root root 1418 Jun 17 09:10 30_uefi-firmware
  231. -rwxr-xr-x 1 root root 214 Jun 17 09:10 40_custom
  232. -rwxr-xr-x 1 root root 216 Jun 17 09:10 41_custom
  233. -rw-r--r-- 1 root root 483 Jun 17 09:10 README
  234. =================== /media/ubuntu/33e33f58-4922-4f08-a6b4-287ee4f292cc/etc/default/grub :
  235. # If you change this file, run 'update-grub' afterwards to update
  236. # /boot/grub/grub.cfg.
  237. # For full documentation of the options in this file, see:
  238. # info -f grub -n 'Simple configuration'
  239. GRUB_DEFAULT=0
  240. #GRUB_HIDDEN_TIMEOUT=0
  241. GRUB_HIDDEN_TIMEOUT_QUIET=true
  242. GRUB_TIMEOUT=10
  243. GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
  244. GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
  245. GRUB_CMDLINE_LINUX=""
  246. # Uncomment to enable BadRAM filtering, modify to suit your needs
  247. # This works with Linux (no patch required) and with any kernel that obtains
  248. # the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
  249. #GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
  250. # Uncomment to disable graphical terminal (grub-pc only)
  251. #GRUB_TERMINAL=console
  252. # The resolution used on graphical terminal
  253. # note that you can use only modes which your graphic card supports via VBE
  254. # you can see them in real GRUB with the command `vbeinfo'
  255. #GRUB_GFXMODE=640x480
  256. # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
  257. #GRUB_DISABLE_LINUX_UUID=true
  258. # Uncomment to disable generation of recovery mode menu entries
  259. #GRUB_DISABLE_RECOVERY="true"
  260. # Uncomment to get a beep at grub start
  261. #GRUB_INIT_TUNE="480 440 1"
  262. /boot/efi detected in the fstab of mmcblk1p1: UUID=F478-F298 (mmcblk0p1)
  263. =================== efibootmgr -v
  264. BootCurrent: 0009
  265. Timeout: 2 seconds
  266. BootOrder: 0003,0002,0008,0009,0001,0000
  267. Boot0000* Windows Boot Manager VenHw(99e275e7-75a0-4b37-a2e6-c5385e6c00cb)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.}....................
  268. Boot0001* Windows Boot Manager VenHw(99e275e7-75a0-4b37-a2e6-c5385e6c00cb)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.}....................
  269. Boot0002* ubuntu HD(1,GPT,ec1dde75-be7b-41e0-947b-93fc4bd0d96a,0x800,0x82000)/File(EFIUBUNTUSHIMX64.EFI)
  270. Boot0003* Windows Boot Manager HD(1,GPT,ec1dde75-be7b-41e0-947b-93fc4bd0d96a,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.}...X................
  271. Boot0008* ubuntu HD(1,GPT,ec1dde75-be7b-41e0-947b-93fc4bd0d96a,0x800,0x82000)/File(EFIUBUNTUGRUBX64.EFI)..BO
  272. Boot0009* UEFI: USB2.0 DISK 1.00, Partition 1 PciRoot(0x0)/Pci(0x14,0x0)/USB(0,0)/HD(1,MBR,0x4294967173,0x3f,0x1fa4c81)..BO
  273. =================== UEFI/Legacy mode:
  274. BIOS is EFI-compatible, and is setup in EFI-mode for this live-session.
  275. SecureBoot disabled. (maybe sec-boot, Please report this message to [email protected])
  276. =================== PARTITIONS & DISKS:
  277. 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.
  278. mmcblk0p3 : mmcblk0, not-sepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-boot, is-os, not--efi--part, part-has-no-fstab, part-has-no-fstab, no-nt, haswinload, no-recov-nor-hid, bootmgr, is-winboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, not-far, /media/ubuntu/OS.
  279. 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.
  280. mmcblk1p1 : 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/33e33f58-4922-4f08-a6b4-287ee4f292cc.
  281. 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.
  282. 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.
  283. mmcblk0 : GPT, no-BIOS_boot, has-correctEFI, not-usb, has-os, 1 sectors * 512 bytes
  284. mmcblk1 : not-GPT, BIOSboot-not-needed, has-no-EFIpart, not-usb, has-os, 2048 sectors * 512 bytes
  285. sda : not-GPT, BIOSboot-not-needed, has-no-EFIpart, usb-disk, no-os, 63 sectors * 512 bytes
  286. =================== parted -l:
  287. Model: USB2.0 DISK (scsi)
  288. Disk /dev/sda: 17.0GB
  289. Sector size (logical/physical): 512B/512B
  290. Partition Table: msdos
  291. Disk Flags:
  292. Number Start End Size Type File system Flags
  293. 1 32.3kB 17.0GB 17.0GB primary fat32 boot
  294. Model: Generic SD/MMC Storage Card (sd/mmc)
  295. Disk /dev/mmcblk0rpmb: 4194kB
  296. Sector size (logical/physical): 512B/512B
  297. Partition Table: unknown
  298. Disk Flags:
  299. Model: Generic SD/MMC Storage Card (sd/mmc)
  300. Disk /dev/mmcblk0boot0: 4194kB
  301. Sector size (logical/physical): 512B/512B
  302. Partition Table: unknown
  303. Disk Flags:
  304. Model: Generic SD/MMC Storage Card (sd/mmc)
  305. Disk /dev/mmcblk0boot1: 4194kB
  306. Sector size (logical/physical): 512B/512B
  307. Partition Table: unknown
  308. Disk Flags:
  309. Model: MMC DS2064 (sd/mmc)
  310. Disk /dev/mmcblk0: 62.5GB
  311. Sector size (logical/physical): 512B/512B
  312. Partition Table: gpt
  313. Disk Flags:
  314. Number Start End Size File system Name Flags
  315. 1 1049kB 274MB 273MB fat32 EFI system partition boot, esp
  316. 2 274MB 290MB 16.8MB Microsoft reserved partition msftres
  317. 3 290MB 62.0GB 61.7GB ntfs Basic data partition msftdata
  318. 4 62.0GB 62.5GB 523MB ntfs Basic data partition hidden, diag
  319. Model: SD SU16G (sd/mmc)
  320. Disk /dev/mmcblk1: 15.9GB
  321. Sector size (logical/physical): 512B/512B
  322. Partition Table: msdos
  323. Disk Flags:
  324. Number Start End Size Type File system Flags
  325. 1 4194kB 15.9GB 15.9GB primary ext4
  326. =================== parted -lm:
  327. BYT;
  328. /dev/sda:17.0GB:scsi:512:512:msdos:USB2.0 DISK:;
  329. 1:32.3kB:17.0GB:17.0GB:fat32::boot;
  330. BYT;
  331. /dev/mmcblk0rpmb:4194kB:sd/mmc:512:512:unknown:Generic SD/MMC Storage Card:;
  332. BYT;
  333. /dev/mmcblk0boot0:4194kB:sd/mmc:512:512:unknown:Generic SD/MMC Storage Card:;
  334. BYT;
  335. /dev/mmcblk0boot1:4194kB:sd/mmc:512:512:unknown:Generic SD/MMC Storage Card:;
  336. BYT;
  337. /dev/mmcblk0:62.5GB:sd/mmc:512:512:gpt:MMC DS2064:;
  338. 1:1049kB:274MB:273MB:fat32:EFI system partition:boot, esp;
  339. 2:274MB:290MB:16.8MB::Microsoft reserved partition:msftres;
  340. 3:290MB:62.0GB:61.7GB:ntfs:Basic data partition:msftdata;
  341. 4:62.0GB:62.5GB:523MB:ntfs:Basic data partition:hidden, diag;
  342. BYT;
  343. /dev/mmcblk1:15.9GB:sd/mmc:512:512:msdos:SD SU16G:;
  344. 1:4194kB:15.9GB:15.9GB:ext4::;
  345. =================== lsblk:
  346. KNAME TYPE FSTYPE SIZE LABEL
  347. sda disk 15.8G
  348. sda1 part vfat 15.8G Linux
  349. loop0 loop squashfs 1.4G
  350. mmcblk0rpmb disk 4M
  351. mmcblk0boot0 disk 4M
  352. mmcblk0boot1 disk 4M
  353. mmcblk0 disk 58.2G
  354. mmcblk0p1 part vfat 260M SYSTEM
  355. mmcblk0p2 part 16M
  356. mmcblk0p3 part ntfs 57.5G OS
  357. mmcblk0p4 part ntfs 499M RECOVERY
  358. mmcblk1 disk 14.9G
  359. mmcblk1p1 part ext4 14.9G
  360. KNAME ROTA RO RM STATE MOUNTPOINT
  361. sda 1 0 1 running
  362. sda1 1 0 1 /cdrom
  363. loop0 1 1 0 /rofs
  364. mmcblk0rpmb 0 0 0
  365. mmcblk0boot0 0 1 0
  366. mmcblk0boot1 0 1 0
  367. mmcblk0 0 0 0
  368. mmcblk0p1 0 0 0 /mnt/boot-sav/mmcblk0p1
  369. mmcblk0p2 0 0 0
  370. mmcblk0p3 0 0 0 /media/ubuntu/OS
  371. mmcblk0p4 0 0 0 /mnt/boot-sav/mmcblk0p4
  372. mmcblk1 0 0 0
  373. mmcblk1p1 0 0 0 /media/ubuntu/33e33f58-4922-4f08-a6b4-287ee4f292cc
  374. =================== mount:
  375. sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
  376. proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
  377. udev on /dev type devtmpfs (rw,nosuid,relatime,size=1960872k,nr_inodes=490218,mode=755)
  378. devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
  379. tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=395104k,mode=755)
  380. /dev/sda1 on /cdrom type vfat (ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
  381. /dev/loop0 on /rofs type squashfs (ro,noatime)
  382. /cow on / type overlay (rw,relatime,lowerdir=//filesystem.squashfs,upperdir=/cow/upper,workdir=/cow/work)
  383. securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
  384. tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
  385. tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
  386. tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
  387. cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd)
  388. pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
  389. efivarfs on /sys/firmware/efi/efivars type efivarfs (rw,nosuid,nodev,noexec,relatime)
  390. cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
  391. cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
  392. cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
  393. cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
  394. cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
  395. cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
  396. cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
  397. cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
  398. cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb)
  399. cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
  400. systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=26,pgrp=1,timeout=0,minproto=5,maxproto=5,direct)
  401. mqueue on /dev/mqueue type mqueue (rw,relatime)
  402. debugfs on /sys/kernel/debug type debugfs (rw,relatime)
  403. hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
  404. tracefs on /sys/kernel/debug/tracing type tracefs (rw,relatime)
  405. fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
  406. tmpfs on /tmp type tmpfs (rw,nosuid,nodev,relatime)
  407. tmpfs on /run/user/999 type tmpfs (rw,nosuid,nodev,relatime,size=395104k,mode=700,uid=999,gid=999)
  408. gvfsd-fuse on /run/user/999/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=999,group_id=999)
  409. /dev/mmcblk1p1 on /media/ubuntu/33e33f58-4922-4f08-a6b4-287ee4f292cc type ext4 (rw,nosuid,nodev,relatime,data=ordered,uhelper=udisks2)
  410. /dev/mmcblk0p3 on /media/ubuntu/OS type fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096,uhelper=udisks2)
  411. /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)
  412. /dev/mmcblk0p4 on /mnt/boot-sav/mmcblk0p4 type fuseblk (rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096)
  413. =================== ls:
  414. /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
  415. /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
  416. /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
  417. /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
  418. /sys/block/mmcblk1 (filtered): alignment_offset bdi capability dev device discard_alignment ext_range force_ro holders inflight integrity mmcblk1p1 power queue range removable ro size slaves stat subsystem trace uevent
  419. /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
  420. /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 hpet hugepages hwrng i2c-0 i2c-1 i2c-10 i2c-11 i2c-12 i2c-13 i2c-14 i2c-2 i2c-3 i2c-4 i2c-5 i2c-6 i2c-7 i2c-8 i2c-9 iio:device0 initctl input kmsg kvm lightnvm log mapper mcelog media0 mei0 mem memory_bandwidth mmcblk0 mmcblk0boot0 mmcblk0boot1 mmcblk0p1 mmcblk0p2 mmcblk0p3 mmcblk0p4 mmcblk0rpmb mmcblk1 mmcblk1p1 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
  421. ls /dev/mapper: control
  422. =================== hexdump -n512 -C /dev/mmcblk0p1
  423. 00000000 eb 58 90 4d 53 44 4f 53 35 2e 30 00 02 08 fe 1b |.X.MSDOS5.0.....|
  424. 00000010 02 00 00 00 00 f8 00 00 3f 00 ff 00 00 08 00 00 |........?.......|
  425. 00000020 00 20 08 00 01 02 00 00 00 00 00 00 02 00 00 00 |. ..............|
  426. 00000030 01 00 06 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  427. 00000040 80 01 29 98 f2 78 f4 4e 4f 20 4e 41 4d 45 20 20 |..)..x.NO NAME |
  428. 00000050 20 20 46 41 54 33 32 20 20 20 33 c9 8e d1 bc f4 | FAT32 3.....|
  429. 00000060 7b 8e c1 8e d9 bd 00 7c 88 56 40 88 4e 02 8a 56 |{......|[email protected]|
  430. 00000070 40 b4 41 bb aa 55 cd 13 72 10 81 fb 55 aa 75 0a |@.A..U..r...U.u.|
  431. 00000080 f6 c1 01 74 05 fe 46 02 eb 2d 8a 56 40 b4 08 cd |...t..F..-.V@...|
  432. 00000090 13 73 05 b9 ff ff 8a f1 66 0f b6 c6 40 66 0f b6 |.s......f...@f..|
  433. 000000a0 d1 80 e2 3f f7 e2 86 cd c0 ed 06 41 66 0f b7 c9 |...?.......Af...|
  434. 000000b0 66 f7 e1 66 89 46 f8 83 7e 16 00 75 39 83 7e 2a |f..f.F..~..u9.~*|
  435. 000000c0 00 77 33 66 8b 46 1c 66 83 c0 0c bb 00 80 b9 01 |.w3f.F.f........|
  436. 000000d0 00 e8 2c 00 e9 a8 03 a1 f8 7d 80 c4 7c 8b f0 ac |..,......}..|...|
  437. 000000e0 84 c0 74 17 3c ff 74 09 b4 0e bb 07 00 cd 10 eb |..t.<.t.........|
  438. 000000f0 ee a1 fa 7d eb e4 a1 7d 80 eb df 98 cd 16 cd 19 |...}...}........|
  439. 00000100 66 60 80 7e 02 00 0f 84 20 00 66 6a 00 66 50 06 |f`.~.... .fj.fP.|
  440. 00000110 53 66 68 10 00 01 00 b4 42 8a 56 40 8b f4 cd 13 |Sfh.....B.V@....|
  441. 00000120 66 58 66 58 66 58 66 58 eb 33 66 3b 46 f8 72 03 |fXfXfXfX.3f;F.r.|
  442. 00000130 f9 eb 2a 66 33 d2 66 0f b7 4e 18 66 f7 f1 fe c2 |..*f3.f..N.f....|
  443. 00000140 8a ca 66 8b d0 66 c1 ea 10 f7 76 1a 86 d6 8a 56 |..f..f....v....V|
  444. 00000150 40 8a e8 c0 e4 06 0a cc b8 01 02 cd 13 66 61 0f |@............fa.|
  445. 00000160 82 74 ff 81 c3 00 02 66 40 49 75 94 c3 42 4f 4f |[email protected]|
  446. 00000170 54 4d 47 52 20 20 20 20 00 00 00 00 00 00 00 00 |TMGR ........|
  447. 00000180 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  448. *
  449. 000001a0 00 00 00 00 00 00 00 00 00 00 00 00 0d 0a 44 69 |..............Di|
  450. 000001b0 73 6b 20 65 72 72 6f 72 ff 0d 0a 50 72 65 73 73 |sk error...Press|
  451. 000001c0 20 61 6e 79 20 6b 65 79 20 74 6f 20 72 65 73 74 | any key to rest|
  452. 000001d0 61 72 74 0d 0a 00 00 00 00 00 00 00 00 00 00 00 |art.............|
  453. 000001e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  454. 000001f0 00 00 00 00 00 00 00 00 ac 01 b9 01 00 00 55 aa |..............U.|
  455. 00000200
  456. =================== hexdump -n512 -C /dev/mmcblk0p3
  457. 00000000 eb 52 90 4e 54 46 53 20 20 20 20 00 02 08 00 00 |.R.NTFS .....|
  458. 00000010 00 00 00 00 00 f8 00 00 3f 00 ff 00 00 a8 08 00 |........?.......|
  459. 00000020 00 00 00 00 80 00 80 00 ff 77 2f 07 00 00 00 00 |.........w/.....|
  460. 00000030 00 00 0c 00 00 00 00 00 02 00 00 00 00 00 00 00 |................|
  461. 00000040 f6 00 00 00 01 00 00 00 02 ed 7f 36 17 80 36 60 |...........6..6`|
  462. 00000050 00 00 00 00 fa 33 c0 8e d0 bc 00 7c fb 68 c0 07 |.....3.....|.h..|
  463. 00000060 1f 1e 68 66 00 cb 88 16 0e 00 66 81 3e 03 00 4e |..hf......f.>..N|
  464. 00000070 54 46 53 75 15 b4 41 bb aa 55 cd 13 72 0c 81 fb |TFSu..A..U..r...|
  465. 00000080 55 aa 75 06 f7 c1 01 00 75 03 e9 dd 00 1e 83 ec |U.u.....u.......|
  466. 00000090 18 68 1a 00 b4 48 8a 16 0e 00 8b f4 16 1f cd 13 |.h...H..........|
  467. 000000a0 9f 83 c4 18 9e 58 1f 72 e1 3b 06 0b 00 75 db a3 |.....X.r.;...u..|
  468. 000000b0 0f 00 c1 2e 0f 00 04 1e 5a 33 db b9 00 20 2b c8 |........Z3... +.|
  469. 000000c0 66 ff 06 11 00 03 16 0f 00 8e c2 ff 06 16 00 e8 |f...............|
  470. 000000d0 4b 00 2b c8 77 ef b8 00 bb cd 1a 66 23 c0 75 2d |K.+.w......f#.u-|
  471. 000000e0 66 81 fb 54 43 50 41 75 24 81 f9 02 01 72 1e 16 |f..TCPAu$....r..|
  472. 000000f0 68 07 bb 16 68 52 11 16 68 09 00 66 53 66 53 66 |h...hR..h..fSfSf|
  473. 00000100 55 16 16 16 68 b8 01 66 61 0e 07 cd 1a 33 c0 bf |U...h..fa....3..|
  474. 00000110 0a 13 b9 f6 0c fc f3 aa e9 fe 01 90 90 66 60 1e |.............f`.|
  475. 00000120 06 66 a1 11 00 66 03 06 1c 00 1e 66 68 00 00 00 |.f...f.....fh...|
  476. 00000130 00 66 50 06 53 68 01 00 68 10 00 b4 42 8a 16 0e |.fP.Sh..h...B...|
  477. 00000140 00 16 1f 8b f4 cd 13 66 59 5b 5a 66 59 66 59 1f |.......fY[ZfYfY.|
  478. 00000150 0f 82 16 00 66 ff 06 11 00 03 16 0f 00 8e c2 ff |....f...........|
  479. 00000160 0e 16 00 75 bc 07 1f 66 61 c3 a1 f6 01 e8 09 00 |...u...fa.......|
  480. 00000170 a1 fa 01 e8 03 00 f4 eb fd 8b f0 ac 3c 00 74 09 |............<.t.|
  481. 00000180 b4 0e bb 07 00 cd 10 eb f2 c3 0d 0a 41 20 64 69 |............A di|
  482. 00000190 73 6b 20 72 65 61 64 20 65 72 72 6f 72 20 6f 63 |sk read error oc|
  483. 000001a0 63 75 72 72 65 64 00 0d 0a 42 4f 4f 54 4d 47 52 |curred...BOOTMGR|
  484. 000001b0 20 69 73 20 63 6f 6d 70 72 65 73 73 65 64 00 0d | is compressed..|
  485. 000001c0 0a 50 72 65 73 73 20 43 74 72 6c 2b 41 6c 74 2b |.Press Ctrl+Alt+|
  486. 000001d0 44 65 6c 20 74 6f 20 72 65 73 74 61 72 74 0d 0a |Del to restart..|
  487. 000001e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  488. 000001f0 00 00 00 00 00 00 8a 01 a7 01 bf 01 00 00 55 aa |..............U.|
  489. 00000200
  490. =================== hexdump -n512 -C /dev/mmcblk0p4
  491. 00000000 eb 52 90 4e 54 46 53 20 20 20 20 00 02 08 00 00 |.R.NTFS .....|
  492. 00000010 00 00 00 00 00 f8 00 00 3f 00 ff 00 00 20 38 07 |........?.... 8.|
  493. 00000020 00 00 00 00 80 00 80 00 ff 97 0f 00 00 00 00 00 |................|
  494. 00000030 55 a6 00 00 00 00 00 00 02 00 00 00 00 00 00 00 |U...............|
  495. 00000040 f6 00 00 00 01 00 00 00 28 31 d6 c4 49 d6 c4 10 |........(1..I...|
  496. 00000050 00 00 00 00 fa 33 c0 8e d0 bc 00 7c fb 68 c0 07 |.....3.....|.h..|
  497. 00000060 1f 1e 68 66 00 cb 88 16 0e 00 66 81 3e 03 00 4e |..hf......f.>..N|
  498. 00000070 54 46 53 75 15 b4 41 bb aa 55 cd 13 72 0c 81 fb |TFSu..A..U..r...|
  499. 00000080 55 aa 75 06 f7 c1 01 00 75 03 e9 dd 00 1e 83 ec |U.u.....u.......|
  500. 00000090 18 68 1a 00 b4 48 8a 16 0e 00 8b f4 16 1f cd 13 |.h...H..........|
  501. 000000a0 9f 83 c4 18 9e 58 1f 72 e1 3b 06 0b 00 75 db a3 |.....X.r.;...u..|
  502. 000000b0 0f 00 c1 2e 0f 00 04 1e 5a 33 db b9 00 20 2b c8 |........Z3... +.|
  503. 000000c0 66 ff 06 11 00 03 16 0f 00 8e c2 ff 06 16 00 e8 |f...............|
  504. 000000d0 4b 00 2b c8 77 ef b8 00 bb cd 1a 66 23 c0 75 2d |K.+.w......f#.u-|
  505. 000000e0 66 81 fb 54 43 50 41 75 24 81 f9 02 01 72 1e 16 |f..TCPAu$....r..|
  506. 000000f0 68 07 bb 16 68 52 11 16 68 09 00 66 53 66 53 66 |h...hR..h..fSfSf|
  507. 00000100 55 16 16 16 68 b8 01 66 61 0e 07 cd 1a 33 c0 bf |U...h..fa....3..|
  508. 00000110 0a 13 b9 f6 0c fc f3 aa e9 fe 01 90 90 66 60 1e |.............f`.|
  509. 00000120 06 66 a1 11 00 66 03 06 1c 00 1e 66 68 00 00 00 |.f...f.....fh...|
  510. 00000130 00 66 50 06 53 68 01 00 68 10 00 b4 42 8a 16 0e |.fP.Sh..h...B...|
  511. 00000140 00 16 1f 8b f4 cd 13 66 59 5b 5a 66 59 66 59 1f |.......fY[ZfYfY.|
  512. 00000150 0f 82 16 00 66 ff 06 11 00 03 16 0f 00 8e c2 ff |....f...........|
  513. 00000160 0e 16 00 75 bc 07 1f 66 61 c3 a1 f6 01 e8 09 00 |...u...fa.......|
  514. 00000170 a1 fa 01 e8 03 00 f4 eb fd 8b f0 ac 3c 00 74 09 |............<.t.|
  515. 00000180 b4 0e bb 07 00 cd 10 eb f2 c3 0d 0a 41 20 64 69 |............A di|
  516. 00000190 73 6b 20 72 65 61 64 20 65 72 72 6f 72 20 6f 63 |sk read error oc|
  517. 000001a0 63 75 72 72 65 64 00 0d 0a 42 4f 4f 54 4d 47 52 |curred...BOOTMGR|
  518. 000001b0 20 69 73 20 63 6f 6d 70 72 65 73 73 65 64 00 0d | is compressed..|
  519. 000001c0 0a 50 72 65 73 73 20 43 74 72 6c 2b 41 6c 74 2b |.Press Ctrl+Alt+|
  520. 000001d0 44 65 6c 20 74 6f 20 72 65 73 74 61 72 74 0d 0a |Del to restart..|
  521. 000001e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  522. 000001f0 00 00 00 00 00 00 8a 01 a7 01 bf 01 00 00 55 aa |..............U.|
  523. 00000200
  524. =================== df -Th:
  525. Filesystem Type Size Used Avail Use% Mounted on
  526. udev devtmpfs 1.9G 0 1.9G 0% /dev
  527. tmpfs tmpfs 386M 6.4M 380M 2% /run
  528. /dev/sda1 vfat 16G 13G 3.8G 77% /cdrom
  529. /dev/loop0 squashfs 1.4G 1.4G 0 100% /rofs
  530. /cow overlay 1.9G 74M 1.9G 4% /
  531. tmpfs tmpfs 1.9G 172K 1.9G 1% /dev/shm
  532. tmpfs tmpfs 5.0M 4.0K 5.0M 1% /run/lock
  533. tmpfs tmpfs 1.9G 0 1.9G 0% /sys/fs/cgroup
  534. tmpfs tmpfs 1.9G 256K 1.9G 1% /tmp
  535. tmpfs tmpfs 386M 76K 386M 1% /run/user/999
  536. /dev/mmcblk1p1 ext4 15G 3.4G 11G 25% /media/ubuntu/33e33f58-4922-4f08-a6b4-287ee4f292cc
  537. /dev/mmcblk0p3 fuseblk 58G 27G 32G 46% /media/ubuntu/OS
  538. /dev/mmcblk0p1 vfat 256M 37M 220M 15% /mnt/boot-sav/mmcblk0p1
  539. /dev/mmcblk0p4 fuseblk 499M 316M 184M 64% /mnt/boot-sav/mmcblk0p4
  540. =================== fdisk -l:
  541. Disk /dev/ram0: 64 MiB, 67108864 bytes, 131072 sectors
  542. Units: sectors of 1 * 512 = 512 bytes
  543. Sector size (logical/physical): 512 bytes / 4096 bytes
  544. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  545. Disk /dev/ram1: 64 MiB, 67108864 bytes, 131072 sectors
  546. Units: sectors of 1 * 512 = 512 bytes
  547. Sector size (logical/physical): 512 bytes / 4096 bytes
  548. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  549. Disk /dev/ram2: 64 MiB, 67108864 bytes, 131072 sectors
  550. Units: sectors of 1 * 512 = 512 bytes
  551. Sector size (logical/physical): 512 bytes / 4096 bytes
  552. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  553. Disk /dev/ram3: 64 MiB, 67108864 bytes, 131072 sectors
  554. Units: sectors of 1 * 512 = 512 bytes
  555. Sector size (logical/physical): 512 bytes / 4096 bytes
  556. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  557. Disk /dev/ram4: 64 MiB, 67108864 bytes, 131072 sectors
  558. Units: sectors of 1 * 512 = 512 bytes
  559. Sector size (logical/physical): 512 bytes / 4096 bytes
  560. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  561. Disk /dev/ram5: 64 MiB, 67108864 bytes, 131072 sectors
  562. Units: sectors of 1 * 512 = 512 bytes
  563. Sector size (logical/physical): 512 bytes / 4096 bytes
  564. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  565. Disk /dev/ram6: 64 MiB, 67108864 bytes, 131072 sectors
  566. Units: sectors of 1 * 512 = 512 bytes
  567. Sector size (logical/physical): 512 bytes / 4096 bytes
  568. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  569. Disk /dev/ram7: 64 MiB, 67108864 bytes, 131072 sectors
  570. Units: sectors of 1 * 512 = 512 bytes
  571. Sector size (logical/physical): 512 bytes / 4096 bytes
  572. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  573. Disk /dev/ram8: 64 MiB, 67108864 bytes, 131072 sectors
  574. Units: sectors of 1 * 512 = 512 bytes
  575. Sector size (logical/physical): 512 bytes / 4096 bytes
  576. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  577. Disk /dev/ram9: 64 MiB, 67108864 bytes, 131072 sectors
  578. Units: sectors of 1 * 512 = 512 bytes
  579. Sector size (logical/physical): 512 bytes / 4096 bytes
  580. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  581. Disk /dev/ram10: 64 MiB, 67108864 bytes, 131072 sectors
  582. Units: sectors of 1 * 512 = 512 bytes
  583. Sector size (logical/physical): 512 bytes / 4096 bytes
  584. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  585. Disk /dev/ram11: 64 MiB, 67108864 bytes, 131072 sectors
  586. Units: sectors of 1 * 512 = 512 bytes
  587. Sector size (logical/physical): 512 bytes / 4096 bytes
  588. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  589. Disk /dev/ram12: 64 MiB, 67108864 bytes, 131072 sectors
  590. Units: sectors of 1 * 512 = 512 bytes
  591. Sector size (logical/physical): 512 bytes / 4096 bytes
  592. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  593. Disk /dev/ram13: 64 MiB, 67108864 bytes, 131072 sectors
  594. Units: sectors of 1 * 512 = 512 bytes
  595. Sector size (logical/physical): 512 bytes / 4096 bytes
  596. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  597. Disk /dev/ram14: 64 MiB, 67108864 bytes, 131072 sectors
  598. Units: sectors of 1 * 512 = 512 bytes
  599. Sector size (logical/physical): 512 bytes / 4096 bytes
  600. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  601. Disk /dev/ram15: 64 MiB, 67108864 bytes, 131072 sectors
  602. Units: sectors of 1 * 512 = 512 bytes
  603. Sector size (logical/physical): 512 bytes / 4096 bytes
  604. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  605. Disk /dev/loop0: 1.4 GiB, 1459982336 bytes, 2851528 sectors
  606. Units: sectors of 1 * 512 = 512 bytes
  607. Sector size (logical/physical): 512 bytes / 512 bytes
  608. I/O size (minimum/optimal): 512 bytes / 512 bytes
  609. Disk /dev/mmcblk0: 58.2 GiB, 62537072640 bytes, 122142720 sectors
  610. Units: sectors of 1 * 512 = 512 bytes
  611. Sector size (logical/physical): 512 bytes / 512 bytes
  612. I/O size (minimum/optimal): 512 bytes / 512 bytes
  613. Disklabel type: gpt
  614. Disk identifier: 7E552FA3-C760-449A-9E5F-FA4781EF3B35
  615. Device Start End Sectors Size Type
  616. /dev/mmcblk0p1 2048 534527 532480 260M EFI System
  617. /dev/mmcblk0p2 534528 567295 32768 16M Microsoft reserved
  618. /dev/mmcblk0p3 567296 121118719 120551424 57.5G Microsoft basic data
  619. /dev/mmcblk0p4 121118720 122140671 1021952 499M Windows recovery environment
  620. Disk /dev/mmcblk0boot1: 4 MiB, 4194304 bytes, 8192 sectors
  621. Units: sectors of 1 * 512 = 512 bytes
  622. Sector size (logical/physical): 512 bytes / 512 bytes
  623. I/O size (minimum/optimal): 512 bytes / 512 bytes
  624. Disk /dev/mmcblk0boot0: 4 MiB, 4194304 bytes, 8192 sectors
  625. Units: sectors of 1 * 512 = 512 bytes
  626. Sector size (logical/physical): 512 bytes / 512 bytes
  627. I/O size (minimum/optimal): 512 bytes / 512 bytes
  628. Disk /dev/mmcblk1: 14.9 GiB, 15931539456 bytes, 31116288 sectors
  629. Units: sectors of 1 * 512 = 512 bytes
  630. Sector size (logical/physical): 512 bytes / 512 bytes
  631. I/O size (minimum/optimal): 512 bytes / 512 bytes
  632. Disklabel type: dos
  633. Disk identifier: 0x4de78d10
  634. Device Boot Start End Sectors Size Id Type
  635. /dev/mmcblk1p1 8192 31116287 31108096 14.9G 83 Linux
  636. Disk /dev/sda: 15.8 GiB, 16988602368 bytes, 33180864 sectors
  637. Units: sectors of 1 * 512 = 512 bytes
  638. Sector size (logical/physical): 512 bytes / 512 bytes
  639. I/O size (minimum/optimal): 512 bytes / 512 bytes
  640. Disklabel type: dos
  641. Disk identifier: 0x00005e85
  642. Device Boot Start End Sectors Size Id Type
  643. /dev/sda1 * 63 33180863 33180801 15.8G 6 FAT16
  644. =================== Advices
  645. EFI detected. You may want to retry after activating the [Separate /boot/efi partition:] option.
  646. Do you want to continue?
  647. Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
  648. =================== Default settings of Boot Repair
  649. The default repair of the Boot-Repair utility would reinstall the grub-efi-amd64-signed of mmcblk1p1, using the following options: mmcblk0p1/boot/efi,
  650. Additional repair would be performed: unhide-bootmenu-10s use-standard-efi-file restore-efi-backups
  651. =================== Final advice in case of suggested repair
  652. Please do not forget to make your BIOS boot on mmcblk1 (15.9GB) disk!
  653. If your computer reboots directly into Windows, try to change the boot order in your BIOS.
  654. If your BIOS does not allow to change the boot order, change the default boot entry of the Windows bootloader.
  655. For example you can boot into Windows, then type the following command in an admin command prompt:
  656. bcdedit /set {bootmgr} path \EFI\...\grub*.efi
  657. =================== User settings
  658. The settings chosen by the user will purge (in order to fix packages) and reinstall the grub2 of mmcblk1p1 into the MBR of mmcblk1, using the following options: set-windows-as-default
  659. Additional repair will be performed: unhide-bootmenu-10s restore-efi-backups
  660. /boot/efi removed in mmcblk1p1/fstab
  661. rm /mnt/boot-sav/mmcblk0p1/efi/Boot/bootx64.efi
  662. chroot /media/ubuntu/33e33f58-4922-4f08-a6b4-287ee4f292cc apt-get -y --force-yes update
  663. Purge the GRUB of mmcblk1p1
  664. grub-pc available
  665. The following additional packages will be installed:
  666. grub-common grub-efi-amd64-bin grub-gfxpayload-lists grub-pc-bin
  667. grub2-common
  668. Suggested packages:
  669. multiboot-doc grub-emu xorriso desktop-base
  670. The following packages will be REMOVED:
  671. grub-efi-amd64 grub-efi-amd64-signed
  672. The following NEW packages will be installed:
  673. grub-gfxpayload-lists grub-pc grub-pc-bin
  674. The following packages will be upgraded:
  675. grub-common grub-efi-amd64-bin grub2-common
  676. 3 upgraded, 3 newly installed, 2 to remove and 124 not upgraded.
  677. W: --force-yes is deprecated, use one of the options starting with --allow instead.
  678. DEBCHECK debOK, grub-pc
  679. DEBCHECK debOK
  680. shim-signed available
  681. linux-signed-generic available
  682. Please type: sudo chroot "/media/ubuntu/33e33f58-4922-4f08-a6b4-287ee4f292cc" dpkg --configure -ansudo chroot "/media/ubuntu/33e33f58-4922-4f08-a6b4-287ee4f292cc" apt-get install -fynsudo chroot "/media/ubuntu/33e33f58-4922-4f08-a6b4-287ee4f292cc" apt-get purge -y --force-yes grub*-common grub-common:i386 shim-signed linux-signed*
  683. Presence of EFI/Microsoft file detected: /mnt/boot-sav/mmcblk0p1/EFI/Microsoft/Boot/bootmgfw.efi
  684. Presence of EFI/Boot file detected: /mnt/boot-sav/mmcblk0p1/EFI/Boot/bootx64.efi
  685. ls: cannot access '/media/ubuntu/OS/': No such file or directory
  686. =================== /media/ubuntu/33e33f58-4922-4f08-a6b4-287ee4f292cc/etc/grub.d/ :
  687. drwxr-xr-x 2 root root 4096 Sep 4 19:19 grub.d
  688. total 8
  689. -rwxr-xr-x 1 root root 1992 Jan 28 2016 20_memtest86+
  690. -rwxr-xr-x 1 root root 590 Sep 4 19:01 25_custom
  691. Then type: sudo chroot "/media/ubuntu/33e33f58-4922-4f08-a6b4-287ee4f292cc" apt-get install -y --force-yes grub-pc linux-generic
  692. Presence of EFI/Microsoft file detected: /mnt/boot-sav/mmcblk0p1/EFI/Microsoft/Boot/bootmgfw.efi
  693. Presence of EFI/Boot file detected: /mnt/boot-sav/mmcblk0p1/EFI/Boot/bootx64.efi
  694. ls: cannot access '/media/ubuntu/OS/': No such file or directory
  695. =================== /media/ubuntu/33e33f58-4922-4f08-a6b4-287ee4f292cc/etc/grub.d/ :
  696. drwxr-xr-x 2 root root 4096 Sep 4 19:31 grub.d
  697. drwxr-xr-x 2 root root 4096 Sep 4 19:19 grub.d.bak
  698. total 72
  699. -rwxr-xr-x 1 root root 9791 Jul 23 00:09 00_header
  700. -rwxr-xr-x 1 root root 6258 Mar 15 18:08 05_debian_theme
  701. -rwxr-xr-x 1 root root 12261 Jul 23 00:09 10_linux
  702. -rwxr-xr-x 1 root root 11082 Jul 23 00:09 20_linux_xen
  703. -rwxr-xr-x 1 root root 11692 Jul 23 00:09 30_os-prober
  704. -rwxr-xr-x 1 root root 1418 Jul 23 00:09 30_uefi-firmware
  705. -rwxr-xr-x 1 root root 214 Jul 23 00:09 40_custom
  706. -rwxr-xr-x 1 root root 216 Jul 23 00:09 41_custom
  707. -rw-r--r-- 1 root root 483 Jul 23 00:09 README
  708. =================== /media/ubuntu/33e33f58-4922-4f08-a6b4-287ee4f292cc/etc/default/grub :
  709. # If you change this file, run 'update-grub' afterwards to update
  710. # /boot/grub/grub.cfg.
  711. # For full documentation of the options in this file, see:
  712. # info -f grub -n 'Simple configuration'
  713. GRUB_DEFAULT=0
  714. GRUB_HIDDEN_TIMEOUT=0
  715. GRUB_HIDDEN_TIMEOUT_QUIET=true
  716. GRUB_TIMEOUT=10
  717. GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
  718. GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
  719. GRUB_CMDLINE_LINUX=""
  720. # Uncomment to enable BadRAM filtering, modify to suit your needs
  721. # This works with Linux (no patch required) and with any kernel that obtains
  722. # the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
  723. #GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
  724. # Uncomment to disable graphical terminal (grub-pc only)
  725. #GRUB_TERMINAL=console
  726. # The resolution used on graphical terminal
  727. # note that you can use only modes which your graphic card supports via VBE
  728. # you can see them in real GRUB with the command `vbeinfo'
  729. #GRUB_GFXMODE=640x480
  730. # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
  731. #GRUB_DISABLE_LINUX_UUID=true
  732. # Uncomment to disable generation of recovery mode menu entries
  733. #GRUB_DISABLE_RECOVERY="true"
  734. # Uncomment to get a beep at grub start
  735. #GRUB_INIT_TUNE="480 440 1"
  736. Unhide GRUB boot menu in mmcblk1p1/etc/default/grub
  737. Presence of EFI/Microsoft file detected: /mnt/boot-sav/mmcblk0p1/EFI/Microsoft/Boot/bootmgfw.efi
  738. Presence of EFI/Boot file detected: /mnt/boot-sav/mmcblk0p1/EFI/Boot/bootx64.efi
  739. ls: cannot access '/media/ubuntu/OS/': No such file or directory
  740. =================== /media/ubuntu/33e33f58-4922-4f08-a6b4-287ee4f292cc/etc/grub.d/ :
  741. drwxr-xr-x 2 root root 4096 Sep 4 19:31 grub.d
  742. drwxr-xr-x 2 root root 4096 Sep 4 19:19 grub.d.bak
  743. total 72
  744. -rwxr-xr-x 1 root root 9791 Jul 23 00:09 00_header
  745. -rwxr-xr-x 1 root root 6258 Mar 15 18:08 05_debian_theme
  746. -rwxr-xr-x 1 root root 12261 Jul 23 00:09 10_linux
  747. -rwxr-xr-x 1 root root 11082 Jul 23 00:09 20_linux_xen
  748. -rwxr-xr-x 1 root root 11692 Jul 23 00:09 30_os-prober
  749. -rwxr-xr-x 1 root root 1418 Jul 23 00:09 30_uefi-firmware
  750. -rwxr-xr-x 1 root root 214 Jul 23 00:09 40_custom
  751. -rwxr-xr-x 1 root root 216 Jul 23 00:09 41_custom
  752. -rw-r--r-- 1 root root 483 Jul 23 00:09 README
  753. =================== /media/ubuntu/33e33f58-4922-4f08-a6b4-287ee4f292cc/etc/default/grub :
  754. # If you change this file, run 'update-grub' afterwards to update
  755. # /boot/grub/grub.cfg.
  756. # For full documentation of the options in this file, see:
  757. # info -f grub -n 'Simple configuration'
  758. GRUB_DEFAULT=0
  759. #GRUB_HIDDEN_TIMEOUT=0
  760. GRUB_HIDDEN_TIMEOUT_QUIET=true
  761. GRUB_TIMEOUT=10
  762. GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
  763. GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
  764. GRUB_CMDLINE_LINUX=""
  765. # Uncomment to enable BadRAM filtering, modify to suit your needs
  766. # This works with Linux (no patch required) and with any kernel that obtains
  767. # the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
  768. #GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
  769. # Uncomment to disable graphical terminal (grub-pc only)
  770. #GRUB_TERMINAL=console
  771. # The resolution used on graphical terminal
  772. # note that you can use only modes which your graphic card supports via VBE
  773. # you can see them in real GRUB with the command `vbeinfo'
  774. #GRUB_GFXMODE=640x480
  775. # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
  776. #GRUB_DISABLE_LINUX_UUID=true
  777. # Uncomment to disable generation of recovery mode menu entries
  778. #GRUB_DISABLE_RECOVERY="true"
  779. # Uncomment to get a beep at grub start
  780. #GRUB_INIT_TUNE="480 440 1"
  781. *******lspci -nnk | grep -iA3 vga
  782. 00:02.0 VGA compatible controller [0300]: Intel Corporation Device [8086:22b1] (rev 21)
  783. Subsystem: ASUSTeK Computer Inc. Device [1043:1c4d]
  784. Kernel driver in use: i915
  785. Kernel modules: i915
  786. *******
  787. grub-install --version
  788. grub-install (GRUB) 2.02~beta2-36ubuntu3.2,grub-install (GRUB) 2.
  789. Reinstall the GRUB of mmcblk1p1 into the MBR of mmcblk1
  790. Installing for i386-pc platform.
  791. Installation finished. No error reported.
  792. grub-install /dev/mmcblk1: exit code of grub-install /dev/mmcblk1:0
  793. chroot /media/ubuntu/33e33f58-4922-4f08-a6b4-287ee4f292cc update-grub
  794. Generating grub configuration file ...
  795. Found linux image: /boot/vmlinuz-4.4.0-36-generic
  796. Found initrd image: /boot/initrd.img-4.4.0-36-generic
  797. Found linux image: /boot/vmlinuz-4.4.0-31-generic
  798. Found initrd image: /boot/initrd.img-4.4.0-31-generic
  799. Found Windows Boot Manager on /dev/mmcblk0p1@/efi/Microsoft/Boot/bootmgfw.efi
  800. Adding boot menu entry for EFI firmware configuration
  801. Set menuentry 'Windows Boot Manager (on /dev/mmcblk0p1)' --class windows --class os $menuentry_id_option 'osprober-efi-F478-F298' { as default entry
  802. chroot /media/ubuntu/33e33f58-4922-4f08-a6b4-287ee4f292cc update-grub
  803. Generating grub configuration file ...
  804. Found linux image: /boot/vmlinuz-4.4.0-36-generic
  805. Found initrd image: /boot/initrd.img-4.4.0-36-generic
  806. Found linux image: /boot/vmlinuz-4.4.0-31-generic
  807. Found initrd image: /boot/initrd.img-4.4.0-31-generic
  808. Found Windows Boot Manager on /dev/mmcblk0p1@/efi/Microsoft/Boot/bootmgfw.efi
  809. Adding boot menu entry for EFI firmware configuration
  810. mount: /dev/mmcblk0 is already mounted or /mnt/boot-sav/mmcblk0 busy
  811. mount /dev/mmcblk0 : Error code 32
  812. mount -r /dev/mmcblk0 /mnt/boot-sav/mmcblk0
  813. mount: /dev/mmcblk0 is already mounted or /mnt/boot-sav/mmcblk0 busy
  814. mount -r /dev/mmcblk0 : Error code 32
  815. mount: /dev/mmcblk1 is already mounted or /mnt/boot-sav/mmcblk1 busy
  816. mount /dev/mmcblk1 : Error code 32
  817. mount -r /dev/mmcblk1 /mnt/boot-sav/mmcblk1
  818. mount: /dev/mmcblk1 is already mounted or /mnt/boot-sav/mmcblk1 busy
  819. mount -r /dev/mmcblk1 : Error code 32
  820. Unhide GRUB boot menu in mmcblk1p1/boot/grub/grub.cfg
  821. Boot successfully repaired.
  822. You can now reboot your computer.
  823. Please do not forget to make your BIOS boot on mmcblk1 (15.9GB) disk!
  824. paste.ubuntu.com ko (), using paste.debian
  825. paste.debian.net ko (), using paste2