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 2014-10-06................................................2....0............A20 gate n
  7. Boot sector info: Syslinux looks at sector 3049520 of /dev/sda1 for its
  8. second stage. SYSLINUX is installed in the directory.
  9. No errors found in the Boot Parameter Block.
  10. Operating System:
  11. Boot files: /boot/grub/grub.cfg /syslinux/syslinux.cfg
  12. /casper/vmlinuz.efi /EFI/BOOT/grubx64.efi /ldlinux.sys
  13. ============================ Drive/Partition Info: =============================
  14. Drive: sda _____________________________________________________________________
  15. Disk /dev/sda: 3.7 GiB, 4004511744 bytes, 7821312 sectors
  16. Units: sectors of 1 * 512 = 512 bytes
  17. Sector size (logical/physical): 512 bytes / 512 bytes
  18. I/O size (minimum/optimal): 512 bytes / 512 bytes
  19. Disklabel type: dos
  20. Partition Boot Start Sector End Sector # of Sectors Id System
  21. /dev/sda1 * 32 7,821,311 7,821,280 b W95 FAT32
  22. "blkid" output: ________________________________________________________________
  23. Device UUID TYPE LABEL
  24. /dev/loop0 squashfs
  25. /dev/mmcblk0
  26. /dev/mmcblk0p1 C00F-1D6C vfat
  27. /dev/mmcblk0p2 d1a62292-4083-408d-9a2d-680c45f91e1c ext4
  28. /dev/mmcblk0p3 d2d22e1e-8fe6-448f-ab3e-e8f241cd903f swap
  29. /dev/sda1 FE48-1157 vfat
  30. ========================= "ls -l /dev/disk/by-id" output: ======================
  31. total 0
  32. lrwxrwxrwx 1 root root 13 Apr 21 17:24 mmc-HBG4e__0x4e813ef6 -> ../../mmcblk0
  33. lrwxrwxrwx 1 root root 15 Apr 21 17:24 mmc-HBG4e__0x4e813ef6-part1 -> ../../mmcblk0p1
  34. lrwxrwxrwx 1 root root 15 Apr 21 17:24 mmc-HBG4e__0x4e813ef6-part2 -> ../../mmcblk0p2
  35. lrwxrwxrwx 1 root root 15 Apr 21 17:24 mmc-HBG4e__0x4e813ef6-part3 -> ../../mmcblk0p3
  36. lrwxrwxrwx 1 root root 9 Apr 21 17:27 usb-SanDisk_Cruzer_Blade_200607741007667201DB-0:0 -> ../../sda
  37. lrwxrwxrwx 1 root root 10 Apr 21 17:27 usb-SanDisk_Cruzer_Blade_200607741007667201DB-0:0-part1 -> ../../sda1
  38. ================================ Mount points: =================================
  39. Device Mount_Point Type Options
  40. /dev/loop0 /rofs squashfs (ro,noatime)
  41. /dev/mmcblk0p2 /media/ubuntu/d1a62292-4083-408d-9a2d-680c45f91e1c ext4 (rw,nosuid,nodev,relatime,data=ordered,uhelper=udisks2)
  42. /dev/sda1 /cdrom vfat (ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
  43. =========================== sda1/boot/grub/grub.cfg: ===========================
  44. --------------------------------------------------------------------------------
  45. if loadfont /boot/grub/font.pf2 ; then
  46. set gfxmode=auto
  47. insmod efi_gop
  48. insmod efi_uga
  49. insmod gfxterm
  50. terminal_output gfxterm
  51. fi
  52. set menu_color_normal=white/black
  53. set menu_color_highlight=black/light-gray
  54. menuentry "Try Ubuntu without installing" {
  55. set gfxpayload=keep
  56. linux /casper/vmlinuz.efi file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash ---
  57. initrd /casper/initrd.lz
  58. }
  59. menuentry "Install Ubuntu" {
  60. set gfxpayload=keep
  61. linux /casper/vmlinuz.efi file=/cdrom/preseed/ubuntu.seed boot=casper only-ubiquity quiet splash ---
  62. initrd /casper/initrd.lz
  63. }
  64. menuentry "OEM install (for manufacturers)" {
  65. set gfxpayload=keep
  66. linux /casper/vmlinuz.efi file=/cdrom/preseed/ubuntu.seed boot=casper only-ubiquity quiet splash oem-config/enable=true ---
  67. initrd /casper/initrd.lz
  68. }
  69. menuentry "Check disc for defects" {
  70. set gfxpayload=keep
  71. linux /casper/vmlinuz.efi boot=casper integrity-check quiet splash ---
  72. initrd /casper/initrd.lz
  73. }
  74. --------------------------------------------------------------------------------
  75. ========================= sda1/syslinux/syslinux.cfg: ==========================
  76. --------------------------------------------------------------------------------
  77. # D-I config version 2.0
  78. # search path for the c32 support libraries (libcom32, libutil etc.)
  79. path
  80. include menu.cfg
  81. default vesamenu.c32
  82. prompt 0
  83. timeout 50
  84. ui gfxboot bootlogo
  85. --------------------------------------------------------------------------------
  86. =================== sda1: Location of files loaded by Grub: ====================
  87. GiB - GB File Fragment(s)
  88. ?? = ?? boot/grub/grub.cfg 1
  89. ================= sda1: Location of files loaded by Syslinux: ==================
  90. GiB - GB File Fragment(s)
  91. ?? = ?? syslinux/syslinux.cfg 1
  92. ?? = ?? ldlinux.sys 1
  93. ?? = ?? ldlinux.c32 1
  94. ?? = ?? syslinux/chain.c32 1
  95. ?? = ?? syslinux/gfxboot.c32 1
  96. ?? = ?? syslinux/ldlinux.c32 1
  97. ?? = ?? syslinux/libcom32.c32 1
  98. ?? = ?? syslinux/libutil.c32 1
  99. ?? = ?? syslinux/vesamenu.c32 1
  100. ============== sda1: Version of COM32(R) files used by Syslinux: ===============
  101. ldlinux.c32 : not a COM32/COM32R module
  102. syslinux/chain.c32 : not a COM32/COM32R module
  103. syslinux/gfxboot.c32 : not a COM32/COM32R module
  104. syslinux/ldlinux.c32 : not a COM32/COM32R module
  105. syslinux/libcom32.c32 : not a COM32/COM32R module
  106. syslinux/libutil.c32 : not a COM32/COM32R module
  107. syslinux/vesamenu.c32 : not a COM32/COM32R module
  108. =============================== StdErr Messages: ===============================
  109. File descriptor 9 (/proc/5295/mounts) leaked on lvs invocation. Parent PID 15595: bash
  110. File descriptor 63 (pipe:[36858]) leaked on lvs invocation. Parent PID 15595: bash
  111. ADDITIONAL INFORMATION :
  112. =================== log of boot-repair 2017-04-21__17h27 ===================
  113. boot-repair version : 4ppa40
  114. boot-sav version : 4ppa40
  115. glade2script version : 3.2.3~ppa1
  116. boot-sav-extra version : 4ppa40
  117. Error: /dev/mmcblk0rpmb: unrecognised disk label
  118. Warning: Error fsyncing/closing /dev/mmcblk0rpmb: Input/output error
  119. Error: /dev/mmcblk0boot0: unrecognised disk label
  120. Error: /dev/mmcblk0boot1: unrecognised disk label
  121. Error: /dev/mmcblk0rpmb: unrecognised disk label
  122. Warning: Error fsyncing/closing /dev/mmcblk0rpmb: Input/output error
  123. Error: /dev/mmcblk0boot0: unrecognised disk label
  124. Error: /dev/mmcblk0boot1: unrecognised disk label
  125. boot-repair is executed in live-session (Ubuntu 16.04.2 LTS, xenial, Ubuntu, x86_64)
  126. CPU op-mode(s): 32-bit, 64-bit
  127. BOOT_IMAGE=/casper/vmlinuz.efi file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash ---
  128. ls: cannot access '/home/usr/.config': No such file or directory
  129. mmcblk0 (sda) has unknown type. Please report this message to [email protected]
  130. mount: /dev/mmcblk0 is already mounted or /mnt/boot-sav/mmcblk0 busy
  131. mount /dev/mmcblk0 : Error code 32
  132. mount -r /dev/mmcblk0 /mnt/boot-sav/mmcblk0
  133. mount: /dev/mmcblk0 is already mounted or /mnt/boot-sav/mmcblk0 busy
  134. mount -r /dev/mmcblk0 : Error code 32
  135. cat: /sys/block/mmcblk0/mmcblk0boot0/start: No such file or directory
  136. cat: /sys/block/mmcblk0/mmcblk0boot1/start: No such file or directory
  137. cat: /sys/block/mmcblk0/mmcblk0rpmb/start: No such file or directory
  138. =================== os-prober:
  139. /dev/mmcblk0p2:Ubuntu 16.04.2 LTS (16.04):Ubuntu:linux
  140. =================== blkid:
  141. /dev/mmcblk0p1: UUID="C00F-1D6C" TYPE="vfat" PARTLABEL="EFI System Partition" PARTUUID="7bdafb5e-09ee-4a66-823d-22d92626d584"
  142. /dev/mmcblk0p2: UUID="d1a62292-4083-408d-9a2d-680c45f91e1c" TYPE="ext4" PARTUUID="1cfbd844-c914-4802-9e8b-71f39d69d0bf"
  143. /dev/sda1: UUID="FE48-1157" TYPE="vfat"
  144. /dev/loop0: TYPE="squashfs"
  145. /dev/mmcblk0p3: UUID="d2d22e1e-8fe6-448f-ab3e-e8f241cd903f" TYPE="swap" PARTUUID="6e500f15-48a0-4d57-b725-87b7cd4319f7"
  146. /dev/mmcblk0: PTUUID="7ab225e7-52ff-47ab-af36-79817d6b403b" PTTYPE="gpt"
  147. 1 disks with OS, 1 OS : 1 Linux, 0 MacOS, 0 Windows, 0 unknown type OS.
  148. mount: /dev/mmcblk0 is already mounted or /mnt/boot-sav/mmcblk0 busy
  149. mount /dev/mmcblk0 : Error code 32
  150. mount -r /dev/mmcblk0 /mnt/boot-sav/mmcblk0
  151. mount: /dev/mmcblk0 is already mounted or /mnt/boot-sav/mmcblk0 busy
  152. mount -r /dev/mmcblk0 : Error code 32
  153. Presence of EFI/Microsoft file detected: /mnt/boot-sav/mmcblk0p1/EFI/Microsoft/Boot/bootmgfw.efi
  154. Presence of EFI/Microsoft file detected: /mnt/boot-sav/mmcblk0p1/EFI/Microsoft/Boot/bootx64.efi
  155. Presence of EFI/Boot file detected: /mnt/boot-sav/mmcblk0p1/EFI/Boot/bootx64.efi
  156. =================== /media/ubuntu/d1a62292-4083-408d-9a2d-680c45f91e1c/etc/grub.d/ :
  157. drwxr-xr-x 2 root root 4096 Apr 21 16:29 grub.d
  158. total 84
  159. -rwxr-xr-x 1 root root 9791 Jan 13 16:26 00_header
  160. -rwxr-xr-x 1 root root 6258 Mar 15 2016 05_debian_theme
  161. -rwxr-xr-x 1 root root 12512 Mar 24 06:32 10_linux
  162. -rwxr-xr-x 1 root root 11082 Jan 13 16:26 20_linux_xen
  163. -rwxr-xr-x 1 root root 1992 Jan 28 2016 20_memtest86+
  164. -rwxr-xr-x 1 root root 426 Apr 21 16:29 25_custom
  165. -rwxr-xr-x 1 root root 11692 Jan 13 16:26 30_os-prober
  166. -rwxr-xr-x 1 root root 1418 Jan 13 16:26 30_uefi-firmware
  167. -rwxr-xr-x 1 root root 214 Jan 13 16:26 40_custom
  168. -rwxr-xr-x 1 root root 216 Jan 13 16:26 41_custom
  169. -rw-r--r-- 1 root root 483 Jan 13 16:26 README
  170. =================== /media/ubuntu/d1a62292-4083-408d-9a2d-680c45f91e1c/etc/default/grub :
  171. # If you change this file, run 'update-grub' afterwards to update
  172. # /boot/grub/grub.cfg.
  173. # For full documentation of the options in this file, see:
  174. # info -f grub -n 'Simple configuration'
  175. GRUB_DEFAULT=0
  176. #GRUB_HIDDEN_TIMEOUT=0
  177. GRUB_HIDDEN_TIMEOUT_QUIET=true
  178. GRUB_TIMEOUT=10
  179. GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
  180. GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
  181. GRUB_CMDLINE_LINUX=""
  182. # Uncomment to enable BadRAM filtering, modify to suit your needs
  183. # This works with Linux (no patch required) and with any kernel that obtains
  184. # the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
  185. #GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
  186. # Uncomment to disable graphical terminal (grub-pc only)
  187. #GRUB_TERMINAL=console
  188. # The resolution used on graphical terminal
  189. # note that you can use only modes which your graphic card supports via VBE
  190. # you can see them in real GRUB with the command `vbeinfo'
  191. #GRUB_GFXMODE=640x480
  192. # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
  193. #GRUB_DISABLE_LINUX_UUID=true
  194. # Uncomment to disable generation of recovery mode menu entries
  195. #GRUB_DISABLE_RECOVERY="true"
  196. # Uncomment to get a beep at grub start
  197. #GRUB_INIT_TUNE="480 440 1"
  198. /boot/efi detected in the fstab of mmcblk0p2: UUID=C00F-1D6C (mmcblk0p1)
  199. =================== efibootmgr -v
  200. BootCurrent: 0000
  201. Timeout: 0 seconds
  202. BootOrder: 2001,2002,2003
  203. Boot0000* USB HDD: SanDisk PciRoot(0x0)/Pci(0x14,0x0)/USB(1,0)/HD(1,MBR,0x0,0x20,0x7757e0)RC
  204. Boot0001* Unknown Device: HD(1,GPT,7bdafb5e-09ee-4a66-823d-22d92626d584,0x800,0x100000)/File(EFIubuntushimx64.efi)RC
  205. Boot0002* Unknown Device: FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(c57ad6b7-0515-40a8-9d21-551652854e37)RC...0
  206. Boot0003* Unknown Device: FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(c57ad6b7-0515-40a8-9d21-551652854e37)RC...0
  207. Boot0004* ubuntu HD(1,GPT,7bdafb5e-09ee-4a66-823d-22d92626d584,0x800,0x100000)/File(EFIubuntushimx64.efi)
  208. Boot2001* EFI USB Device RC
  209. Boot2003* EFI Network RC
  210. =================== UEFI/Legacy mode:
  211. BIOS is EFI-compatible, and is setup in EFI-mode for this live-session.
  212. SecureBoot enabled.
  213. =================== PARTITIONS & DISKS:
  214. mmcblk0p1 : mmcblk0, not-sepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-boot, no-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.
  215. mmcblk0p2 : mmcblk0, 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/d1a62292-4083-408d-9a2d-680c45f91e1c.
  216. 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.
  217. mmcblk0 : GPT, no-BIOS_boot, has-correctEFI, not-usb, has-os, 1 sectors * 512 bytes
  218. sda : not-GPT, BIOSboot-not-needed, has-no-EFIpart, usb-disk, no-os, 32 sectors * 512 bytes
  219. =================== parted -l:
  220. Model: SanDisk Cruzer Blade (scsi)
  221. Disk /dev/sda: 4005MB
  222. Sector size (logical/physical): 512B/512B
  223. Partition Table: msdos
  224. Disk Flags:
  225. Number Start End Size Type File system Flags
  226. 1 16.4kB 4005MB 4004MB primary fat32 boot
  227. Model: Generic SD/MMC Storage Card (sd/mmc)
  228. Disk /dev/mmcblk0rpmb: 4194kB
  229. Sector size (logical/physical): 512B/512B
  230. Partition Table: unknown
  231. Disk Flags:
  232. Model: Generic SD/MMC Storage Card (sd/mmc)
  233. Disk /dev/mmcblk0boot0: 4194kB
  234. Sector size (logical/physical): 512B/512B
  235. Partition Table: unknown
  236. Disk Flags:
  237. Model: Generic SD/MMC Storage Card (sd/mmc)
  238. Disk /dev/mmcblk0boot1: 4194kB
  239. Sector size (logical/physical): 512B/512B
  240. Partition Table: unknown
  241. Disk Flags:
  242. Model: MMC HBG4e (sd/mmc)
  243. Disk /dev/mmcblk0: 31.3GB
  244. Sector size (logical/physical): 512B/512B
  245. Partition Table: gpt
  246. Disk Flags:
  247. Number Start End Size File system Name Flags
  248. 1 1049kB 538MB 537MB fat32 EFI System Partition boot, esp
  249. 2 538MB 29.2GB 28.7GB ext4
  250. 3 29.2GB 31.3GB 2055MB linux-swap(v1)
  251. =================== parted -lm:
  252. BYT;
  253. /dev/sda:4005MB:scsi:512:512:msdos:SanDisk Cruzer Blade:;
  254. 1:16.4kB:4005MB:4004MB:fat32::boot;
  255. BYT;
  256. /dev/mmcblk0rpmb:4194kB:sd/mmc:512:512:unknown:Generic SD/MMC Storage Card:;
  257. BYT;
  258. /dev/mmcblk0boot0:4194kB:sd/mmc:512:512:unknown:Generic SD/MMC Storage Card:;
  259. BYT;
  260. /dev/mmcblk0boot1:4194kB:sd/mmc:512:512:unknown:Generic SD/MMC Storage Card:;
  261. BYT;
  262. /dev/mmcblk0:31.3GB:sd/mmc:512:512:gpt:MMC HBG4e:;
  263. 1:1049kB:538MB:537MB:fat32:EFI System Partition:boot, esp;
  264. 2:538MB:29.2GB:28.7GB:ext4::;
  265. 3:29.2GB:31.3GB:2055MB:linux-swap(v1)::;
  266. =================== lsblk:
  267. KNAME TYPE FSTYPE SIZE LABEL
  268. mmcblk0rpmb disk 4M
  269. mmcblk0boot0 disk 4M
  270. loop0 loop squashfs 1.4G
  271. sda disk 3.7G
  272. sda1 part vfat 3.7G
  273. mmcblk0boot1 disk 4M
  274. mmcblk0 disk 29.1G
  275. mmcblk0p2 part ext4 26.7G
  276. mmcblk0p3 part swap 1.9G
  277. mmcblk0p1 part vfat 512M
  278. KNAME ROTA RO RM STATE MOUNTPOINT
  279. mmcblk0rpmb 0 0 0
  280. mmcblk0boot0 0 1 0
  281. loop0 1 1 0 /rofs
  282. sda 1 0 1 running
  283. sda1 1 0 1 /cdrom
  284. mmcblk0boot1 0 1 0
  285. mmcblk0 0 0 0
  286. mmcblk0p2 0 0 0 /media/ubuntu/d1a62292-4083-408d-9a2d-680c45f91e1c
  287. mmcblk0p3 0 0 0
  288. mmcblk0p1 0 0 0 /mnt/boot-sav/mmcblk0p1
  289. =================== mount:
  290. sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
  291. proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
  292. udev on /dev type devtmpfs (rw,nosuid,relatime,size=963464k,nr_inodes=240866,mode=755)
  293. devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
  294. tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=195812k,mode=755)
  295. /dev/sda1 on /cdrom type vfat (ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
  296. /dev/loop0 on /rofs type squashfs (ro,noatime)
  297. aufs on / type aufs (rw,noatime,si=180b51324fe21137)
  298. securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
  299. tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
  300. tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
  301. tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
  302. cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd)
  303. pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
  304. efivarfs on /sys/firmware/efi/efivars type efivarfs (rw,nosuid,nodev,noexec,relatime)
  305. cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
  306. cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
  307. cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
  308. cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
  309. cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
  310. cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
  311. cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
  312. cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
  313. cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
  314. cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb)
  315. systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=27,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=10065)
  316. debugfs on /sys/kernel/debug type debugfs (rw,relatime)
  317. mqueue on /dev/mqueue type mqueue (rw,relatime)
  318. hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
  319. tracefs on /sys/kernel/debug/tracing type tracefs (rw,relatime)
  320. fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
  321. tmpfs on /tmp type tmpfs (rw,nosuid,nodev,relatime)
  322. tmpfs on /run/user/999 type tmpfs (rw,nosuid,nodev,relatime,size=195812k,mode=700,uid=999,gid=999)
  323. gvfsd-fuse on /run/user/999/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=999,group_id=999)
  324. /dev/mmcblk0p2 on /media/ubuntu/d1a62292-4083-408d-9a2d-680c45f91e1c type ext4 (rw,nosuid,nodev,relatime,data=ordered,uhelper=udisks2)
  325. /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)
  326. =================== ls:
  327. /sys/block/mmcblk0 (filtered): alignment_offset badblocks bdi capability dev device discard_alignment ext_range force_ro holders inflight integrity mmcblk0boot0 mmcblk0boot1 mmcblk0p1 mmcblk0p2 mmcblk0p3 mmcblk0rpmb power queue range removable ro size slaves stat subsystem trace uevent
  328. /sys/block/mmcblk0boot0 (filtered): alignment_offset badblocks 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
  329. /sys/block/mmcblk0boot1 (filtered): alignment_offset badblocks 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
  330. /sys/block/mmcblk0rpmb (filtered): alignment_offset badblocks bdi capability dev device discard_alignment ext_range force_ro holders inflight integrity power queue range removable ro size slaves stat subsystem trace uevent
  331. /sys/block/sda (filtered): alignment_offset badblocks 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
  332. /dev (filtered): acpi_thermal_rel autofs block bsg btrfs-control bus char console core cpu cpu_dma_latency cuse disk dri drm_dp_aux0 drm_dp_aux1 drm_dp_aux2 ecryptfs fb0 fd full fuse gpiochip0 gpiochip1 gpiochip2 gpiochip3 hidraw0 hpet hugepages hwrng i2c-0 i2c-1 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 mmcblk0rpmb 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
  333. ls /dev/mapper: control
  334. =================== hexdump -n512 -C /dev/mmcblk0p1
  335. 00000000 eb 58 90 6d 6b 66 73 2e 66 61 74 00 02 08 20 00 |.X.mkfs.fat... .|
  336. 00000010 02 00 00 00 00 f8 00 00 10 00 04 00 00 08 00 00 |................|
  337. 00000020 00 00 10 00 00 04 00 00 00 00 00 00 02 00 00 00 |................|
  338. 00000030 01 00 06 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  339. 00000040 80 01 29 6c 1d 0f c0 4e 4f 20 4e 41 4d 45 20 20 |..)l...NO NAME |
  340. 00000050 20 20 46 41 54 33 32 20 20 20 0e 1f be 77 7c ac | FAT32 ...w|.|
  341. 00000060 22 c0 74 0b 56 b4 0e bb 07 00 cd 10 5e eb f0 32 |".t.V.......^..2|
  342. 00000070 e4 cd 16 cd 19 eb fe 54 68 69 73 20 69 73 20 6e |.......This is n|
  343. 00000080 6f 74 20 61 20 62 6f 6f 74 61 62 6c 65 20 64 69 |ot a bootable di|
  344. 00000090 73 6b 2e 20 20 50 6c 65 61 73 65 20 69 6e 73 65 |sk. Please inse|
  345. 000000a0 72 74 20 61 20 62 6f 6f 74 61 62 6c 65 20 66 6c |rt a bootable fl|
  346. 000000b0 6f 70 70 79 20 61 6e 64 0d 0a 70 72 65 73 73 20 |oppy and..press |
  347. 000000c0 61 6e 79 20 6b 65 79 20 74 6f 20 74 72 79 20 61 |any key to try a|
  348. 000000d0 67 61 69 6e 20 2e 2e 2e 20 0d 0a 00 00 00 00 00 |gain ... .......|
  349. 000000e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  350. *
  351. 000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.|
  352. 00000200
  353. =================== df -Th:
  354. Filesystem Type Size Used Avail Use% Mounted on
  355. udev devtmpfs 941M 0 941M 0% /dev
  356. tmpfs tmpfs 192M 6.3M 185M 4% /run
  357. /dev/sda1 vfat 3.8G 1.7G 2.1G 46% /cdrom
  358. /dev/loop0 squashfs 1.4G 1.4G 0 100% /rofs
  359. aufs aufs 957M 43M 914M 5% /
  360. tmpfs tmpfs 957M 172K 956M 1% /dev/shm
  361. tmpfs tmpfs 5.0M 4.0K 5.0M 1% /run/lock
  362. tmpfs tmpfs 957M 0 957M 0% /sys/fs/cgroup
  363. tmpfs tmpfs 957M 24K 957M 1% /tmp
  364. tmpfs tmpfs 192M 92K 192M 1% /run/user/999
  365. /dev/mmcblk0p2 ext4 27G 4.4G 21G 18% /media/ubuntu/d1a62292-4083-408d-9a2d-680c45f91e1c
  366. /dev/mmcblk0p1 vfat 511M 6.9M 505M 2% /mnt/boot-sav/mmcblk0p1
  367. =================== fdisk -l:
  368. Disk /dev/ram0: 64 MiB, 67108864 bytes, 131072 sectors
  369. Units: sectors of 1 * 512 = 512 bytes
  370. Sector size (logical/physical): 512 bytes / 4096 bytes
  371. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  372. Disk /dev/ram1: 64 MiB, 67108864 bytes, 131072 sectors
  373. Units: sectors of 1 * 512 = 512 bytes
  374. Sector size (logical/physical): 512 bytes / 4096 bytes
  375. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  376. Disk /dev/ram2: 64 MiB, 67108864 bytes, 131072 sectors
  377. Units: sectors of 1 * 512 = 512 bytes
  378. Sector size (logical/physical): 512 bytes / 4096 bytes
  379. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  380. Disk /dev/ram3: 64 MiB, 67108864 bytes, 131072 sectors
  381. Units: sectors of 1 * 512 = 512 bytes
  382. Sector size (logical/physical): 512 bytes / 4096 bytes
  383. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  384. Disk /dev/ram4: 64 MiB, 67108864 bytes, 131072 sectors
  385. Units: sectors of 1 * 512 = 512 bytes
  386. Sector size (logical/physical): 512 bytes / 4096 bytes
  387. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  388. Disk /dev/ram5: 64 MiB, 67108864 bytes, 131072 sectors
  389. Units: sectors of 1 * 512 = 512 bytes
  390. Sector size (logical/physical): 512 bytes / 4096 bytes
  391. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  392. Disk /dev/ram6: 64 MiB, 67108864 bytes, 131072 sectors
  393. Units: sectors of 1 * 512 = 512 bytes
  394. Sector size (logical/physical): 512 bytes / 4096 bytes
  395. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  396. Disk /dev/ram7: 64 MiB, 67108864 bytes, 131072 sectors
  397. Units: sectors of 1 * 512 = 512 bytes
  398. Sector size (logical/physical): 512 bytes / 4096 bytes
  399. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  400. Disk /dev/ram8: 64 MiB, 67108864 bytes, 131072 sectors
  401. Units: sectors of 1 * 512 = 512 bytes
  402. Sector size (logical/physical): 512 bytes / 4096 bytes
  403. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  404. Disk /dev/ram9: 64 MiB, 67108864 bytes, 131072 sectors
  405. Units: sectors of 1 * 512 = 512 bytes
  406. Sector size (logical/physical): 512 bytes / 4096 bytes
  407. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  408. Disk /dev/ram10: 64 MiB, 67108864 bytes, 131072 sectors
  409. Units: sectors of 1 * 512 = 512 bytes
  410. Sector size (logical/physical): 512 bytes / 4096 bytes
  411. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  412. Disk /dev/ram11: 64 MiB, 67108864 bytes, 131072 sectors
  413. Units: sectors of 1 * 512 = 512 bytes
  414. Sector size (logical/physical): 512 bytes / 4096 bytes
  415. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  416. Disk /dev/ram12: 64 MiB, 67108864 bytes, 131072 sectors
  417. Units: sectors of 1 * 512 = 512 bytes
  418. Sector size (logical/physical): 512 bytes / 4096 bytes
  419. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  420. Disk /dev/ram13: 64 MiB, 67108864 bytes, 131072 sectors
  421. Units: sectors of 1 * 512 = 512 bytes
  422. Sector size (logical/physical): 512 bytes / 4096 bytes
  423. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  424. Disk /dev/ram14: 64 MiB, 67108864 bytes, 131072 sectors
  425. Units: sectors of 1 * 512 = 512 bytes
  426. Sector size (logical/physical): 512 bytes / 4096 bytes
  427. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  428. Disk /dev/ram15: 64 MiB, 67108864 bytes, 131072 sectors
  429. Units: sectors of 1 * 512 = 512 bytes
  430. Sector size (logical/physical): 512 bytes / 4096 bytes
  431. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  432. Disk /dev/loop0: 1.4 GiB, 1497772032 bytes, 2925336 sectors
  433. Units: sectors of 1 * 512 = 512 bytes
  434. Sector size (logical/physical): 512 bytes / 512 bytes
  435. I/O size (minimum/optimal): 512 bytes / 512 bytes
  436. Disk /dev/mmcblk0: 29.1 GiB, 31272730624 bytes, 61079552 sectors
  437. Units: sectors of 1 * 512 = 512 bytes
  438. Sector size (logical/physical): 512 bytes / 512 bytes
  439. I/O size (minimum/optimal): 512 bytes / 512 bytes
  440. Disklabel type: gpt
  441. Disk identifier: 7AB225E7-52FF-47AB-AF36-79817D6B403B
  442. Device Start End Sectors Size Type
  443. /dev/mmcblk0p1 2048 1050623 1048576 512M EFI System
  444. /dev/mmcblk0p2 1050624 57063423 56012800 26.7G Linux filesystem
  445. /dev/mmcblk0p3 57063424 61077503 4014080 1.9G Linux swap
  446. Disk /dev/mmcblk0boot1: 4 MiB, 4194304 bytes, 8192 sectors
  447. Units: sectors of 1 * 512 = 512 bytes
  448. Sector size (logical/physical): 512 bytes / 512 bytes
  449. I/O size (minimum/optimal): 512 bytes / 512 bytes
  450. Disk /dev/mmcblk0boot0: 4 MiB, 4194304 bytes, 8192 sectors
  451. Units: sectors of 1 * 512 = 512 bytes
  452. Sector size (logical/physical): 512 bytes / 512 bytes
  453. I/O size (minimum/optimal): 512 bytes / 512 bytes
  454. Disk /dev/sda: 3.7 GiB, 4004511744 bytes, 7821312 sectors
  455. Units: sectors of 1 * 512 = 512 bytes
  456. Sector size (logical/physical): 512 bytes / 512 bytes
  457. I/O size (minimum/optimal): 512 bytes / 512 bytes
  458. Disklabel type: dos
  459. Disk identifier: 0x00000000
  460. Device Boot Start End Sectors Size Id Type
  461. /dev/sda1 * 32 7821311 7821280 3.7G b W95 FAT32
  462. =================== Default settings of Boot Repair
  463. The default repair of the Boot-Repair utility would reinstall the grub-efi-amd64-signed of mmcblk0p2, using the following options: mmcblk0p1/boot/efi,
  464. Additional repair would be performed: unhide-bootmenu-10s use-standard-efi-file rename-ms-efi
  465. =================== Final advice in case of suggested repair
  466. Please do not forget to make your BIOS boot on mmcblk0 (31.3GB) disk!
  467. =================== User settings
  468. The settings chosen by the user will reinstall the grub-efi-amd64-signed of mmcblk0p2, using the following options: mmcblk0p1/boot/efi,
  469. Additional repair will be performed: unhide-bootmenu-10s use-standard-efi-file rename-ms-efi
  470. rm /mnt/boot-sav/mmcblk0p1/efi/Microsoft/Boot/bootmgfw.efi /mnt/boot-sav/mmcblk0p1/efi/Microsoft/Boot/bootmgfw.efi.grb
  471. rm /mnt/boot-sav/mmcblk0p1/efi/Microsoft/Boot/bootx64.efi /mnt/boot-sav/mmcblk0p1/efi/Microsoft/Boot/bootx64.efi.grb
  472. rm /mnt/boot-sav/mmcblk0p1/efi/Boot/bootx64.efi /mnt/boot-sav/mmcblk0p1/efi/Boot/bootx64.efi.grb
  473. Mount mmcblk0p1 on /media/ubuntu/d1a62292-4083-408d-9a2d-680c45f91e1c/boot/efi
  474. ls mmcblk0p1/efi: /ubuntu/shimx64.efi /ubuntu/mmx64.efi /ubuntu/grubx64.efi /ubuntu/grub.cfg /ubuntu/fwupx64.efi /ubuntu/fw /ubuntu/fbx64.efi /Microsoft/Boot
  475. *******lspci -nnk | grep -iA3 vga
  476. 00:02.0 VGA compatible controller [0300]: Intel Corporation Device [8086:22b1] (rev 35)
  477. Subsystem: Acer Incorporated [ALI] Device [1025:106d]
  478. Kernel driver in use: i915
  479. Kernel modules: i915
  480. *******
  481. grub-install --version
  482. grub-install (GRUB) 2.02~beta2-36ubuntu3.9,grub-install (GRUB) 2.
  483. chroot /media/ubuntu/d1a62292-4083-408d-9a2d-680c45f91e1c efibootmgr -v
  484. BootCurrent: 0000
  485. Timeout: 0 seconds
  486. BootOrder: 2001,2002,2003
  487. Boot0000* USB HDD: SanDisk PciRoot(0x0)/Pci(0x14,0x0)/USB(1,0)/HD(1,MBR,0x0,0x20,0x7757e0)RC
  488. Boot0001* Unknown Device: HD(1,GPT,7bdafb5e-09ee-4a66-823d-22d92626d584,0x800,0x100000)/File(EFIubuntushimx64.efi)RC
  489. Boot0002* Unknown Device: FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(c57ad6b7-0515-40a8-9d21-551652854e37)RC...0
  490. Boot0003* Unknown Device: FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(c57ad6b7-0515-40a8-9d21-551652854e37)RC...0
  491. Boot0004* ubuntu HD(1,GPT,7bdafb5e-09ee-4a66-823d-22d92626d584,0x800,0x100000)/File(EFIubuntushimx64.efi)
  492. Boot2001* EFI USB Device RC
  493. Boot2003* EFI Network RC
  494. chroot /media/ubuntu/d1a62292-4083-408d-9a2d-680c45f91e1c uname -r
  495. Kernel: 4.8.0-36-generic
  496. Reinstall the grub-efi-amd64-signed of mmcblk0p2
  497. Installing for x86_64-efi platform.
  498. Installation finished. No error reported.
  499. grub-install --efi-directory=/boot/efi --target=x86_64-efi --uefi-secure-boot : exit code of grub-install :0
  500. mv 25_custom
  501. ls mmcblk0p1/efi: /ubuntu/shimx64.efi /ubuntu/mmx64.efi /ubuntu/grubx64.efi /ubuntu/grub.cfg /ubuntu/fwupx64.efi /ubuntu/fw /ubuntu/fbx64.efi /Microsoft/Boot
  502. df /dev/mmcblk0p1
  503. cp /media/ubuntu/d1a62292-4083-408d-9a2d-680c45f91e1c/boot/efi/EFI/ubuntu/shimx64.efi /media/ubuntu/d1a62292-4083-408d-9a2d-680c45f91e1c/boot/efi/EFI/Microsoft/Boot/bootmgfw.efi (& .grb)
  504. df /dev/mmcblk0p1
  505. cp /media/ubuntu/d1a62292-4083-408d-9a2d-680c45f91e1c/boot/efi/EFI/ubuntu/shimx64.efi /media/ubuntu/d1a62292-4083-408d-9a2d-680c45f91e1c/boot/efi/EFI/Microsoft/Boot/bootx64.efi (& .grb)
  506. df /dev/mmcblk0p1
  507. cp /media/ubuntu/d1a62292-4083-408d-9a2d-680c45f91e1c/boot/efi/EFI/ubuntu/shimx64.efi /media/ubuntu/d1a62292-4083-408d-9a2d-680c45f91e1c/boot/efi/EFI/Boot/bootx64.efi (& .grb)
  508. ls mmcblk0p1/efi: /Microsoft/Boot/bootx64.efi.grb /Microsoft/Boot/bootx64.efi /Microsoft/Boot/bootmgfw.efi.grb /Microsoft/Boot/bootmgfw.efi /ubuntu/shimx64.efi /ubuntu/mmx64.efi /ubuntu/grubx64.efi /ubuntu/grub.cfg /ubuntu/fwupx64.efi /ubuntu/fw /ubuntu/fbx64.efi /Microsoft/Boot /Boot/bootx64.efi.grb /Boot/bootx64.efi
  509. Add /media/ubuntu/d1a62292-4083-408d-9a2d-680c45f91e1c/boot/efi efi entries in /media/ubuntu/d1a62292-4083-408d-9a2d-680c45f91e1c/etc/grub.d/25_custom
  510. Adding custom /media/ubuntu/d1a62292-4083-408d-9a2d-680c45f91e1c/boot/efi/EFI/ubuntu/fbx64.efi
  511. Adding custom /media/ubuntu/d1a62292-4083-408d-9a2d-680c45f91e1c/boot/efi/EFI/ubuntu/fwupx64.efi
  512. Adding custom /media/ubuntu/d1a62292-4083-408d-9a2d-680c45f91e1c/boot/efi/EFI/ubuntu/mmx64.efi
  513. chroot /media/ubuntu/d1a62292-4083-408d-9a2d-680c45f91e1c efibootmgr -v
  514. BootCurrent: 0000
  515. Timeout: 0 seconds
  516. BootOrder: 0004,2001,2002,2003
  517. Boot0000* USB HDD: SanDisk PciRoot(0x0)/Pci(0x14,0x0)/USB(1,0)/HD(1,MBR,0x0,0x20,0x7757e0)RC
  518. Boot0001* Unknown Device: HD(1,GPT,7bdafb5e-09ee-4a66-823d-22d92626d584,0x800,0x100000)/File(EFIubuntushimx64.efi)RC
  519. Boot0002* Unknown Device: FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(c57ad6b7-0515-40a8-9d21-551652854e37)RC...0
  520. Boot0003* Unknown Device: FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(c57ad6b7-0515-40a8-9d21-551652854e37)RC...0
  521. Boot0004* ubuntu HD(1,GPT,7bdafb5e-09ee-4a66-823d-22d92626d584,0x800,0x100000)/File(EFIubuntushimx64.efi)
  522. Boot2001* EFI USB Device RC
  523. Boot2003* EFI Network RC
  524. chroot /media/ubuntu/d1a62292-4083-408d-9a2d-680c45f91e1c update-grub
  525. Generating grub configuration file ...
  526. Found linux image: /boot/vmlinuz-4.8.0-46-generic
  527. Found initrd image: /boot/initrd.img-4.8.0-46-generic
  528. Found linux image: /boot/vmlinuz-4.8.0-36-generic
  529. Found initrd image: /boot/initrd.img-4.8.0-36-generic
  530. Adding boot menu entry for EFI firmware configuration
  531. mount: /dev/mmcblk0 is already mounted or /mnt/boot-sav/mmcblk0 busy
  532. mount /dev/mmcblk0 : Error code 32
  533. mount -r /dev/mmcblk0 /mnt/boot-sav/mmcblk0
  534. mount: /dev/mmcblk0 is already mounted or /mnt/boot-sav/mmcblk0 busy
  535. mount -r /dev/mmcblk0 : Error code 32
  536. Unhide GRUB boot menu in mmcblk0p2/boot/grub/grub.cfg
  537. Boot successfully repaired.
  538. You can now reboot your computer.
  539. Please do not forget to make your BIOS boot on mmcblk0 (31.3GB) disk!
  540. paste.ubuntu.com ko (), using paste.debian
  541. paste.debian.net ko (), using paste2