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 16:14 mmc-HBG4e__0x4e813ef6 -> ../../mmcblk0
  33. lrwxrwxrwx 1 root root 15 Apr 21 16:14 mmc-HBG4e__0x4e813ef6-part1 -> ../../mmcblk0p1
  34. lrwxrwxrwx 1 root root 15 Apr 21 16:14 mmc-HBG4e__0x4e813ef6-part2 -> ../../mmcblk0p2
  35. lrwxrwxrwx 1 root root 15 Apr 21 16:14 mmc-HBG4e__0x4e813ef6-part3 -> ../../mmcblk0p3
  36. lrwxrwxrwx 1 root root 9 Apr 21 16:27 usb-SanDisk_Cruzer_Blade_200607741007667201DB-0:0 -> ../../sda
  37. lrwxrwxrwx 1 root root 10 Apr 21 16: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/5313/mounts) leaked on lvs invocation. Parent PID 15508: bash
  110. File descriptor 63 (pipe:[39423]) leaked on lvs invocation. Parent PID 15508: bash
  111. ADDITIONAL INFORMATION :
  112. =================== log of boot-repair 2017-04-21__16h27 ===================
  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. =================== /media/ubuntu/d1a62292-4083-408d-9a2d-680c45f91e1c/etc/grub.d/ :
  154. drwxr-xr-x 2 root root 4096 Apr 21 16:09 grub.d
  155. total 80
  156. -rwxr-xr-x 1 root root 9791 Jan 13 16:26 00_header
  157. -rwxr-xr-x 1 root root 6258 Mar 15 2016 05_debian_theme
  158. -rwxr-xr-x 1 root root 12512 Mar 24 06:32 10_linux
  159. -rwxr-xr-x 1 root root 11082 Jan 13 16:26 20_linux_xen
  160. -rwxr-xr-x 1 root root 1992 Jan 28 2016 20_memtest86+
  161. -rwxr-xr-x 1 root root 11692 Jan 13 16:26 30_os-prober
  162. -rwxr-xr-x 1 root root 1418 Jan 13 16:26 30_uefi-firmware
  163. -rwxr-xr-x 1 root root 214 Jan 13 16:26 40_custom
  164. -rwxr-xr-x 1 root root 216 Jan 13 16:26 41_custom
  165. -rw-r--r-- 1 root root 483 Jan 13 16:26 README
  166. =================== /media/ubuntu/d1a62292-4083-408d-9a2d-680c45f91e1c/etc/default/grub :
  167. # If you change this file, run 'update-grub' afterwards to update
  168. # /boot/grub/grub.cfg.
  169. # For full documentation of the options in this file, see:
  170. # info -f grub -n 'Simple configuration'
  171. GRUB_DEFAULT=0
  172. GRUB_HIDDEN_TIMEOUT=0
  173. GRUB_HIDDEN_TIMEOUT_QUIET=true
  174. GRUB_TIMEOUT=10
  175. GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
  176. GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
  177. GRUB_CMDLINE_LINUX=""
  178. # Uncomment to enable BadRAM filtering, modify to suit your needs
  179. # This works with Linux (no patch required) and with any kernel that obtains
  180. # the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
  181. #GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
  182. # Uncomment to disable graphical terminal (grub-pc only)
  183. #GRUB_TERMINAL=console
  184. # The resolution used on graphical terminal
  185. # note that you can use only modes which your graphic card supports via VBE
  186. # you can see them in real GRUB with the command `vbeinfo'
  187. #GRUB_GFXMODE=640x480
  188. # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
  189. #GRUB_DISABLE_LINUX_UUID=true
  190. # Uncomment to disable generation of recovery mode menu entries
  191. #GRUB_DISABLE_RECOVERY="true"
  192. # Uncomment to get a beep at grub start
  193. #GRUB_INIT_TUNE="480 440 1"
  194. /boot/efi detected in the fstab of mmcblk0p2: UUID=C00F-1D6C (mmcblk0p1)
  195. =================== efibootmgr -v
  196. BootCurrent: 0001
  197. Timeout: 0 seconds
  198. BootOrder: 2001,2002,2003
  199. Boot0000* Unknown Device: HD(1,GPT,ac54ce17-6c5d-41a0-ac4f-3a8f1ede0e4a,0x800,0x100000)/File(EFIubuntushimx64.efi)RC
  200. Boot0001* USB HDD: SanDisk PciRoot(0x0)/Pci(0x14,0x0)/USB(0,0)/HD(1,MBR,0x0,0x20,0x7757e0)RC
  201. Boot0002* Unknown Device: FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(c57ad6b7-0515-40a8-9d21-551652854e37)RC...0
  202. Boot0003* Unknown Device: FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(c57ad6b7-0515-40a8-9d21-551652854e37)RC...0
  203. Boot0004* ubuntu HD(1,GPT,7bdafb5e-09ee-4a66-823d-22d92626d584,0x800,0x100000)/File(EFIubuntushimx64.efi)
  204. Boot2001* EFI USB Device RC
  205. Boot2003* EFI Network RC
  206. =================== UEFI/Legacy mode:
  207. BIOS is EFI-compatible, and is setup in EFI-mode for this live-session.
  208. SecureBoot enabled.
  209. =================== PARTITIONS & DISKS:
  210. 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.
  211. 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.
  212. 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.
  213. mmcblk0 : GPT, no-BIOS_boot, has-correctEFI, not-usb, has-os, 1 sectors * 512 bytes
  214. sda : not-GPT, BIOSboot-not-needed, has-no-EFIpart, usb-disk, no-os, 32 sectors * 512 bytes
  215. =================== parted -l:
  216. Model: SanDisk Cruzer Blade (scsi)
  217. Disk /dev/sda: 4005MB
  218. Sector size (logical/physical): 512B/512B
  219. Partition Table: msdos
  220. Disk Flags:
  221. Number Start End Size Type File system Flags
  222. 1 16.4kB 4005MB 4004MB primary fat32 boot
  223. Model: Generic SD/MMC Storage Card (sd/mmc)
  224. Disk /dev/mmcblk0rpmb: 4194kB
  225. Sector size (logical/physical): 512B/512B
  226. Partition Table: unknown
  227. Disk Flags:
  228. Model: Generic SD/MMC Storage Card (sd/mmc)
  229. Disk /dev/mmcblk0boot0: 4194kB
  230. Sector size (logical/physical): 512B/512B
  231. Partition Table: unknown
  232. Disk Flags:
  233. Model: Generic SD/MMC Storage Card (sd/mmc)
  234. Disk /dev/mmcblk0boot1: 4194kB
  235. Sector size (logical/physical): 512B/512B
  236. Partition Table: unknown
  237. Disk Flags:
  238. Model: MMC HBG4e (sd/mmc)
  239. Disk /dev/mmcblk0: 31.3GB
  240. Sector size (logical/physical): 512B/512B
  241. Partition Table: gpt
  242. Disk Flags:
  243. Number Start End Size File system Name Flags
  244. 1 1049kB 538MB 537MB fat32 EFI System Partition boot, esp
  245. 2 538MB 29.2GB 28.7GB ext4
  246. 3 29.2GB 31.3GB 2055MB linux-swap(v1)
  247. =================== parted -lm:
  248. BYT;
  249. /dev/sda:4005MB:scsi:512:512:msdos:SanDisk Cruzer Blade:;
  250. 1:16.4kB:4005MB:4004MB:fat32::boot;
  251. BYT;
  252. /dev/mmcblk0rpmb:4194kB:sd/mmc:512:512:unknown:Generic SD/MMC Storage Card:;
  253. BYT;
  254. /dev/mmcblk0boot0:4194kB:sd/mmc:512:512:unknown:Generic SD/MMC Storage Card:;
  255. BYT;
  256. /dev/mmcblk0boot1:4194kB:sd/mmc:512:512:unknown:Generic SD/MMC Storage Card:;
  257. BYT;
  258. /dev/mmcblk0:31.3GB:sd/mmc:512:512:gpt:MMC HBG4e:;
  259. 1:1049kB:538MB:537MB:fat32:EFI System Partition:boot, esp;
  260. 2:538MB:29.2GB:28.7GB:ext4::;
  261. 3:29.2GB:31.3GB:2055MB:linux-swap(v1)::;
  262. =================== lsblk:
  263. KNAME TYPE FSTYPE SIZE LABEL
  264. mmcblk0rpmb disk 4M
  265. mmcblk0boot0 disk 4M
  266. loop0 loop squashfs 1.4G
  267. sda disk 3.7G
  268. sda1 part vfat 3.7G
  269. mmcblk0boot1 disk 4M
  270. mmcblk0 disk 29.1G
  271. mmcblk0p2 part ext4 26.7G
  272. mmcblk0p3 part swap 1.9G
  273. mmcblk0p1 part vfat 512M
  274. KNAME ROTA RO RM STATE MOUNTPOINT
  275. mmcblk0rpmb 0 0 0
  276. mmcblk0boot0 0 1 0
  277. loop0 1 1 0 /rofs
  278. sda 1 0 1 running
  279. sda1 1 0 1 /cdrom
  280. mmcblk0boot1 0 1 0
  281. mmcblk0 0 0 0
  282. mmcblk0p2 0 0 0 /media/ubuntu/d1a62292-4083-408d-9a2d-680c45f91e1c
  283. mmcblk0p3 0 0 0
  284. mmcblk0p1 0 0 0 /mnt/boot-sav/mmcblk0p1
  285. =================== mount:
  286. sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
  287. proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
  288. udev on /dev type devtmpfs (rw,nosuid,relatime,size=963464k,nr_inodes=240866,mode=755)
  289. devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
  290. tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=195812k,mode=755)
  291. /dev/sda1 on /cdrom type vfat (ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
  292. /dev/loop0 on /rofs type squashfs (ro,noatime)
  293. aufs on / type aufs (rw,noatime,si=58803b89b308d77b)
  294. securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
  295. tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
  296. tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
  297. tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
  298. cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd)
  299. pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
  300. efivarfs on /sys/firmware/efi/efivars type efivarfs (rw,nosuid,nodev,noexec,relatime)
  301. cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
  302. cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
  303. cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
  304. cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb)
  305. cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
  306. cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
  307. cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
  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/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
  310. cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
  311. systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=29,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=11220)
  312. mqueue on /dev/mqueue type mqueue (rw,relatime)
  313. hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
  314. debugfs on /sys/kernel/debug type debugfs (rw,relatime)
  315. tracefs on /sys/kernel/debug/tracing type tracefs (rw,relatime)
  316. fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
  317. tmpfs on /tmp type tmpfs (rw,nosuid,nodev,relatime)
  318. tmpfs on /run/user/999 type tmpfs (rw,nosuid,nodev,relatime,size=195812k,mode=700,uid=999,gid=999)
  319. gvfsd-fuse on /run/user/999/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=999,group_id=999)
  320. /dev/mmcblk0p2 on /media/ubuntu/d1a62292-4083-408d-9a2d-680c45f91e1c type ext4 (rw,nosuid,nodev,relatime,data=ordered,uhelper=udisks2)
  321. /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)
  322. =================== ls:
  323. /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
  324. /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
  325. /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
  326. /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
  327. /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
  328. /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
  329. ls /dev/mapper: control
  330. =================== hexdump -n512 -C /dev/mmcblk0p1
  331. 00000000 eb 58 90 6d 6b 66 73 2e 66 61 74 00 02 08 20 00 |.X.mkfs.fat... .|
  332. 00000010 02 00 00 00 00 f8 00 00 10 00 04 00 00 08 00 00 |................|
  333. 00000020 00 00 10 00 00 04 00 00 00 00 00 00 02 00 00 00 |................|
  334. 00000030 01 00 06 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  335. 00000040 80 01 29 6c 1d 0f c0 4e 4f 20 4e 41 4d 45 20 20 |..)l...NO NAME |
  336. 00000050 20 20 46 41 54 33 32 20 20 20 0e 1f be 77 7c ac | FAT32 ...w|.|
  337. 00000060 22 c0 74 0b 56 b4 0e bb 07 00 cd 10 5e eb f0 32 |".t.V.......^..2|
  338. 00000070 e4 cd 16 cd 19 eb fe 54 68 69 73 20 69 73 20 6e |.......This is n|
  339. 00000080 6f 74 20 61 20 62 6f 6f 74 61 62 6c 65 20 64 69 |ot a bootable di|
  340. 00000090 73 6b 2e 20 20 50 6c 65 61 73 65 20 69 6e 73 65 |sk. Please inse|
  341. 000000a0 72 74 20 61 20 62 6f 6f 74 61 62 6c 65 20 66 6c |rt a bootable fl|
  342. 000000b0 6f 70 70 79 20 61 6e 64 0d 0a 70 72 65 73 73 20 |oppy and..press |
  343. 000000c0 61 6e 79 20 6b 65 79 20 74 6f 20 74 72 79 20 61 |any key to try a|
  344. 000000d0 67 61 69 6e 20 2e 2e 2e 20 0d 0a 00 00 00 00 00 |gain ... .......|
  345. 000000e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  346. *
  347. 000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.|
  348. 00000200
  349. =================== df -Th:
  350. Filesystem Type Size Used Avail Use% Mounted on
  351. udev devtmpfs 941M 0 941M 0% /dev
  352. tmpfs tmpfs 192M 6.3M 185M 4% /run
  353. /dev/sda1 vfat 3.8G 1.7G 2.1G 46% /cdrom
  354. /dev/loop0 squashfs 1.4G 1.4G 0 100% /rofs
  355. aufs aufs 957M 49M 908M 6% /
  356. tmpfs tmpfs 957M 172K 956M 1% /dev/shm
  357. tmpfs tmpfs 5.0M 4.0K 5.0M 1% /run/lock
  358. tmpfs tmpfs 957M 0 957M 0% /sys/fs/cgroup
  359. tmpfs tmpfs 957M 24K 957M 1% /tmp
  360. tmpfs tmpfs 192M 80K 192M 1% /run/user/999
  361. /dev/mmcblk0p2 ext4 27G 4.4G 21G 18% /media/ubuntu/d1a62292-4083-408d-9a2d-680c45f91e1c
  362. /dev/mmcblk0p1 vfat 511M 3.5M 508M 1% /mnt/boot-sav/mmcblk0p1
  363. =================== fdisk -l:
  364. Disk /dev/ram0: 64 MiB, 67108864 bytes, 131072 sectors
  365. Units: sectors of 1 * 512 = 512 bytes
  366. Sector size (logical/physical): 512 bytes / 4096 bytes
  367. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  368. Disk /dev/ram1: 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/ram2: 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/ram3: 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/ram4: 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/ram5: 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/ram6: 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/ram7: 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/ram8: 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/ram9: 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/ram10: 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/ram11: 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/ram12: 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/ram13: 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/ram14: 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/ram15: 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/loop0: 1.4 GiB, 1497772032 bytes, 2925336 sectors
  429. Units: sectors of 1 * 512 = 512 bytes
  430. Sector size (logical/physical): 512 bytes / 512 bytes
  431. I/O size (minimum/optimal): 512 bytes / 512 bytes
  432. Disk /dev/mmcblk0: 29.1 GiB, 31272730624 bytes, 61079552 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. Disklabel type: gpt
  437. Disk identifier: 7AB225E7-52FF-47AB-AF36-79817D6B403B
  438. Device Start End Sectors Size Type
  439. /dev/mmcblk0p1 2048 1050623 1048576 512M EFI System
  440. /dev/mmcblk0p2 1050624 57063423 56012800 26.7G Linux filesystem
  441. /dev/mmcblk0p3 57063424 61077503 4014080 1.9G Linux swap
  442. Disk /dev/mmcblk0boot1: 4 MiB, 4194304 bytes, 8192 sectors
  443. Units: sectors of 1 * 512 = 512 bytes
  444. Sector size (logical/physical): 512 bytes / 512 bytes
  445. I/O size (minimum/optimal): 512 bytes / 512 bytes
  446. Disk /dev/mmcblk0boot0: 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/sda: 3.7 GiB, 4004511744 bytes, 7821312 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. Disklabel type: dos
  455. Disk identifier: 0x00000000
  456. Device Boot Start End Sectors Size Id Type
  457. /dev/sda1 * 32 7821311 7821280 3.7G b W95 FAT32
  458. =================== Default settings of Boot Repair
  459. The default repair of the Boot-Repair utility would reinstall the grub-efi-amd64-signed of mmcblk0p2, using the following options: mmcblk0p1/boot/efi,
  460. Additional repair would be performed: unhide-bootmenu-10s use-standard-efi-file rename-ms-efi
  461. =================== Final advice in case of suggested repair
  462. Please do not forget to make your BIOS boot on mmcblk0 (31.3GB) disk!
  463. =================== User settings
  464. The settings chosen by the user will reinstall the grub-efi-amd64-signed of mmcblk0p2, using the following options: mmcblk0p1/boot/efi,
  465. Additional repair will be performed: unhide-bootmenu-10s use-standard-efi-file rename-ms-efi
  466. /boot/efi added in mmcblk0p2/fstab
  467. Mount mmcblk0p1 on /media/ubuntu/d1a62292-4083-408d-9a2d-680c45f91e1c/boot/efi
  468. ls mmcblk0p1/efi: /ubuntu/shimx64.efi /ubuntu/mmx64.efi /ubuntu/grubx64.efi /ubuntu/grub.cfg /ubuntu/fwupx64.efi /ubuntu/fw /ubuntu/fbx64.efi
  469. Unhide GRUB boot menu in mmcblk0p2/etc/default/grub
  470. *******lspci -nnk | grep -iA3 vga
  471. 00:02.0 VGA compatible controller [0300]: Intel Corporation Device [8086:22b1] (rev 35)
  472. Subsystem: Acer Incorporated [ALI] Device [1025:106d]
  473. Kernel driver in use: i915
  474. Kernel modules: i915
  475. *******
  476. grub-install --version
  477. grub-install (GRUB) 2.02~beta2-36ubuntu3.9,grub-install (GRUB) 2.
  478. chroot /media/ubuntu/d1a62292-4083-408d-9a2d-680c45f91e1c efibootmgr -v
  479. BootCurrent: 0001
  480. Timeout: 0 seconds
  481. BootOrder: 2001,2002,2003
  482. Boot0000* Unknown Device: HD(1,GPT,ac54ce17-6c5d-41a0-ac4f-3a8f1ede0e4a,0x800,0x100000)/File(EFIubuntushimx64.efi)RC
  483. Boot0001* USB HDD: SanDisk PciRoot(0x0)/Pci(0x14,0x0)/USB(0,0)/HD(1,MBR,0x0,0x20,0x7757e0)RC
  484. Boot0002* Unknown Device: FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(c57ad6b7-0515-40a8-9d21-551652854e37)RC...0
  485. Boot0003* Unknown Device: FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(c57ad6b7-0515-40a8-9d21-551652854e37)RC...0
  486. Boot0004* ubuntu HD(1,GPT,7bdafb5e-09ee-4a66-823d-22d92626d584,0x800,0x100000)/File(EFIubuntushimx64.efi)
  487. Boot2001* EFI USB Device RC
  488. Boot2003* EFI Network RC
  489. chroot /media/ubuntu/d1a62292-4083-408d-9a2d-680c45f91e1c uname -r
  490. Kernel: 4.8.0-36-generic
  491. Reinstall the grub-efi-amd64-signed of mmcblk0p2
  492. Installing for x86_64-efi platform.
  493. Installation finished. No error reported.
  494. grub-install --efi-directory=/boot/efi --target=x86_64-efi --uefi-secure-boot : exit code of grub-install :0
  495. ls mmcblk0p1/efi: /ubuntu/shimx64.efi /ubuntu/mmx64.efi /ubuntu/grubx64.efi /ubuntu/grub.cfg /ubuntu/fwupx64.efi /ubuntu/fw /ubuntu/fbx64.efi
  496. df /dev/mmcblk0p1
  497. 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)
  498. df /dev/mmcblk0p1
  499. 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)
  500. df /dev/mmcblk0p1
  501. 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)
  502. 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
  503. 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
  504. Adding custom /media/ubuntu/d1a62292-4083-408d-9a2d-680c45f91e1c/boot/efi/EFI/ubuntu/fbx64.efi
  505. Adding custom /media/ubuntu/d1a62292-4083-408d-9a2d-680c45f91e1c/boot/efi/EFI/ubuntu/fwupx64.efi
  506. Adding custom /media/ubuntu/d1a62292-4083-408d-9a2d-680c45f91e1c/boot/efi/EFI/ubuntu/mmx64.efi
  507. chroot /media/ubuntu/d1a62292-4083-408d-9a2d-680c45f91e1c efibootmgr -v
  508. BootCurrent: 0001
  509. Timeout: 0 seconds
  510. BootOrder: 0004,2001,2002,2003
  511. Boot0000* Unknown Device: HD(1,GPT,ac54ce17-6c5d-41a0-ac4f-3a8f1ede0e4a,0x800,0x100000)/File(EFIubuntushimx64.efi)RC
  512. Boot0001* USB HDD: SanDisk PciRoot(0x0)/Pci(0x14,0x0)/USB(0,0)/HD(1,MBR,0x0,0x20,0x7757e0)RC
  513. Boot0002* Unknown Device: FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(c57ad6b7-0515-40a8-9d21-551652854e37)RC...0
  514. Boot0003* Unknown Device: FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(c57ad6b7-0515-40a8-9d21-551652854e37)RC...0
  515. Boot0004* ubuntu HD(1,GPT,7bdafb5e-09ee-4a66-823d-22d92626d584,0x800,0x100000)/File(EFIubuntushimx64.efi)
  516. Boot2001* EFI USB Device RC
  517. Boot2003* EFI Network RC
  518. chroot /media/ubuntu/d1a62292-4083-408d-9a2d-680c45f91e1c update-grub
  519. Generating grub configuration file ...
  520. Found linux image: /boot/vmlinuz-4.8.0-46-generic
  521. Found initrd image: /boot/initrd.img-4.8.0-46-generic
  522. Found linux image: /boot/vmlinuz-4.8.0-36-generic
  523. Found initrd image: /boot/initrd.img-4.8.0-36-generic
  524. Adding boot menu entry for EFI firmware configuration
  525. mount: /dev/mmcblk0 is already mounted or /mnt/boot-sav/mmcblk0 busy
  526. mount /dev/mmcblk0 : Error code 32
  527. mount -r /dev/mmcblk0 /mnt/boot-sav/mmcblk0
  528. mount: /dev/mmcblk0 is already mounted or /mnt/boot-sav/mmcblk0 busy
  529. mount -r /dev/mmcblk0 : Error code 32
  530. Unhide GRUB boot menu in mmcblk0p2/boot/grub/grub.cfg
  531. Boot successfully repaired.
  532. You can now reboot your computer.
  533. Please do not forget to make your BIOS boot on mmcblk0 (31.3GB) disk!
  534. paste.ubuntu.com ko (), using paste.debian
  535. paste.debian.net ko (), using paste2