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
  7. Boot sector info: Syslinux looks at sector 32800 of /dev/sda1 for its
  8. second stage. The integrity check of Syslinux failed.
  9. No errors found in the Boot Parameter Block.
  10. Operating System:
  11. Boot files: /boot/grub/grub.cfg /syslinux.cfg /casper/vmlinuz.efi
  12. /EFI/BOOT/grubx64.efi /ldlinux.sys
  13. ============================ Drive/Partition Info: =============================
  14. Drive: sda _____________________________________________________________________
  15. Disk /dev/sda: 14.4 GiB, 15487991808 bytes, 30249984 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 * 2,048 30,249,983 30,247,936 c W95 FAT32 (LBA)
  22. "blkid" output: ________________________________________________________________
  23. Device UUID TYPE LABEL
  24. /dev/loop0 squashfs
  25. /dev/mmcblk0
  26. /dev/mmcblk0p1 4AD6-924C vfat
  27. /dev/mmcblk0p2 05848349-8089-4cd9-a075-2cefb3d06d76 ext4
  28. /dev/mmcblk0p3 4fdc23d6-d10d-47a0-8012-91dd04fb5d53 swap
  29. /dev/sda1 C447-9EB9 vfat LUBUNTU 16_
  30. /dev/zram0 30c3d2de-412f-4765-8a7f-08fcf7c1a4f4 swap
  31. /dev/zram1 ec22aafe-277b-478f-84be-deb55c5c6991 swap
  32. ========================= "ls -l /dev/disk/by-id" output: ======================
  33. total 0
  34. lrwxrwxrwx 1 root root 13 Dec 11 18:11 mmc-SDW32G_0xb9e24bb0 -> ../../mmcblk0
  35. lrwxrwxrwx 1 root root 15 Dec 11 18:11 mmc-SDW32G_0xb9e24bb0-part1 -> ../../mmcblk0p1
  36. lrwxrwxrwx 1 root root 15 Dec 11 18:11 mmc-SDW32G_0xb9e24bb0-part2 -> ../../mmcblk0p2
  37. lrwxrwxrwx 1 root root 15 Dec 11 18:11 mmc-SDW32G_0xb9e24bb0-part3 -> ../../mmcblk0p3
  38. lrwxrwxrwx 1 root root 9 Dec 11 18:39 usb-Verbatim_STORE_N_GO_0701579DA2048127-0:0 -> ../../sda
  39. lrwxrwxrwx 1 root root 10 Dec 11 18:39 usb-Verbatim_STORE_N_GO_0701579DA2048127-0:0-part1 -> ../../sda1
  40. ================================ Mount points: =================================
  41. Device Mount_Point Type Options
  42. /dev/loop0 /rofs squashfs (ro,noatime)
  43. /dev/mmcblk0p2 /media/lubuntu/05848349-8089-4cd9-a075-2cefb3d06d76 ext4 (rw,nosuid,nodev,relatime,data=ordered,uhelper=udisks2)
  44. /dev/sda1 /cdrom vfat (ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
  45. =========================== sda1/boot/grub/grub.cfg: ===========================
  46. --------------------------------------------------------------------------------
  47. if loadfont /boot/grub/font.pf2 ; then
  48. set gfxmode=auto
  49. insmod efi_gop
  50. insmod efi_uga
  51. insmod gfxterm
  52. terminal_output gfxterm
  53. fi
  54. set menu_color_normal=white/black
  55. set menu_color_highlight=black/light-gray
  56. menuentry "Try Lubuntu without installing" {
  57. set gfxpayload=keep
  58. linux /casper/vmlinuz.efi file=/cdrom/preseed/lubuntu.seed boot=casper quiet splash ---
  59. initrd /casper/initrd.lz
  60. }
  61. menuentry "Install Lubuntu" {
  62. set gfxpayload=keep
  63. linux /casper/vmlinuz.efi file=/cdrom/preseed/lubuntu.seed boot=casper only-ubiquity quiet splash ---
  64. initrd /casper/initrd.lz
  65. }
  66. menuentry "OEM install (for manufacturers)" {
  67. set gfxpayload=keep
  68. linux /casper/vmlinuz.efi file=/cdrom/preseed/lubuntu.seed boot=casper only-ubiquity quiet splash oem-config/enable=true ---
  69. initrd /casper/initrd.lz
  70. }
  71. menuentry "Check disc for defects" {
  72. set gfxpayload=keep
  73. linux /casper/vmlinuz.efi boot=casper integrity-check quiet splash ---
  74. initrd /casper/initrd.lz
  75. }
  76. --------------------------------------------------------------------------------
  77. ============================== sda1/syslinux.cfg: ==============================
  78. --------------------------------------------------------------------------------
  79. DEFAULT loadconfig
  80. LABEL loadconfig
  81. CONFIG /isolinux/isolinux.cfg
  82. APPEND /isolinux/
  83. --------------------------------------------------------------------------------
  84. =================== sda1: Location of files loaded by Grub: ====================
  85. GiB - GB File Fragment(s)
  86. ?? = ?? boot/grub/grub.cfg 1
  87. ================= sda1: Location of files loaded by Syslinux: ==================
  88. GiB - GB File Fragment(s)
  89. ?? = ?? syslinux.cfg 1
  90. ?? = ?? ldlinux.sys 1
  91. ADDITIONAL INFORMATION :
  92. =================== log of boot-repair 2016-12-11__18h38 ===================
  93. boot-repair version : 4ppa40
  94. boot-sav version : 4ppa40
  95. glade2script version : 3.2.3~ppa1
  96. boot-sav-extra version : 4ppa40
  97. Error: /dev/mmcblk0rpmb: unrecognised disk label
  98. Warning: Error fsyncing/closing /dev/mmcblk0rpmb: Input/output error
  99. Error: /dev/mmcblk0boot0: unrecognised disk label
  100. Error: /dev/mmcblk0boot1: unrecognised disk label
  101. Error: /dev/mmcblk0rpmb: unrecognised disk label
  102. Warning: Error fsyncing/closing /dev/mmcblk0rpmb: Input/output error
  103. Error: /dev/mmcblk0boot0: unrecognised disk label
  104. Error: /dev/mmcblk0boot1: unrecognised disk label
  105. boot-repair is executed in live-session (Ubuntu 16.10, yakkety, Ubuntu, x86_64)
  106. CPU op-mode(s): 32-bit, 64-bit
  107. BOOT_IMAGE=/casper/vmlinuz.efi file=/cdrom/preseed/lubuntu.seed boot=casper quiet splash ---
  108. ls: cannot access '/home/usr/.config': No such file or directory
  109. mmcblk0 (sda) has unknown type. Please report this message to [email protected]
  110. mount: /dev/mmcblk0 is already mounted or /mnt/boot-sav/mmcblk0 busy
  111. mount /dev/mmcblk0 : Error code 32
  112. mount -r /dev/mmcblk0 /mnt/boot-sav/mmcblk0
  113. mount: /dev/mmcblk0 is already mounted or /mnt/boot-sav/mmcblk0 busy
  114. mount -r /dev/mmcblk0 : Error code 32
  115. cat: /sys/block/mmcblk0/mmcblk0boot0/start: No such file or directory
  116. cat: /sys/block/mmcblk0/mmcblk0boot1/start: No such file or directory
  117. cat: /sys/block/mmcblk0/mmcblk0rpmb/start: No such file or directory
  118. =================== os-prober:
  119. /dev/mmcblk0p2:Ubuntu 16.10 (16.10):Ubuntu:linux
  120. =================== blkid:
  121. /dev/mmcblk0p1: UUID="4AD6-924C" TYPE="vfat" PARTLABEL="EFI System Partition" PARTUUID="1e17a19d-8239-4d8a-9c02-d0e45fa9054b"
  122. /dev/mmcblk0p2: UUID="05848349-8089-4cd9-a075-2cefb3d06d76" TYPE="ext4" PARTUUID="6c88b0f3-0251-4acd-b180-587678a087dd"
  123. /dev/sda1: LABEL="LUBUNTU 16_" UUID="C447-9EB9" TYPE="vfat" PARTUUID="00274a69-01"
  124. /dev/loop0: TYPE="squashfs"
  125. /dev/mmcblk0p3: UUID="4fdc23d6-d10d-47a0-8012-91dd04fb5d53" TYPE="swap" PARTUUID="c904ee72-a3c5-4369-a6ec-427d1fc11d4c"
  126. /dev/zram0: UUID="30c3d2de-412f-4765-8a7f-08fcf7c1a4f4" TYPE="swap"
  127. /dev/zram1: UUID="ec22aafe-277b-478f-84be-deb55c5c6991" TYPE="swap"
  128. /dev/mmcblk0: PTUUID="d441ab84-00b4-49d5-9814-b87460ad594f" PTTYPE="gpt"
  129. 1 disks with OS, 1 OS : 1 Linux, 0 MacOS, 0 Windows, 0 unknown type OS.
  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. =================== /media/lubuntu/05848349-8089-4cd9-a075-2cefb3d06d76/etc/grub.d/ :
  136. drwxr-xr-x 2 root root 4096 Oct 12 19:29 grub.d
  137. total 76
  138. -rwxr-xr-x 1 root root 9791 Sep 6 14:10 00_header
  139. -rwxr-xr-x 1 root root 6258 Mar 15 2016 05_debian_theme
  140. -rwxr-xr-x 1 root root 12261 Sep 6 14:10 10_linux
  141. -rwxr-xr-x 1 root root 11082 Sep 6 14:10 20_linux_xen
  142. -rwxr-xr-x 1 root root 1992 Jan 28 2016 20_memtest86+
  143. -rwxr-xr-x 1 root root 11692 Sep 6 14:10 30_os-prober
  144. -rwxr-xr-x 1 root root 1418 Sep 6 14:10 30_uefi-firmware
  145. -rwxr-xr-x 1 root root 214 Sep 6 14:10 40_custom
  146. -rwxr-xr-x 1 root root 216 Sep 6 14:10 41_custom
  147. -rw-r--r-- 1 root root 483 Sep 6 14:10 README
  148. =================== /media/lubuntu/05848349-8089-4cd9-a075-2cefb3d06d76/etc/default/grub :
  149. # If you change this file, run 'update-grub' afterwards to update
  150. # /boot/grub/grub.cfg.
  151. # For full documentation of the options in this file, see:
  152. # info -f grub -n 'Simple configuration'
  153. GRUB_DEFAULT=0
  154. GRUB_HIDDEN_TIMEOUT=0
  155. GRUB_HIDDEN_TIMEOUT_QUIET=true
  156. GRUB_TIMEOUT=10
  157. GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
  158. GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
  159. GRUB_CMDLINE_LINUX=""
  160. # Uncomment to enable BadRAM filtering, modify to suit your needs
  161. # This works with Linux (no patch required) and with any kernel that obtains
  162. # the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
  163. #GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
  164. # Uncomment to disable graphical terminal (grub-pc only)
  165. #GRUB_TERMINAL=console
  166. # The resolution used on graphical terminal
  167. # note that you can use only modes which your graphic card supports via VBE
  168. # you can see them in real GRUB with the command `vbeinfo'
  169. #GRUB_GFXMODE=640x480
  170. # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
  171. #GRUB_DISABLE_LINUX_UUID=true
  172. # Uncomment to disable generation of recovery mode menu entries
  173. #GRUB_DISABLE_RECOVERY="true"
  174. # Uncomment to get a beep at grub start
  175. #GRUB_INIT_TUNE="480 440 1"
  176. /boot/efi detected in the fstab of mmcblk0p2: UUID=4AD6-924C (mmcblk0p1)
  177. =================== efibootmgr -v
  178. BootCurrent: 0000
  179. Timeout: 0 seconds
  180. BootOrder: 2001,2002,2004
  181. Boot0000* USB Hard Drive (UEFI) - VerbatimSTORE N GO PciRoot(0x0)/Pci(0x14,0x0)/USB(1,0)/HD(1,MBR,0x105,0x800,0x1cd8c00)RC
  182. Boot2001* EFI USB Device RC
  183. Boot2002* EFI DVD/CDROM RC
  184. =================== UEFI/Legacy mode:
  185. BIOS is EFI-compatible, and is setup in EFI-mode for this live-session.
  186. SecureBoot enabled.
  187. =================== PARTITIONS & DISKS:
  188. 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.
  189. mmcblk0p2 : mmcblk0, not-sepboot, no-grubenv grub2, signed grub-pc , 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/lubuntu/05848349-8089-4cd9-a075-2cefb3d06d76.
  190. 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.
  191. mmcblk0 : GPT, no-BIOS_boot, has-correctEFI, not-usb, has-os, 1 sectors * 512 bytes
  192. sda : not-GPT, BIOSboot-not-needed, has-no-EFIpart, usb-disk, no-os, 2048 sectors * 512 bytes
  193. =================== parted -l:
  194. Model: Verbatim STORE N GO (scsi)
  195. Disk /dev/sda: 15.5GB
  196. Sector size (logical/physical): 512B/512B
  197. Partition Table: msdos
  198. Disk Flags:
  199. Number Start End Size Type File system Flags
  200. 1 1049kB 15.5GB 15.5GB primary fat32 boot, lba
  201. Model: Generic SD/MMC Storage Card (sd/mmc)
  202. Disk /dev/mmcblk0rpmb: 4194kB
  203. Sector size (logical/physical): 512B/512B
  204. Partition Table: unknown
  205. Disk Flags:
  206. Model: Unknown (unknown)
  207. Disk /dev/zram1: 487MB
  208. Sector size (logical/physical): 4096B/4096B
  209. Partition Table: loop
  210. Disk Flags:
  211. Number Start End Size File system Flags
  212. 1 0.00B 487MB 487MB linux-swap(v1)
  213. Model: Generic SD/MMC Storage Card (sd/mmc)
  214. Disk /dev/mmcblk0boot0: 4194kB
  215. Sector size (logical/physical): 512B/512B
  216. Partition Table: unknown
  217. Disk Flags:
  218. Model: Unknown (unknown)
  219. Disk /dev/zram0: 487MB
  220. Sector size (logical/physical): 4096B/4096B
  221. Partition Table: loop
  222. Disk Flags:
  223. Number Start End Size File system Flags
  224. 1 0.00B 487MB 487MB linux-swap(v1)
  225. Model: Generic SD/MMC Storage Card (sd/mmc)
  226. Disk /dev/mmcblk0boot1: 4194kB
  227. Sector size (logical/physical): 512B/512B
  228. Partition Table: unknown
  229. Disk Flags:
  230. Model: MMC SDW32G (sd/mmc)
  231. Disk /dev/mmcblk0: 31.3GB
  232. Sector size (logical/physical): 512B/512B
  233. Partition Table: gpt
  234. Disk Flags:
  235. Number Start End Size File system Name Flags
  236. 1 1049kB 538MB 537MB fat32 EFI System Partition boot, esp
  237. 2 538MB 29.3GB 28.7GB ext4
  238. 3 29.3GB 31.3GB 1994MB linux-swap(v1)
  239. =================== parted -lm:
  240. BYT;
  241. /dev/sda:15.5GB:scsi:512:512:msdos:Verbatim STORE N GO:;
  242. 1:1049kB:15.5GB:15.5GB:fat32::boot, lba;
  243. BYT;
  244. /dev/mmcblk0rpmb:4194kB:sd/mmc:512:512:unknown:Generic SD/MMC Storage Card:;
  245. BYT;
  246. /dev/zram1:487MB:unknown:4096:4096:loop:Unknown:;
  247. 1:0.00B:487MB:487MB:linux-swap(v1)::;
  248. BYT;
  249. /dev/mmcblk0boot0:4194kB:sd/mmc:512:512:unknown:Generic SD/MMC Storage Card:;
  250. BYT;
  251. /dev/zram0:487MB:unknown:4096:4096:loop:Unknown:;
  252. 1:0.00B:487MB:487MB:linux-swap(v1)::;
  253. BYT;
  254. /dev/mmcblk0boot1:4194kB:sd/mmc:512:512:unknown:Generic SD/MMC Storage Card:;
  255. BYT;
  256. /dev/mmcblk0:31.3GB:sd/mmc:512:512:gpt:MMC SDW32G:;
  257. 1:1049kB:538MB:537MB:fat32:EFI System Partition:boot, esp;
  258. 2:538MB:29.3GB:28.7GB:ext4::;
  259. 3:29.3GB:31.3GB:1994MB:linux-swap(v1)::;
  260. =================== lsblk:
  261. KNAME TYPE FSTYPE SIZE LABEL
  262. mmcblk0rpmb disk 4M
  263. zram1 disk 464.2M
  264. mmcblk0boot0 disk 4M
  265. loop0 loop squashfs 852.1M
  266. sda disk 14.4G
  267. sda1 part vfat 14.4G LUBUNTU 16_
  268. zram0 disk 464.2M
  269. mmcblk0boot1 disk 4M
  270. mmcblk0 disk 29.1G
  271. mmcblk0p2 part ext4 26.8G
  272. mmcblk0p3 part swap 1.9G
  273. mmcblk0p1 part vfat 512M
  274. KNAME ROTA RO RM STATE MOUNTPOINT
  275. mmcblk0rpmb 0 0 0
  276. zram1 0 0 0 [SWAP]
  277. mmcblk0boot0 0 1 0
  278. loop0 1 1 0 /rofs
  279. sda 1 0 1 running
  280. sda1 1 0 1 /cdrom
  281. zram0 0 0 0 [SWAP]
  282. mmcblk0boot1 0 1 0
  283. mmcblk0 0 0 0
  284. mmcblk0p2 0 0 0 /media/lubuntu/05848349-8089-4cd9-a075-2cefb3d06d76
  285. mmcblk0p3 0 0 0
  286. mmcblk0p1 0 0 0 /mnt/boot-sav/mmcblk0p1
  287. =================== mount:
  288. sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
  289. proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
  290. udev on /dev type devtmpfs (rw,nosuid,relatime,size=934980k,nr_inodes=233745,mode=755)
  291. devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
  292. tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=190116k,mode=755)
  293. /dev/sda1 on /cdrom type vfat (ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
  294. /dev/loop0 on /rofs type squashfs (ro,noatime)
  295. aufs on / type aufs (rw,noatime,si=271d5092548a69c8)
  296. securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
  297. tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
  298. tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
  299. tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
  300. cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd)
  301. pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
  302. efivarfs on /sys/firmware/efi/efivars type efivarfs (rw,nosuid,nodev,noexec,relatime)
  303. cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
  304. cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb)
  305. cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
  306. cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
  307. cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
  308. cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
  309. cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
  310. cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
  311. cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
  312. cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
  313. systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=30,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=11379)
  314. debugfs on /sys/kernel/debug type debugfs (rw,relatime)
  315. mqueue on /dev/mqueue type mqueue (rw,relatime)
  316. hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
  317. tracefs on /sys/kernel/debug/tracing type tracefs (rw,relatime)
  318. fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
  319. tmpfs on /tmp type tmpfs (rw,nosuid,nodev,relatime)
  320. tmpfs on /run/user/999 type tmpfs (rw,nosuid,nodev,relatime,size=190112k,mode=700,uid=999,gid=999)
  321. gvfsd-fuse on /run/user/999/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=999,group_id=999)
  322. /dev/mmcblk0p2 on /media/lubuntu/05848349-8089-4cd9-a075-2cefb3d06d76 type ext4 (rw,nosuid,nodev,relatime,data=ordered,uhelper=udisks2)
  323. /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)
  324. =================== ls:
  325. /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
  326. /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
  327. /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
  328. /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
  329. /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
  330. /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 hpet hugepages hwrng i2c-0 i2c-1 i2c-2 i2c-3 i2c-4 i2c-5 i2c-6 i2c-7 i2c-8 initctl input kmsg lightnvm log mapper mcelog media0 mei0 mem memory_bandwidth mmcblk0 mmcblk0boot0 mmcblk0boot1 mmcblk0p1 mmcblk0p2 mmcblk0p3 mmcblk0rpmb mqueue net network_latency network_throughput null Partition port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sg0 shm snapshot snd stderr stdin stdout System tpm0 uhid uinput urandom userio v4l vfio vga_arbiter vhci vhost-net video0 zero
  331. ls /dev/mapper: control
  332. =================== hexdump -n512 -C /dev/mmcblk0p1
  333. 00000000 eb 58 90 6d 6b 66 73 2e 66 61 74 00 02 08 20 00 |.X.mkfs.fat... .|
  334. 00000010 02 00 00 00 00 f8 00 00 10 00 04 00 00 08 00 00 |................|
  335. 00000020 00 00 10 00 00 04 00 00 00 00 00 00 02 00 00 00 |................|
  336. 00000030 01 00 06 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  337. 00000040 80 01 29 4c 92 d6 4a 4e 4f 20 4e 41 4d 45 20 20 |..)L..JNO NAME |
  338. 00000050 20 20 46 41 54 33 32 20 20 20 0e 1f be 77 7c ac | FAT32 ...w|.|
  339. 00000060 22 c0 74 0b 56 b4 0e bb 07 00 cd 10 5e eb f0 32 |".t.V.......^..2|
  340. 00000070 e4 cd 16 cd 19 eb fe 54 68 69 73 20 69 73 20 6e |.......This is n|
  341. 00000080 6f 74 20 61 20 62 6f 6f 74 61 62 6c 65 20 64 69 |ot a bootable di|
  342. 00000090 73 6b 2e 20 20 50 6c 65 61 73 65 20 69 6e 73 65 |sk. Please inse|
  343. 000000a0 72 74 20 61 20 62 6f 6f 74 61 62 6c 65 20 66 6c |rt a bootable fl|
  344. 000000b0 6f 70 70 79 20 61 6e 64 0d 0a 70 72 65 73 73 20 |oppy and..press |
  345. 000000c0 61 6e 79 20 6b 65 79 20 74 6f 20 74 72 79 20 61 |any key to try a|
  346. 000000d0 67 61 69 6e 20 2e 2e 2e 20 0d 0a 00 00 00 00 00 |gain ... .......|
  347. 000000e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  348. *
  349. 000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.|
  350. 00000200
  351. =================== df -Th:
  352. Filesystem Type Size Used Avail Use% Mounted on
  353. udev devtmpfs 914M 0 914M 0% /dev
  354. tmpfs tmpfs 186M 6.1M 180M 4% /run
  355. /dev/sda1 vfat 15G 900M 14G 7% /cdrom
  356. /dev/loop0 squashfs 853M 853M 0 100% /rofs
  357. aufs aufs 929M 256M 673M 28% /
  358. tmpfs tmpfs 929M 22M 908M 3% /dev/shm
  359. tmpfs tmpfs 5.0M 4.0K 5.0M 1% /run/lock
  360. tmpfs tmpfs 929M 0 929M 0% /sys/fs/cgroup
  361. tmpfs tmpfs 929M 428K 928M 1% /tmp
  362. tmpfs tmpfs 186M 12K 186M 1% /run/user/999
  363. /dev/mmcblk0p2 ext4 27G 3.2G 22G 13% /media/lubuntu/05848349-8089-4cd9-a075-2cefb3d06d76
  364. /dev/mmcblk0p1 vfat 511M 80K 511M 1% /mnt/boot-sav/mmcblk0p1
  365. =================== fdisk -l:
  366. Disk /dev/ram0: 64 MiB, 67108864 bytes, 131072 sectors
  367. Units: sectors of 1 * 512 = 512 bytes
  368. Sector size (logical/physical): 512 bytes / 4096 bytes
  369. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  370. Disk /dev/ram1: 64 MiB, 67108864 bytes, 131072 sectors
  371. Units: sectors of 1 * 512 = 512 bytes
  372. Sector size (logical/physical): 512 bytes / 4096 bytes
  373. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  374. Disk /dev/ram2: 64 MiB, 67108864 bytes, 131072 sectors
  375. Units: sectors of 1 * 512 = 512 bytes
  376. Sector size (logical/physical): 512 bytes / 4096 bytes
  377. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  378. Disk /dev/ram3: 64 MiB, 67108864 bytes, 131072 sectors
  379. Units: sectors of 1 * 512 = 512 bytes
  380. Sector size (logical/physical): 512 bytes / 4096 bytes
  381. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  382. Disk /dev/ram4: 64 MiB, 67108864 bytes, 131072 sectors
  383. Units: sectors of 1 * 512 = 512 bytes
  384. Sector size (logical/physical): 512 bytes / 4096 bytes
  385. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  386. Disk /dev/ram5: 64 MiB, 67108864 bytes, 131072 sectors
  387. Units: sectors of 1 * 512 = 512 bytes
  388. Sector size (logical/physical): 512 bytes / 4096 bytes
  389. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  390. Disk /dev/ram6: 64 MiB, 67108864 bytes, 131072 sectors
  391. Units: sectors of 1 * 512 = 512 bytes
  392. Sector size (logical/physical): 512 bytes / 4096 bytes
  393. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  394. Disk /dev/ram7: 64 MiB, 67108864 bytes, 131072 sectors
  395. Units: sectors of 1 * 512 = 512 bytes
  396. Sector size (logical/physical): 512 bytes / 4096 bytes
  397. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  398. Disk /dev/ram8: 64 MiB, 67108864 bytes, 131072 sectors
  399. Units: sectors of 1 * 512 = 512 bytes
  400. Sector size (logical/physical): 512 bytes / 4096 bytes
  401. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  402. Disk /dev/ram9: 64 MiB, 67108864 bytes, 131072 sectors
  403. Units: sectors of 1 * 512 = 512 bytes
  404. Sector size (logical/physical): 512 bytes / 4096 bytes
  405. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  406. Disk /dev/ram10: 64 MiB, 67108864 bytes, 131072 sectors
  407. Units: sectors of 1 * 512 = 512 bytes
  408. Sector size (logical/physical): 512 bytes / 4096 bytes
  409. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  410. Disk /dev/ram11: 64 MiB, 67108864 bytes, 131072 sectors
  411. Units: sectors of 1 * 512 = 512 bytes
  412. Sector size (logical/physical): 512 bytes / 4096 bytes
  413. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  414. Disk /dev/ram12: 64 MiB, 67108864 bytes, 131072 sectors
  415. Units: sectors of 1 * 512 = 512 bytes
  416. Sector size (logical/physical): 512 bytes / 4096 bytes
  417. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  418. Disk /dev/ram13: 64 MiB, 67108864 bytes, 131072 sectors
  419. Units: sectors of 1 * 512 = 512 bytes
  420. Sector size (logical/physical): 512 bytes / 4096 bytes
  421. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  422. Disk /dev/ram14: 64 MiB, 67108864 bytes, 131072 sectors
  423. Units: sectors of 1 * 512 = 512 bytes
  424. Sector size (logical/physical): 512 bytes / 4096 bytes
  425. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  426. Disk /dev/ram15: 64 MiB, 67108864 bytes, 131072 sectors
  427. Units: sectors of 1 * 512 = 512 bytes
  428. Sector size (logical/physical): 512 bytes / 4096 bytes
  429. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  430. Disk /dev/loop0: 852.1 MiB, 893485056 bytes, 1745088 sectors
  431. Units: sectors of 1 * 512 = 512 bytes
  432. Sector size (logical/physical): 512 bytes / 512 bytes
  433. I/O size (minimum/optimal): 512 bytes / 512 bytes
  434. Disk /dev/mmcblk0: 29.1 GiB, 31268536320 bytes, 61071360 sectors
  435. Units: sectors of 1 * 512 = 512 bytes
  436. Sector size (logical/physical): 512 bytes / 512 bytes
  437. I/O size (minimum/optimal): 512 bytes / 512 bytes
  438. Disklabel type: gpt
  439. Disk identifier: D441AB84-00B4-49D5-9814-B87460AD594F
  440. Device Start End Sectors Size Type
  441. /dev/mmcblk0p1 2048 1050623 1048576 512M EFI System
  442. /dev/mmcblk0p2 1050624 57174015 56123392 26.8G Linux filesystem
  443. /dev/mmcblk0p3 57174016 61069311 3895296 1.9G Linux swap
  444. Disk /dev/mmcblk0boot1: 4 MiB, 4194304 bytes, 8192 sectors
  445. Units: sectors of 1 * 512 = 512 bytes
  446. Sector size (logical/physical): 512 bytes / 512 bytes
  447. I/O size (minimum/optimal): 512 bytes / 512 bytes
  448. Disk /dev/mmcblk0boot0: 4 MiB, 4194304 bytes, 8192 sectors
  449. Units: sectors of 1 * 512 = 512 bytes
  450. Sector size (logical/physical): 512 bytes / 512 bytes
  451. I/O size (minimum/optimal): 512 bytes / 512 bytes
  452. Disk /dev/sda: 14.4 GiB, 15487991808 bytes, 30249984 sectors
  453. Units: sectors of 1 * 512 = 512 bytes
  454. Sector size (logical/physical): 512 bytes / 512 bytes
  455. I/O size (minimum/optimal): 512 bytes / 512 bytes
  456. Disklabel type: dos
  457. Disk identifier: 0x00274a69
  458. Device Boot Start End Sectors Size Id Type
  459. /dev/sda1 * 2048 30249983 30247936 14.4G c W95 FAT32 (LBA)
  460. Disk /dev/zram0: 464.2 MiB, 486694912 bytes, 118822 sectors
  461. Units: sectors of 1 * 4096 = 4096 bytes
  462. Sector size (logical/physical): 4096 bytes / 4096 bytes
  463. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  464. Disk /dev/zram1: 464.2 MiB, 486694912 bytes, 118822 sectors
  465. Units: sectors of 1 * 4096 = 4096 bytes
  466. Sector size (logical/physical): 4096 bytes / 4096 bytes
  467. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  468. =================== Recommended repair
  469. The default repair of the Boot-Repair utility will purge (in order to fix packages sign-grub) and reinstall the grub-efi-amd64-signed of mmcblk0p2, using the following options: mmcblk0p1/boot/efi,
  470. Additional repair will be performed: unhide-bootmenu-10s use-standard-efi-file rename-ms-efi
  471. /boot/efi added in mmcblk0p2/fstab
  472. Mount mmcblk0p1 on /media/lubuntu/05848349-8089-4cd9-a075-2cefb3d06d76/boot/efi
  473. ls mmcblk0p1/efi: /ubuntu/fwupx64.efi /ubuntu/fw
  474. chroot /media/lubuntu/05848349-8089-4cd9-a075-2cefb3d06d76 apt-get -y --force-yes update
  475. Purge the GRUB of mmcblk0p2
  476. grub-efi-amd64-signed available
  477. You might want to run 'apt-get -f install' to correct these:
  478. The following packages have unmet dependencies:
  479. grub-efi-amd64-signed : Depends: grub-efi-amd64 (= 2.02~beta2-36ubuntu11)
  480. grub-pc : Depends: grub-gfxpayload-lists but it is not going to be installed
  481. E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
  482. DEBCHECK debNG, grub-efi-amd64-signed
  483. DEBCHECK debNG
  484. =================== grub-efi-amd64-signed purge cancelled
  485. apt-error detected. Please open a terminal then type (or copy-paste) the following command:
  486. sudo chroot "/media/lubuntu/05848349-8089-4cd9-a075-2cefb3d06d76" apt-get -f install
  487. Then close this window.
  488. (zenity:512): Gtk-WARNING **: Theme parsing error: gtk-lubuntu.css:66:13: The :insensitive pseudo-class is deprecated. Use :disabled instead.
  489. (zenity:512): Gtk-WARNING **: Theme parsing error: gtk-lubuntu.css:97:29: The :insensitive pseudo-class is deprecated. Use :disabled instead.
  490. (zenity:512): Gtk-WARNING **: Theme parsing error: gtk-lubuntu.css:98:29: The :insensitive pseudo-class is deprecated. Use :disabled instead.
  491. (zenity:512): Gtk-WARNING **: Theme parsing error: gtk-lubuntu.css:104:39: The :insensitive pseudo-class is deprecated. Use :disabled instead.
  492. (zenity:512): Gtk-WARNING **: Theme parsing error: gtk-lubuntu.css:107:39: The :insensitive pseudo-class is deprecated. Use :disabled instead.
  493. (zenity:512): Gtk-WARNING **: Theme parsing error: gtk-lubuntu.css:158:33: The :focused pseudo-class is deprecated. Use :focus instead.
  494. (zenity:512): Gtk-WARNING **: Theme parsing error: gtk-lubuntu.css:174:38: The :insensitive pseudo-class is deprecated. Use :disabled instead.
  495. (zenity:512): Gtk-WARNING **: Theme parsing error: gtk-lubuntu.css:175:40: The :insensitive pseudo-class is deprecated. Use :disabled instead.
  496. (zenity:512): Gtk-WARNING **: Theme parsing error: gtk-lubuntu.css:176:53: The :insensitive pseudo-class is deprecated. Use :disabled instead.
  497. (zenity:512): Gtk-WARNING **: Theme parsing error: gtk-lubuntu.css:177:55: The :insensitive pseudo-class is deprecated. Use :disabled instead.
  498. (zenity:512): Gtk-WARNING **: Theme parsing error: gtk-lubuntu.css:178:53: The :insensitive pseudo-class is deprecated. Use :disabled instead.
  499. (zenity:512): Gtk-WARNING **: Theme parsing error: gtk-lubuntu.css:179:55: The :insensitive pseudo-class is deprecated. Use :disabled instead.
  500. (zenity:512): Gtk-WARNING **: Theme parsing error: gtk-lubuntu.css:180:48: The :insensitive pseudo-class is deprecated. Use :disabled instead.
  501. (zenity:512): Gtk-WARNING **: Theme parsing error: gtk-lubuntu.css:181:50: The :insensitive pseudo-class is deprecated. Use :disabled instead.
  502. (zenity:512): Gtk-WARNING **: Theme parsing error: gtk-lubuntu.css:182:44: The :insensitive pseudo-class is deprecated. Use :disabled instead.
  503. (zenity:512): Gtk-WARNING **: Theme parsing error: gtk-lubuntu.css:183:46: The :insensitive pseudo-class is deprecated. Use :disabled instead.
  504. (zenity:512): Gtk-WARNING **: Theme parsing error: gtk-lubuntu.css:184:52: The :insensitive pseudo-class is deprecated. Use :disabled instead.
  505. (zenity:512): Gtk-WARNING **: Theme parsing error: gtk-lubuntu.css:185:54: The :insensitive pseudo-class is deprecated. Use :disabled instead.
  506. (zenity:512): Gtk-WARNING **: Theme parsing error: gtk-lubuntu.css:186:52: The :insensitive pseudo-class is deprecated. Use :disabled instead.
  507. (zenity:512): Gtk-WARNING **: Theme parsing error: gtk-lubuntu.css:187:54: The :insensitive pseudo-class is deprecated. Use :disabled instead.
  508. (zenity:512): Gtk-WARNING **: Theme parsing error: gtk-lubuntu.css:188:47: The :insensitive pseudo-class is deprecated. Use :disabled instead.
  509. (zenity:512): Gtk-WARNING **: Theme parsing error: gtk-lubuntu.css:189:49: The :insensitive pseudo-class is deprecated. Use :disabled instead.
  510. (zenity:512): Gtk-WARNING **: Theme parsing error: gtk-lubuntu.css:190:21: The :insensitive pseudo-class is deprecated. Use :disabled instead.
  511. (zenity:512): Gtk-WARNING **: Theme parsing error: gtk-lubuntu.css:191:23: The :insensitive pseudo-class is deprecated. Use :disabled instead.
  512. (zenity:512): Gtk-WARNING **: Theme parsing error: gtk-lubuntu.css:196:34: The :insensitive pseudo-class is deprecated. Use :disabled instead.
  513. (zenity:512): Gtk-WARNING **: Theme parsing error: gtk-lubuntu.css:286:15: The 'icon-shadow' property has been renamed to '-gtk-icon-shadow'
  514. (zenity:512): Gtk-WARNING **: Theme parsing error: gtk-lubuntu.css:309:15: The 'icon-shadow' property has been renamed to '-gtk-icon-shadow'
  515. (zenity:512): Gtk-WARNING **: Theme directory imported-Humanity/192 of theme Lubuntu has no size field
  516. Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
  517. =================== Recommended repair
  518. The default repair of the Boot-Repair utility will purge (in order to fix packages sign-grub) and reinstall the grub-efi-amd64-signed of mmcblk0p2, using the following options: mmcblk0p1/boot/efi,
  519. Additional repair will be performed: unhide-bootmenu-10s use-standard-efi-file rename-ms-efi
  520. umount: /media/lubuntu/05848349-8089-4cd9-a075-2cefb3d06d76/boot/efi: not mounted
  521. Mount mmcblk0p1 on /media/lubuntu/05848349-8089-4cd9-a075-2cefb3d06d76/boot/efi
  522. ls mmcblk0p1/efi: /ubuntu/fwupx64.efi /ubuntu/fw
  523. chroot /media/lubuntu/05848349-8089-4cd9-a075-2cefb3d06d76 apt-get -y --force-yes update
  524. Purge the GRUB of mmcblk0p2
  525. grub-efi-amd64-signed available
  526. The following package was automatically installed and is no longer required:
  527. grub-pc-bin
  528. Use 'sudo apt autoremove' to remove it.
  529. The following additional packages will be installed:
  530. grub-efi-amd64 grub-efi-amd64-bin
  531. The following packages will be REMOVED:
  532. grub-gfxpayload-lists grub-pc
  533. The following NEW packages will be installed:
  534. grub-efi-amd64 grub-efi-amd64-bin grub-efi-amd64-signed
  535. 0 upgraded, 3 newly installed, 2 to remove and 91 not upgraded.
  536. W: --force-yes is deprecated, use one of the options starting with --allow instead.
  537. DEBCHECK debOK, grub-efi-amd64-signed
  538. DEBCHECK debOK
  539. shim-signed available
  540. linux-signed-generic available
  541. Please type: sudo chroot "/media/lubuntu/05848349-8089-4cd9-a075-2cefb3d06d76" dpkg --configure -ansudo chroot "/media/lubuntu/05848349-8089-4cd9-a075-2cefb3d06d76" apt-get install -fynsudo chroot "/media/lubuntu/05848349-8089-4cd9-a075-2cefb3d06d76" apt-get purge -y --force-yes grub*-common grub-common:i386 shim-signed linux-signed*
  542. =================== /media/lubuntu/05848349-8089-4cd9-a075-2cefb3d06d76/etc/grub.d/ :
  543. drwxr-xr-x 2 root root 4096 Dec 11 18:56 grub.d
  544. total 4
  545. -rwxr-xr-x 1 root root 1992 Jan 28 2016 20_memtest86+
  546. /boot/efi detected in the fstab of mmcblk0p2: UUID=4AD6-924C (mmcblk0p1)
  547. shim-signed available
  548. linux-signed-generic available
  549. Then type: sudo chroot "/media/lubuntu/05848349-8089-4cd9-a075-2cefb3d06d76" apt-get install -y --force-yes grub-efi-amd64-signed shim-signed linux-signed-generic
  550. =================== /media/lubuntu/05848349-8089-4cd9-a075-2cefb3d06d76/etc/grub.d/ :
  551. drwxr-xr-x 2 root root 4096 Dec 11 19:07 grub.d
  552. drwxr-xr-x 2 root root 4096 Dec 11 18:56 grub.d.bak
  553. total 72
  554. -rwxr-xr-x 1 root root 9791 Sep 6 14:10 00_header
  555. -rwxr-xr-x 1 root root 6258 Mar 15 2016 05_debian_theme
  556. -rwxr-xr-x 1 root root 12261 Sep 6 14:10 10_linux
  557. -rwxr-xr-x 1 root root 11082 Sep 6 14:10 20_linux_xen
  558. -rwxr-xr-x 1 root root 11692 Sep 6 14:10 30_os-prober
  559. -rwxr-xr-x 1 root root 1418 Sep 6 14:10 30_uefi-firmware
  560. -rwxr-xr-x 1 root root 214 Sep 6 14:10 40_custom
  561. -rwxr-xr-x 1 root root 216 Sep 6 14:10 41_custom
  562. -rw-r--r-- 1 root root 483 Sep 6 14:10 README
  563. =================== /media/lubuntu/05848349-8089-4cd9-a075-2cefb3d06d76/etc/default/grub :
  564. # If you change this file, run 'update-grub' afterwards to update
  565. # /boot/grub/grub.cfg.
  566. # For full documentation of the options in this file, see:
  567. # info -f grub -n 'Simple configuration'
  568. GRUB_DEFAULT=0
  569. GRUB_HIDDEN_TIMEOUT=0
  570. GRUB_HIDDEN_TIMEOUT_QUIET=true
  571. GRUB_TIMEOUT=10
  572. GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
  573. GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
  574. GRUB_CMDLINE_LINUX=""
  575. # Uncomment to enable BadRAM filtering, modify to suit your needs
  576. # This works with Linux (no patch required) and with any kernel that obtains
  577. # the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
  578. #GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
  579. # Uncomment to disable graphical terminal (grub-pc only)
  580. #GRUB_TERMINAL=console
  581. # The resolution used on graphical terminal
  582. # note that you can use only modes which your graphic card supports via VBE
  583. # you can see them in real GRUB with the command `vbeinfo'
  584. #GRUB_GFXMODE=640x480
  585. # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
  586. #GRUB_DISABLE_LINUX_UUID=true
  587. # Uncomment to disable generation of recovery mode menu entries
  588. #GRUB_DISABLE_RECOVERY="true"
  589. # Uncomment to get a beep at grub start
  590. #GRUB_INIT_TUNE="480 440 1"
  591. /boot/efi detected in the fstab of mmcblk0p2: UUID=4AD6-924C (mmcblk0p1)
  592. Unhide GRUB boot menu in mmcblk0p2/etc/default/grub
  593. =================== /media/lubuntu/05848349-8089-4cd9-a075-2cefb3d06d76/etc/grub.d/ :
  594. drwxr-xr-x 2 root root 4096 Dec 11 19:07 grub.d
  595. drwxr-xr-x 2 root root 4096 Dec 11 18:56 grub.d.bak
  596. total 72
  597. -rwxr-xr-x 1 root root 9791 Sep 6 14:10 00_header
  598. -rwxr-xr-x 1 root root 6258 Mar 15 2016 05_debian_theme
  599. -rwxr-xr-x 1 root root 12261 Sep 6 14:10 10_linux
  600. -rwxr-xr-x 1 root root 11082 Sep 6 14:10 20_linux_xen
  601. -rwxr-xr-x 1 root root 11692 Sep 6 14:10 30_os-prober
  602. -rwxr-xr-x 1 root root 1418 Sep 6 14:10 30_uefi-firmware
  603. -rwxr-xr-x 1 root root 214 Sep 6 14:10 40_custom
  604. -rwxr-xr-x 1 root root 216 Sep 6 14:10 41_custom
  605. -rw-r--r-- 1 root root 483 Sep 6 14:10 README
  606. =================== /media/lubuntu/05848349-8089-4cd9-a075-2cefb3d06d76/etc/default/grub :
  607. # If you change this file, run 'update-grub' afterwards to update
  608. # /boot/grub/grub.cfg.
  609. # For full documentation of the options in this file, see:
  610. # info -f grub -n 'Simple configuration'
  611. GRUB_DEFAULT=0
  612. #GRUB_HIDDEN_TIMEOUT=0
  613. GRUB_HIDDEN_TIMEOUT_QUIET=true
  614. GRUB_TIMEOUT=10
  615. GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
  616. GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
  617. GRUB_CMDLINE_LINUX=""
  618. # Uncomment to enable BadRAM filtering, modify to suit your needs
  619. # This works with Linux (no patch required) and with any kernel that obtains
  620. # the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
  621. #GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
  622. # Uncomment to disable graphical terminal (grub-pc only)
  623. #GRUB_TERMINAL=console
  624. # The resolution used on graphical terminal
  625. # note that you can use only modes which your graphic card supports via VBE
  626. # you can see them in real GRUB with the command `vbeinfo'
  627. #GRUB_GFXMODE=640x480
  628. # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
  629. #GRUB_DISABLE_LINUX_UUID=true
  630. # Uncomment to disable generation of recovery mode menu entries
  631. #GRUB_DISABLE_RECOVERY="true"
  632. # Uncomment to get a beep at grub start
  633. #GRUB_INIT_TUNE="480 440 1"
  634. /boot/efi detected in the fstab of mmcblk0p2: UUID=4AD6-924C (mmcblk0p1)
  635. *******lspci -nnk | grep -iA3 vga
  636. 00:02.0 VGA compatible controller [0300]: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Integrated Graphics Controller [8086:22b1] (rev 35)
  637. Subsystem: Hewlett-Packard Company Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Integrated Graphics Controller [103c:81e1]
  638. Kernel driver in use: i915
  639. Kernel modules: i915
  640. *******
  641. grub-install --version
  642. grub-install (GRUB) 2.02~beta2-36ubuntu11,grub-install (GRUB) 2.
  643. chroot /media/lubuntu/05848349-8089-4cd9-a075-2cefb3d06d76 efibootmgr -v
  644. BootCurrent: 0000
  645. Timeout: 0 seconds
  646. BootOrder: 0001,2001,2002,2004
  647. Boot0000* USB Hard Drive (UEFI) - VerbatimSTORE N GO PciRoot(0x0)/Pci(0x14,0x0)/USB(1,0)/HD(1,MBR,0x105,0x800,0x1cd8c00)RC
  648. Boot0001* ubuntu HD(1,GPT,1e17a19d-8239-4d8a-9c02-d0e45fa9054b,0x800,0x100000)/File(EFIubuntushimx64.efi)
  649. Boot2001* EFI USB Device RC
  650. Boot2002* EFI DVD/CDROM RC
  651. chroot /media/lubuntu/05848349-8089-4cd9-a075-2cefb3d06d76 uname -r
  652. Kernel: 4.8.0-22-generic
  653. Reinstall the grub-efi-amd64-signed shim-signed linux-signed-generic of mmcblk0p2
  654. Installing for x86_64-efi platform.
  655. Installation finished. No error reported.
  656. grub-install --efi-directory=/boot/efi --target=x86_64-efi --uefi-secure-boot : exit code of grub-install :0
  657. ls mmcblk0p1/efi: /ubuntu/shimx64.efi /ubuntu/MokManager.efi /ubuntu/grubx64.efi /ubuntu/grub.cfg /ubuntu/fwupx64.efi /ubuntu/fw
  658. df /dev/mmcblk0p1
  659. cp /media/lubuntu/05848349-8089-4cd9-a075-2cefb3d06d76/boot/efi/EFI/ubuntu/shimx64.efi /media/lubuntu/05848349-8089-4cd9-a075-2cefb3d06d76/boot/efi/EFI/Microsoft/Boot/bootmgfw.efi (& .grb)
  660. df /dev/mmcblk0p1
  661. cp /media/lubuntu/05848349-8089-4cd9-a075-2cefb3d06d76/boot/efi/EFI/ubuntu/shimx64.efi /media/lubuntu/05848349-8089-4cd9-a075-2cefb3d06d76/boot/efi/EFI/Microsoft/Boot/bootx64.efi (& .grb)
  662. df /dev/mmcblk0p1
  663. cp /media/lubuntu/05848349-8089-4cd9-a075-2cefb3d06d76/boot/efi/EFI/ubuntu/shimx64.efi /media/lubuntu/05848349-8089-4cd9-a075-2cefb3d06d76/boot/efi/EFI/Boot/bootx64.efi (& .grb)
  664. 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/MokManager.efi /ubuntu/grubx64.efi /ubuntu/grub.cfg /ubuntu/fwupx64.efi /ubuntu/fw /Microsoft/Boot /Boot/bootx64.efi.grb /Boot/bootx64.efi
  665. Add /media/lubuntu/05848349-8089-4cd9-a075-2cefb3d06d76/boot/efi efi entries in /media/lubuntu/05848349-8089-4cd9-a075-2cefb3d06d76/etc/grub.d/25_custom
  666. Adding custom /media/lubuntu/05848349-8089-4cd9-a075-2cefb3d06d76/boot/efi/EFI/ubuntu/fwupx64.efi
  667. Adding custom /media/lubuntu/05848349-8089-4cd9-a075-2cefb3d06d76/boot/efi/EFI/ubuntu/MokManager.efi
  668. chroot /media/lubuntu/05848349-8089-4cd9-a075-2cefb3d06d76 efibootmgr -v
  669. BootCurrent: 0000
  670. Timeout: 0 seconds
  671. BootOrder: 0001,2001,2002,2004
  672. Boot0000* USB Hard Drive (UEFI) - VerbatimSTORE N GO PciRoot(0x0)/Pci(0x14,0x0)/USB(1,0)/HD(1,MBR,0x105,0x800,0x1cd8c00)RC
  673. Boot0001* ubuntu HD(1,GPT,1e17a19d-8239-4d8a-9c02-d0e45fa9054b,0x800,0x100000)/File(EFIubuntushimx64.efi)
  674. Boot2001* EFI USB Device RC
  675. Boot2002* EFI DVD/CDROM RC
  676. chroot /media/lubuntu/05848349-8089-4cd9-a075-2cefb3d06d76 update-grub
  677. Generating grub configuration file ...
  678. Found linux image: /boot/vmlinuz-4.8.0-30-generic
  679. Found initrd image: /boot/initrd.img-4.8.0-30-generic
  680. Found linux image: /boot/vmlinuz-4.8.0-22-generic
  681. Found initrd image: /boot/initrd.img-4.8.0-22-generic
  682. Adding boot menu entry for EFI firmware configuration
  683. mount: /dev/mmcblk0 is already mounted or /mnt/boot-sav/mmcblk0 busy
  684. mount /dev/mmcblk0 : Error code 32
  685. mount -r /dev/mmcblk0 /mnt/boot-sav/mmcblk0
  686. mount: /dev/mmcblk0 is already mounted or /mnt/boot-sav/mmcblk0 busy
  687. mount -r /dev/mmcblk0 : Error code 32
  688. Unhide GRUB boot menu in mmcblk0p2/boot/grub/grub.cfg
  689. Boot successfully repaired.
  690. You can now reboot your computer.
  691. Please do not forget to make your BIOS boot on mmcblk0 (31.3GB) disk!
  692. paste.ubuntu.com ko (), using paste.debian
  693. paste.debian.net ko (), using paste2