1. Boot Info Script cfd9efe + Boot-Repair extra info [Boot-Info 26Apr2016]
  2. ============================= Boot Info Summary: ===============================
  3. => Grub2 (v2.00) is installed in the MBR of /dev/sda and looks at sector 1 of
  4. the same hard drive for core.img. core.img is at this location and looks
  5. for (,msdos1)/boot/grub. It also embeds following components:
  6. modules
  7. ---------------------------------------------------------------------------
  8. fshelp ext2 part_msdos biosdisk
  9. ---------------------------------------------------------------------------
  10. => Syslinux MBR (5.00 and higher) is installed in the MBR of /dev/sdb.
  11. sda1: __________________________________________________________________________
  12. File system: ext4
  13. Boot sector type: -
  14. Boot sector info:
  15. Operating System: Ubuntu 16.04 LTS
  16. Boot files: /boot/grub/grub.cfg /etc/fstab
  17. /boot/grub/i386-pc/core.img
  18. sda2: __________________________________________________________________________
  19. File system: Extended Partition
  20. Boot sector type: Unknown
  21. Boot sector info:
  22. sda5: __________________________________________________________________________
  23. File system: swap
  24. Boot sector type: -
  25. Boot sector info:
  26. sdb1: __________________________________________________________________________
  27. File system: vfat
  28. Boot sector type: SYSLINUX 6.03 2014-10-06................................................2....0............A20 gate n
  29. Boot sector info: Syslinux looks at sector 8064296 of /dev/sdb1 for its
  30. second stage. SYSLINUX is installed in the directory.
  31. No errors found in the Boot Parameter Block.
  32. Operating System:
  33. Boot files: /boot/grub/grub.cfg /syslinux/syslinux.cfg
  34. /casper/vmlinuz.efi /EFI/BOOT/grubx64.efi /ldlinux.sys
  35. ============================ Drive/Partition Info: =============================
  36. Drive: sda _____________________________________________________________________
  37. Disk /dev/sda: 465.8 GiB, 500107862016 bytes, 976773168 sectors
  38. Units: sectors of 1 * 512 = 512 bytes
  39. Sector size (logical/physical): 512 bytes / 512 bytes
  40. I/O size (minimum/optimal): 512 bytes / 512 bytes
  41. Disklabel type: dos
  42. Partition Boot Start Sector End Sector # of Sectors Id System
  43. /dev/sda1 * 2,048 964,423,679 964,421,632 83 Linux
  44. /dev/sda2 964,425,726 976,771,071 12,345,346 5 Extended
  45. /dev/sda5 964,425,728 976,771,071 12,345,344 82 Linux swap / Solaris
  46. Drive: sdb _____________________________________________________________________
  47. Disk /dev/sdb: 7.5 GiB, 8004304896 bytes, 15633408 sectors
  48. Units: sectors of 1 * 512 = 512 bytes
  49. Sector size (logical/physical): 512 bytes / 512 bytes
  50. I/O size (minimum/optimal): 512 bytes / 512 bytes
  51. Disklabel type: dos
  52. Partition Boot Start Sector End Sector # of Sectors Id System
  53. /dev/sdb1 * 2,048 15,630,335 15,628,288 b W95 FAT32
  54. "blkid" output: ________________________________________________________________
  55. Device UUID TYPE LABEL
  56. /dev/loop0 squashfs
  57. /dev/sda1 db6d489f-5834-40c9-8ac4-d993aad2570a ext4
  58. /dev/sda5 8bc8de94-4810-4057-97fd-1fa99d8db4c2 swap
  59. /dev/sdb1 DA5F-1AFC vfat INDEO
  60. ========================= "ls -l /dev/disk/by-id" output: ======================
  61. total 0
  62. lrwxrwxrwx 1 root root 9 Jun 3 21:26 ata-TSSTcorp_CDDVDW_SH-224BB_R9176GAD3002V4 -> ../../sr0
  63. lrwxrwxrwx 1 root root 9 Jun 3 22:37 ata-WD5003ABYX-23_00W1141_00W1445IBM_WD-WMAYP5501145 -> ../../sda
  64. lrwxrwxrwx 1 root root 10 Jun 3 22:37 ata-WD5003ABYX-23_00W1141_00W1445IBM_WD-WMAYP5501145-part1 -> ../../sda1
  65. lrwxrwxrwx 1 root root 10 Jun 3 22:37 ata-WD5003ABYX-23_00W1141_00W1445IBM_WD-WMAYP5501145-part2 -> ../../sda2
  66. lrwxrwxrwx 1 root root 10 Jun 3 22:37 ata-WD5003ABYX-23_00W1141_00W1445IBM_WD-WMAYP5501145-part5 -> ../../sda5
  67. lrwxrwxrwx 1 root root 9 Jun 3 22:29 usb-SanDisk_Cruzer_Edge_4C530699901221104253-0:0 -> ../../sdb
  68. lrwxrwxrwx 1 root root 10 Jun 3 22:29 usb-SanDisk_Cruzer_Edge_4C530699901221104253-0:0-part1 -> ../../sdb1
  69. lrwxrwxrwx 1 root root 9 Jun 3 22:37 wwn-0x50014ee0ae32dd48 -> ../../sda
  70. lrwxrwxrwx 1 root root 10 Jun 3 22:37 wwn-0x50014ee0ae32dd48-part1 -> ../../sda1
  71. lrwxrwxrwx 1 root root 10 Jun 3 22:37 wwn-0x50014ee0ae32dd48-part2 -> ../../sda2
  72. lrwxrwxrwx 1 root root 10 Jun 3 22:37 wwn-0x50014ee0ae32dd48-part5 -> ../../sda5
  73. ================================ Mount points: =================================
  74. Device Mount_Point Type Options
  75. /dev/loop0 /rofs squashfs (ro,noatime)
  76. /dev/sdb1 /cdrom vfat (ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
  77. =========================== sda1/boot/grub/grub.cfg: ===========================
  78. --------------------------------------------------------------------------------
  79. #
  80. # DO NOT EDIT THIS FILE
  81. #
  82. # It is automatically generated by grub-mkconfig using templates
  83. # from /etc/grub.d and settings from /etc/default/grub
  84. #
  85. ### BEGIN /etc/grub.d/00_header ###
  86. if [ -s $prefix/grubenv ]; then
  87. set have_grubenv=true
  88. load_env
  89. fi
  90. if [ "${next_entry}" ] ; then
  91. set default="${next_entry}"
  92. set next_entry=
  93. save_env next_entry
  94. set boot_once=true
  95. else
  96. set default="0"
  97. fi
  98. if [ x"${feature_menuentry_id}" = xy ]; then
  99. menuentry_id_option="--id"
  100. else
  101. menuentry_id_option=""
  102. fi
  103. export menuentry_id_option
  104. if [ "${prev_saved_entry}" ]; then
  105. set saved_entry="${prev_saved_entry}"
  106. save_env saved_entry
  107. set prev_saved_entry=
  108. save_env prev_saved_entry
  109. set boot_once=true
  110. fi
  111. function savedefault {
  112. if [ -z "${boot_once}" ]; then
  113. saved_entry="${chosen}"
  114. save_env saved_entry
  115. fi
  116. }
  117. function recordfail {
  118. set recordfail=1
  119. if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
  120. }
  121. function load_video {
  122. if [ x$feature_all_video_module = xy ]; then
  123. insmod all_video
  124. else
  125. insmod efi_gop
  126. insmod efi_uga
  127. insmod ieee1275_fb
  128. insmod vbe
  129. insmod vga
  130. insmod video_bochs
  131. insmod video_cirrus
  132. fi
  133. }
  134. if [ x$feature_default_font_path = xy ] ; then
  135. font=unicode
  136. else
  137. insmod part_msdos
  138. insmod ext2
  139. set root='hd0,msdos1'
  140. if [ x$feature_platform_search_hint = xy ]; then
  141. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 db6d489f-5834-40c9-8ac4-d993aad2570a
  142. else
  143. search --no-floppy --fs-uuid --set=root db6d489f-5834-40c9-8ac4-d993aad2570a
  144. fi
  145. font="/usr/share/grub/unicode.pf2"
  146. fi
  147. if loadfont $font ; then
  148. set gfxmode=auto
  149. load_video
  150. insmod gfxterm
  151. set locale_dir=$prefix/locale
  152. set lang=en_US
  153. insmod gettext
  154. fi
  155. terminal_output gfxterm
  156. if [ "${recordfail}" = 1 ] ; then
  157. set timeout=10
  158. else
  159. if [ x$feature_timeout_style = xy ] ; then
  160. set timeout_style=menu
  161. set timeout=10
  162. # Fallback normal timeout code in case the timeout_style feature is
  163. # unavailable.
  164. else
  165. set timeout=10
  166. fi
  167. fi
  168. ### END /etc/grub.d/00_header ###
  169. ### BEGIN /etc/grub.d/05_debian_theme ###
  170. set menu_color_normal=white/black
  171. set menu_color_highlight=black/light-gray
  172. if background_color 44,0,30,0; then
  173. clear
  174. fi
  175. ### END /etc/grub.d/05_debian_theme ###
  176. ### BEGIN /etc/grub.d/10_linux ###
  177. function gfxmode {
  178. set gfxpayload="${1}"
  179. if [ "${1}" = "keep" ]; then
  180. set vt_handoff=vt.handoff=7
  181. else
  182. set vt_handoff=
  183. fi
  184. }
  185. if [ "${recordfail}" != 1 ]; then
  186. if [ -e ${prefix}/gfxblacklist.txt ]; then
  187. if hwmatch ${prefix}/gfxblacklist.txt 3; then
  188. if [ ${match} = 0 ]; then
  189. set linux_gfx_mode=keep
  190. else
  191. set linux_gfx_mode=text
  192. fi
  193. else
  194. set linux_gfx_mode=text
  195. fi
  196. else
  197. set linux_gfx_mode=keep
  198. fi
  199. else
  200. set linux_gfx_mode=text
  201. fi
  202. export linux_gfx_mode
  203. menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-db6d489f-5834-40c9-8ac4-d993aad2570a' {
  204. recordfail
  205. load_video
  206. gfxmode $linux_gfx_mode
  207. insmod gzio
  208. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  209. insmod part_msdos
  210. insmod ext2
  211. set root='hd0,msdos1'
  212. if [ x$feature_platform_search_hint = xy ]; then
  213. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 db6d489f-5834-40c9-8ac4-d993aad2570a
  214. else
  215. search --no-floppy --fs-uuid --set=root db6d489f-5834-40c9-8ac4-d993aad2570a
  216. fi
  217. linux /boot/vmlinuz-4.4.0-22-generic root=UUID=db6d489f-5834-40c9-8ac4-d993aad2570a ro quiet splash nomodeset $vt_handoff
  218. initrd /boot/initrd.img-4.4.0-22-generic
  219. }
  220. submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-db6d489f-5834-40c9-8ac4-d993aad2570a' {
  221. menuentry 'Ubuntu, with Linux 4.4.0-22-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-22-generic-advanced-db6d489f-5834-40c9-8ac4-d993aad2570a' {
  222. recordfail
  223. load_video
  224. gfxmode $linux_gfx_mode
  225. insmod gzio
  226. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  227. insmod part_msdos
  228. insmod ext2
  229. set root='hd0,msdos1'
  230. if [ x$feature_platform_search_hint = xy ]; then
  231. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 db6d489f-5834-40c9-8ac4-d993aad2570a
  232. else
  233. search --no-floppy --fs-uuid --set=root db6d489f-5834-40c9-8ac4-d993aad2570a
  234. fi
  235. echo 'Loading Linux 4.4.0-22-generic ...'
  236. linux /boot/vmlinuz-4.4.0-22-generic root=UUID=db6d489f-5834-40c9-8ac4-d993aad2570a ro quiet splash nomodeset $vt_handoff
  237. echo 'Loading initial ramdisk ...'
  238. initrd /boot/initrd.img-4.4.0-22-generic
  239. }
  240. menuentry 'Ubuntu, with Linux 4.4.0-22-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-22-generic-init-upstart-db6d489f-5834-40c9-8ac4-d993aad2570a' {
  241. recordfail
  242. load_video
  243. gfxmode $linux_gfx_mode
  244. insmod gzio
  245. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  246. insmod part_msdos
  247. insmod ext2
  248. set root='hd0,msdos1'
  249. if [ x$feature_platform_search_hint = xy ]; then
  250. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 db6d489f-5834-40c9-8ac4-d993aad2570a
  251. else
  252. search --no-floppy --fs-uuid --set=root db6d489f-5834-40c9-8ac4-d993aad2570a
  253. fi
  254. echo 'Loading Linux 4.4.0-22-generic ...'
  255. linux /boot/vmlinuz-4.4.0-22-generic root=UUID=db6d489f-5834-40c9-8ac4-d993aad2570a ro quiet splash nomodeset $vt_handoff init=/sbin/upstart
  256. echo 'Loading initial ramdisk ...'
  257. initrd /boot/initrd.img-4.4.0-22-generic
  258. }
  259. menuentry 'Ubuntu, with Linux 4.4.0-22-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-22-generic-recovery-db6d489f-5834-40c9-8ac4-d993aad2570a' {
  260. recordfail
  261. load_video
  262. insmod gzio
  263. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  264. insmod part_msdos
  265. insmod ext2
  266. set root='hd0,msdos1'
  267. if [ x$feature_platform_search_hint = xy ]; then
  268. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 db6d489f-5834-40c9-8ac4-d993aad2570a
  269. else
  270. search --no-floppy --fs-uuid --set=root db6d489f-5834-40c9-8ac4-d993aad2570a
  271. fi
  272. echo 'Loading Linux 4.4.0-22-generic ...'
  273. linux /boot/vmlinuz-4.4.0-22-generic root=UUID=db6d489f-5834-40c9-8ac4-d993aad2570a ro recovery nomodeset
  274. echo 'Loading initial ramdisk ...'
  275. initrd /boot/initrd.img-4.4.0-22-generic
  276. }
  277. menuentry 'Ubuntu, with Linux 4.4.0-21-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-21-generic-advanced-db6d489f-5834-40c9-8ac4-d993aad2570a' {
  278. recordfail
  279. load_video
  280. gfxmode $linux_gfx_mode
  281. insmod gzio
  282. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  283. insmod part_msdos
  284. insmod ext2
  285. set root='hd0,msdos1'
  286. if [ x$feature_platform_search_hint = xy ]; then
  287. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 db6d489f-5834-40c9-8ac4-d993aad2570a
  288. else
  289. search --no-floppy --fs-uuid --set=root db6d489f-5834-40c9-8ac4-d993aad2570a
  290. fi
  291. echo 'Loading Linux 4.4.0-21-generic ...'
  292. linux /boot/vmlinuz-4.4.0-21-generic root=UUID=db6d489f-5834-40c9-8ac4-d993aad2570a ro quiet splash nomodeset $vt_handoff
  293. echo 'Loading initial ramdisk ...'
  294. initrd /boot/initrd.img-4.4.0-21-generic
  295. }
  296. menuentry 'Ubuntu, with Linux 4.4.0-21-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-21-generic-init-upstart-db6d489f-5834-40c9-8ac4-d993aad2570a' {
  297. recordfail
  298. load_video
  299. gfxmode $linux_gfx_mode
  300. insmod gzio
  301. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  302. insmod part_msdos
  303. insmod ext2
  304. set root='hd0,msdos1'
  305. if [ x$feature_platform_search_hint = xy ]; then
  306. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 db6d489f-5834-40c9-8ac4-d993aad2570a
  307. else
  308. search --no-floppy --fs-uuid --set=root db6d489f-5834-40c9-8ac4-d993aad2570a
  309. fi
  310. echo 'Loading Linux 4.4.0-21-generic ...'
  311. linux /boot/vmlinuz-4.4.0-21-generic root=UUID=db6d489f-5834-40c9-8ac4-d993aad2570a ro quiet splash nomodeset $vt_handoff init=/sbin/upstart
  312. echo 'Loading initial ramdisk ...'
  313. initrd /boot/initrd.img-4.4.0-21-generic
  314. }
  315. menuentry 'Ubuntu, with Linux 4.4.0-21-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-21-generic-recovery-db6d489f-5834-40c9-8ac4-d993aad2570a' {
  316. recordfail
  317. load_video
  318. insmod gzio
  319. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  320. insmod part_msdos
  321. insmod ext2
  322. set root='hd0,msdos1'
  323. if [ x$feature_platform_search_hint = xy ]; then
  324. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 db6d489f-5834-40c9-8ac4-d993aad2570a
  325. else
  326. search --no-floppy --fs-uuid --set=root db6d489f-5834-40c9-8ac4-d993aad2570a
  327. fi
  328. echo 'Loading Linux 4.4.0-21-generic ...'
  329. linux /boot/vmlinuz-4.4.0-21-generic root=UUID=db6d489f-5834-40c9-8ac4-d993aad2570a ro recovery nomodeset
  330. echo 'Loading initial ramdisk ...'
  331. initrd /boot/initrd.img-4.4.0-21-generic
  332. }
  333. }
  334. ### END /etc/grub.d/10_linux ###
  335. ### BEGIN /etc/grub.d/20_linux_xen ###
  336. ### END /etc/grub.d/20_linux_xen ###
  337. ### BEGIN /etc/grub.d/30_os-prober ###
  338. ### END /etc/grub.d/30_os-prober ###
  339. ### BEGIN /etc/grub.d/30_uefi-firmware ###
  340. menuentry 'System setup' $menuentry_id_option 'uefi-firmware' {
  341. fwsetup
  342. }
  343. ### END /etc/grub.d/30_uefi-firmware ###
  344. ### BEGIN /etc/grub.d/40_custom ###
  345. # This file provides an easy way to add custom menu entries. Simply type the
  346. # menu entries you want to add after this comment. Be careful not to change
  347. # the 'exec tail' line above.
  348. ### END /etc/grub.d/40_custom ###
  349. ### BEGIN /etc/grub.d/41_custom ###
  350. if [ -f ${config_directory}/custom.cfg ]; then
  351. source ${config_directory}/custom.cfg
  352. elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
  353. source $prefix/custom.cfg;
  354. fi
  355. ### END /etc/grub.d/41_custom ###
  356. --------------------------------------------------------------------------------
  357. =============================== sda1/etc/fstab: ================================
  358. --------------------------------------------------------------------------------
  359. # /etc/fstab: static file system information.
  360. #
  361. # Use 'blkid' to print the universally unique identifier for a
  362. # device; this may be used with UUID= as a more robust way to name devices
  363. # that works even if disks are added and removed. See fstab(5).
  364. #
  365. # <file system> <mount point> <type> <options> <dump> <pass>
  366. # / was on /dev/sda1 during installation
  367. UUID=db6d489f-5834-40c9-8ac4-d993aad2570a / ext4 errors=remount-ro 0 1
  368. # swap was on /dev/sda5 during installation
  369. UUID=8bc8de94-4810-4057-97fd-1fa99d8db4c2 none swap sw 0 0
  370. --------------------------------------------------------------------------------
  371. =================== sda1: Location of files loaded by Grub: ====================
  372. GiB - GB File Fragment(s)
  373. 356.143184662 = 382.405832704 boot/grub/grub.cfg 1
  374. 356.144218445 = 382.406942720 boot/grub/i386-pc/core.img 1
  375. 1.070007324 = 1.148911616 boot/vmlinuz-4.4.0-21-generic 1
  376. 1.850013733 = 1.986437120 boot/vmlinuz-4.4.0-22-generic 1
  377. 1.850013733 = 1.986437120 vmlinuz 1
  378. 1.070007324 = 1.148911616 vmlinuz.old 1
  379. 56.285148621 = 60.435718144 boot/initrd.img-4.4.0-21-generic 4
  380. 56.447208405 = 60.609728512 boot/initrd.img-4.4.0-22-generic 2
  381. 56.447208405 = 60.609728512 initrd.img 2
  382. 56.285148621 = 60.435718144 initrd.img.old 4
  383. =========================== sdb1/boot/grub/grub.cfg: ===========================
  384. --------------------------------------------------------------------------------
  385. if loadfont /boot/grub/font.pf2 ; then
  386. set gfxmode=auto
  387. insmod efi_gop
  388. insmod efi_uga
  389. insmod gfxterm
  390. terminal_output gfxterm
  391. fi
  392. set menu_color_normal=white/black
  393. set menu_color_highlight=black/light-gray
  394. menuentry "Try Ubuntu without installing" {
  395. set gfxpayload=keep
  396. linux /casper/vmlinuz.efi file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash ---
  397. initrd /casper/initrd.lz
  398. }
  399. menuentry "Install Ubuntu" {
  400. set gfxpayload=keep
  401. linux /casper/vmlinuz.efi file=/cdrom/preseed/ubuntu.seed boot=casper only-ubiquity quiet splash ---
  402. initrd /casper/initrd.lz
  403. }
  404. menuentry "OEM install (for manufacturers)" {
  405. set gfxpayload=keep
  406. linux /casper/vmlinuz.efi file=/cdrom/preseed/ubuntu.seed boot=casper only-ubiquity quiet splash oem-config/enable=true ---
  407. initrd /casper/initrd.lz
  408. }
  409. menuentry "Check disc for defects" {
  410. set gfxpayload=keep
  411. linux /casper/vmlinuz.efi boot=casper integrity-check quiet splash ---
  412. initrd /casper/initrd.lz
  413. }
  414. --------------------------------------------------------------------------------
  415. ========================= sdb1/syslinux/syslinux.cfg: ==========================
  416. --------------------------------------------------------------------------------
  417. # D-I config version 2.0
  418. # search path for the c32 support libraries (libcom32, libutil etc.)
  419. path
  420. include menu.cfg
  421. default vesamenu.c32
  422. prompt 0
  423. timeout 50
  424. ui gfxboot bootlogo
  425. --------------------------------------------------------------------------------
  426. =================== sdb1: Location of files loaded by Grub: ====================
  427. GiB - GB File Fragment(s)
  428. ?? = ?? boot/grub/grub.cfg 1
  429. ================= sdb1: Location of files loaded by Syslinux: ==================
  430. GiB - GB File Fragment(s)
  431. ?? = ?? syslinux/syslinux.cfg 1
  432. ?? = ?? ldlinux.sys 1
  433. ?? = ?? ldlinux.c32 1
  434. ?? = ?? syslinux/chain.c32 1
  435. ?? = ?? syslinux/gfxboot.c32 1
  436. ?? = ?? syslinux/ldlinux.c32 1
  437. ?? = ?? syslinux/libcom32.c32 1
  438. ?? = ?? syslinux/libutil.c32 1
  439. ?? = ?? syslinux/vesamenu.c32 1
  440. ============== sdb1: Version of COM32(R) files used by Syslinux: ===============
  441. ldlinux.c32 : not a COM32/COM32R module
  442. syslinux/chain.c32 : not a COM32/COM32R module
  443. syslinux/gfxboot.c32 : not a COM32/COM32R module
  444. syslinux/ldlinux.c32 : not a COM32/COM32R module
  445. syslinux/libcom32.c32 : not a COM32/COM32R module
  446. syslinux/libutil.c32 : not a COM32/COM32R module
  447. syslinux/vesamenu.c32 : not a COM32/COM32R module
  448. ======================== Unknown MBRs/Boot Sectors/etc: ========================
  449. Unknown BootLoader on sda2
  450. =============================== StdErr Messages: ===============================
  451. hexdump: /dev/sda2: No such device or address
  452. hexdump: /dev/sda2: No such device or address
  453. File descriptor 9 (/proc/13829/mounts) leaked on lvs invocation. Parent PID 5555: bash
  454. File descriptor 63 (pipe:[80280]) leaked on lvs invocation. Parent PID 5555: bash
  455. ADDITIONAL INFORMATION :
  456. =================== log of boot-repair 2016-06-03__22h29 ===================
  457. boot-repair version : 4ppa37
  458. boot-sav version : 4ppa37
  459. glade2script version : 3.2.3~ppa1
  460. boot-sav-extra version : 4ppa37
  461. boot-repair is executed in live-session (Ubuntu 16.04 LTS, xenial, Ubuntu, x86_64)
  462. CPU op-mode(s): 32-bit, 64-bit
  463. BOOT_IMAGE=/casper/vmlinuz.efi file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash ---
  464. ls: cannot access '/home/usr/.config': No such file or directory
  465. =================== os-prober:
  466. /dev/sda1:Ubuntu 16.04 LTS (16.04):Ubuntu:linux
  467. =================== blkid:
  468. /dev/sda1: UUID="db6d489f-5834-40c9-8ac4-d993aad2570a" TYPE="ext4" PARTUUID="34be8cd3-01"
  469. /dev/sdb1: LABEL="INDEO" UUID="DA5F-1AFC" TYPE="vfat" PARTUUID="0cbbcf6d-01"
  470. /dev/loop0: TYPE="squashfs"
  471. /dev/sda5: UUID="8bc8de94-4810-4057-97fd-1fa99d8db4c2" TYPE="swap" PARTUUID="34be8cd3-05"
  472. 1 disks with OS, 1 OS : 1 Linux, 0 MacOS, 0 Windows, 0 unknown type OS.
  473. =================== sda1/etc/grub.d/ :
  474. drwxr-xr-x 2 root root 4096 Apr 20 22:15 grub.d
  475. total 76
  476. -rwxr-xr-x 1 root root 9791 Apr 15 22:00 00_header
  477. -rwxr-xr-x 1 root root 6258 Mar 15 18:08 05_debian_theme
  478. -rwxr-xr-x 1 root root 12261 Apr 15 22:00 10_linux
  479. -rwxr-xr-x 1 root root 11082 Apr 15 22:00 20_linux_xen
  480. -rwxr-xr-x 1 root root 1992 Jan 28 12:44 20_memtest86+
  481. -rwxr-xr-x 1 root root 11692 Apr 15 22:00 30_os-prober
  482. -rwxr-xr-x 1 root root 1418 Apr 15 22:00 30_uefi-firmware
  483. -rwxr-xr-x 1 root root 214 Apr 15 22:00 40_custom
  484. -rwxr-xr-x 1 root root 216 Apr 15 22:00 41_custom
  485. -rw-r--r-- 1 root root 483 Apr 15 22:00 README
  486. =================== sda1/etc/default/grub :
  487. # If you change this file, run 'update-grub' afterwards to update
  488. # /boot/grub/grub.cfg.
  489. # For full documentation of the options in this file, see:
  490. # info -f grub -n 'Simple configuration'
  491. GRUB_DEFAULT=0
  492. GRUB_HIDDEN_TIMEOUT=0
  493. GRUB_HIDDEN_TIMEOUT_QUIET=true
  494. GRUB_TIMEOUT=10
  495. GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
  496. GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
  497. GRUB_CMDLINE_LINUX=""
  498. # Uncomment to enable BadRAM filtering, modify to suit your needs
  499. # This works with Linux (no patch required) and with any kernel that obtains
  500. # the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
  501. #GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
  502. # Uncomment to disable graphical terminal (grub-pc only)
  503. #GRUB_TERMINAL=console
  504. # The resolution used on graphical terminal
  505. # note that you can use only modes which your graphic card supports via VBE
  506. # you can see them in real GRUB with the command `vbeinfo'
  507. #GRUB_GFXMODE=640x480
  508. # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
  509. #GRUB_DISABLE_LINUX_UUID=true
  510. # Uncomment to disable generation of recovery mode menu entries
  511. #GRUB_DISABLE_RECOVERY="true"
  512. # Uncomment to get a beep at grub start
  513. #GRUB_INIT_TUNE="480 440 1"
  514. =================== efibootmgr -v
  515. BootCurrent: 0003
  516. Timeout: 0 seconds
  517. BootOrder: 0002,0003,0001
  518. Boot0001* Lecteur CD/DVD BBS(CDROM,,0x0)AMGOAMNO........m.T.S.S.T.c.o.r.p. .C.D.D.V.D.W. .S.H.-.2.2.4.B.B....................A.........................>..Gd-.;.A..MQ..L.9.R.7.1.G.6.D.A.0.3.2.0.4.V. . . . . . ......AMBO
  519. Boot0002* Disque dur BBS(HD,,0x0)AMGOAMNO........m.W.D.5.0.0.3.A.B.Y.X.-.2.3. . . . . . . . .0.0.W.1.1.4.1. .0.0.W.1.4.4.5.I.B.M....................A.........................>..Gd-.;.A..MQ..L. . . . .W. .-.D.M.W.Y.A.5.P.0.5.1.1.5.4......AMBOAMNO........o.S.a.n.D.i.s.k. .C.r.u.z.e.r. .E.d.g.e....................A.............................<..Gd-.;.A..MQ..L.S.a.n.D.i.s.k. .C.r.u.z.e.r. .E.d.g.e......AMBO
  520. Boot0003* UEFI: SanDisk Cruzer Edge PciRoot(0x0)/Pci(0x1d,0x0)/USB(1,0)/USB(5,0)/HD(1,MBR,0x109,0x800,0xee7800)AMBO
  521. =================== UEFI/Legacy mode:
  522. BIOS is EFI-compatible, and is setup in EFI-mode for this live-session.
  523. SecureBoot enabled.
  524. =================== PARTITIONS & DISKS:
  525. sda1 : sda, not-sepboot, grubenv-ok grub2, signed grub-pc , update-grub, 64, with-boot, is-os, not--efi--part, fstab-without-boot, fstab-without-efi, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, apt-get, grub-install, with--usr, fstab-without-usr, not-sep-usr, standard, farbios, /mnt/boot-sav/sda1.
  526. sda : not-GPT, BIOSboot-not-needed, has-no-EFIpart, not-usb, has-os, 2048 sectors * 512 bytes
  527. =================== parted -l:
  528. Model: ATA WD5003ABYX-23 (scsi)
  529. Disk /dev/sda: 500GB
  530. Sector size (logical/physical): 512B/512B
  531. Partition Table: msdos
  532. Disk Flags:
  533. Number Start End Size Type File system Flags
  534. 1 1049kB 494GB 494GB primary ext4 boot
  535. 2 494GB 500GB 6321MB extended
  536. 5 494GB 500GB 6321MB logical linux-swap(v1)
  537. Model: SanDisk Cruzer Edge (scsi)
  538. Disk /dev/sdb: 8004MB
  539. Sector size (logical/physical): 512B/512B
  540. Partition Table: msdos
  541. Disk Flags:
  542. Number Start End Size Type File system Flags
  543. 1 1049kB 8003MB 8002MB primary fat32 boot
  544. =================== parted -lm:
  545. BYT;
  546. /dev/sda:500GB:scsi:512:512:msdos:ATA WD5003ABYX-23:;
  547. 1:1049kB:494GB:494GB:ext4::boot;
  548. 2:494GB:500GB:6321MB:::;
  549. 5:494GB:500GB:6321MB:linux-swap(v1)::;
  550. BYT;
  551. /dev/sdb:8004MB:scsi:512:512:msdos:SanDisk Cruzer Edge:;
  552. 1:1049kB:8003MB:8002MB:fat32::boot;
  553. =================== lsblk:
  554. KNAME TYPE FSTYPE SIZE LABEL
  555. sda disk 465.8G
  556. sda1 part ext4 459.9G
  557. sda5 part swap 5.9G
  558. sdb disk 7.5G
  559. sdb1 part vfat 7.5G INDEO
  560. sr0 rom 1024M
  561. loop0 loop squashfs 1.3G
  562. KNAME ROTA RO RM STATE MOUNTPOINT
  563. sda 1 0 0 running
  564. sda1 1 0 0 /mnt/boot-sav/sda1
  565. sda5 1 0 0 [SWAP]
  566. sdb 1 0 0 running
  567. sdb1 1 0 0 /cdrom
  568. sr0 1 0 1 running
  569. loop0 1 1 0 /rofs
  570. =================== mount:
  571. sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
  572. proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
  573. udev on /dev type devtmpfs (rw,nosuid,relatime,size=2982676k,nr_inodes=745669,mode=755)
  574. devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
  575. tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=599384k,mode=755)
  576. /dev/sdb1 on /cdrom type vfat (ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
  577. /dev/loop0 on /rofs type squashfs (ro,noatime)
  578. /cow on / type overlay (rw,relatime,lowerdir=//filesystem.squashfs,upperdir=/cow/upper,workdir=/cow/work)
  579. securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
  580. tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
  581. tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
  582. tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
  583. cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd,nsroot=/)
  584. pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
  585. efivarfs on /sys/firmware/efi/efivars type efivarfs (rw,nosuid,nodev,noexec,relatime)
  586. cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio,nsroot=/)
  587. cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct,nsroot=/)
  588. cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices,nsroot=/)
  589. cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer,nsroot=/)
  590. cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset,nsroot=/)
  591. cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory,nsroot=/)
  592. cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event,nsroot=/)
  593. cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids,nsroot=/)
  594. cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb,nsroot=/)
  595. cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio,nsroot=/)
  596. systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=23,pgrp=1,timeout=0,minproto=5,maxproto=5,direct)
  597. hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
  598. mqueue on /dev/mqueue type mqueue (rw,relatime)
  599. debugfs on /sys/kernel/debug type debugfs (rw,relatime)
  600. tracefs on /sys/kernel/debug/tracing type tracefs (rw,relatime)
  601. fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
  602. tmpfs on /tmp type tmpfs (rw,nosuid,nodev,relatime)
  603. tmpfs on /run/user/999 type tmpfs (rw,nosuid,nodev,relatime,size=599384k,mode=700,uid=999,gid=999)
  604. gvfsd-fuse on /run/user/999/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=999,group_id=999)
  605. /dev/sda1 on /mnt/boot-sav/sda1 type ext4 (rw,relatime,data=ordered)
  606. =================== ls:
  607. /sys/block/sda (filtered): alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight integrity power queue range removable ro sda1 sda2 sda5 size slaves stat subsystem trace uevent
  608. /sys/block/sdb (filtered): alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight integrity power queue range removable ro sdb1 size slaves stat subsystem trace uevent
  609. /sys/block/sr0 (filtered): alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight integrity power queue range removable ro size slaves stat subsystem trace uevent
  610. /dev (filtered): autofs block bsg btrfs-control bus cdrom cdrw char console core cpu cpu_dma_latency cuse disk dri dvd dvdrw ecryptfs fb0 fd full fuse hidraw0 hidraw1 hpet hugepages hwrng i2c-0 i2c-1 i2c-2 i2c-3 i2c-4 i2c-5 i2c-6 i2c-7 initctl input kmsg lightnvm log lp0 mapper mcelog media0 mei0 mem memory_bandwidth mqueue net network_latency network_throughput null parport0 port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sda2 sda5 sdb sdb1 sg0 sg1 sg2 shm snapshot snd sr0 stderr stdin stdout uhid uinput urandom usb userio v4l vfio vga_arbiter vhci vhost-net video0 zero
  611. ls /dev/mapper: control
  612. =================== df -Th:
  613. Filesystem Type Size Used Avail Use% Mounted on
  614. udev devtmpfs 2.9G 0 2.9G 0% /dev
  615. tmpfs tmpfs 586M 8.7M 577M 2% /run
  616. /dev/sdb1 vfat 7.5G 1.9G 5.7G 25% /cdrom
  617. /dev/loop0 squashfs 1.4G 1.4G 0 100% /rofs
  618. /cow overlay 2.9G 394M 2.5G 14% /
  619. tmpfs tmpfs 2.9G 1.3M 2.9G 1% /dev/shm
  620. tmpfs tmpfs 5.0M 4.0K 5.0M 1% /run/lock
  621. tmpfs tmpfs 2.9G 0 2.9G 0% /sys/fs/cgroup
  622. tmpfs tmpfs 2.9G 2.0M 2.9G 1% /tmp
  623. tmpfs tmpfs 586M 76K 586M 1% /run/user/999
  624. /dev/sda1 ext4 453G 4.0G 426G 1% /mnt/boot-sav/sda1
  625. =================== fdisk -l:
  626. Disk /dev/ram0: 64 MiB, 67108864 bytes, 131072 sectors
  627. Units: sectors of 1 * 512 = 512 bytes
  628. Sector size (logical/physical): 512 bytes / 4096 bytes
  629. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  630. Disk /dev/ram1: 64 MiB, 67108864 bytes, 131072 sectors
  631. Units: sectors of 1 * 512 = 512 bytes
  632. Sector size (logical/physical): 512 bytes / 4096 bytes
  633. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  634. Disk /dev/ram2: 64 MiB, 67108864 bytes, 131072 sectors
  635. Units: sectors of 1 * 512 = 512 bytes
  636. Sector size (logical/physical): 512 bytes / 4096 bytes
  637. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  638. Disk /dev/ram3: 64 MiB, 67108864 bytes, 131072 sectors
  639. Units: sectors of 1 * 512 = 512 bytes
  640. Sector size (logical/physical): 512 bytes / 4096 bytes
  641. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  642. Disk /dev/ram4: 64 MiB, 67108864 bytes, 131072 sectors
  643. Units: sectors of 1 * 512 = 512 bytes
  644. Sector size (logical/physical): 512 bytes / 4096 bytes
  645. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  646. Disk /dev/ram5: 64 MiB, 67108864 bytes, 131072 sectors
  647. Units: sectors of 1 * 512 = 512 bytes
  648. Sector size (logical/physical): 512 bytes / 4096 bytes
  649. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  650. Disk /dev/ram6: 64 MiB, 67108864 bytes, 131072 sectors
  651. Units: sectors of 1 * 512 = 512 bytes
  652. Sector size (logical/physical): 512 bytes / 4096 bytes
  653. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  654. Disk /dev/ram7: 64 MiB, 67108864 bytes, 131072 sectors
  655. Units: sectors of 1 * 512 = 512 bytes
  656. Sector size (logical/physical): 512 bytes / 4096 bytes
  657. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  658. Disk /dev/ram8: 64 MiB, 67108864 bytes, 131072 sectors
  659. Units: sectors of 1 * 512 = 512 bytes
  660. Sector size (logical/physical): 512 bytes / 4096 bytes
  661. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  662. Disk /dev/ram9: 64 MiB, 67108864 bytes, 131072 sectors
  663. Units: sectors of 1 * 512 = 512 bytes
  664. Sector size (logical/physical): 512 bytes / 4096 bytes
  665. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  666. Disk /dev/ram10: 64 MiB, 67108864 bytes, 131072 sectors
  667. Units: sectors of 1 * 512 = 512 bytes
  668. Sector size (logical/physical): 512 bytes / 4096 bytes
  669. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  670. Disk /dev/ram11: 64 MiB, 67108864 bytes, 131072 sectors
  671. Units: sectors of 1 * 512 = 512 bytes
  672. Sector size (logical/physical): 512 bytes / 4096 bytes
  673. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  674. Disk /dev/ram12: 64 MiB, 67108864 bytes, 131072 sectors
  675. Units: sectors of 1 * 512 = 512 bytes
  676. Sector size (logical/physical): 512 bytes / 4096 bytes
  677. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  678. Disk /dev/ram13: 64 MiB, 67108864 bytes, 131072 sectors
  679. Units: sectors of 1 * 512 = 512 bytes
  680. Sector size (logical/physical): 512 bytes / 4096 bytes
  681. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  682. Disk /dev/ram14: 64 MiB, 67108864 bytes, 131072 sectors
  683. Units: sectors of 1 * 512 = 512 bytes
  684. Sector size (logical/physical): 512 bytes / 4096 bytes
  685. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  686. Disk /dev/ram15: 64 MiB, 67108864 bytes, 131072 sectors
  687. Units: sectors of 1 * 512 = 512 bytes
  688. Sector size (logical/physical): 512 bytes / 4096 bytes
  689. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  690. Disk /dev/loop0: 1.3 GiB, 1433468928 bytes, 2799744 sectors
  691. Units: sectors of 1 * 512 = 512 bytes
  692. Sector size (logical/physical): 512 bytes / 512 bytes
  693. I/O size (minimum/optimal): 512 bytes / 512 bytes
  694. Disk /dev/sda: 465.8 GiB, 500107862016 bytes, 976773168 sectors
  695. Units: sectors of 1 * 512 = 512 bytes
  696. Sector size (logical/physical): 512 bytes / 512 bytes
  697. I/O size (minimum/optimal): 512 bytes / 512 bytes
  698. Disklabel type: dos
  699. Disk identifier: 0x34be8cd3
  700. Device Boot Start End Sectors Size Id Type
  701. /dev/sda1 * 2048 964423679 964421632 459.9G 83 Linux
  702. /dev/sda2 964425726 976771071 12345346 5.9G 5 Extended
  703. /dev/sda5 964425728 976771071 12345344 5.9G 82 Linux swap / Solaris
  704. Disk /dev/sdb: 7.5 GiB, 8004304896 bytes, 15633408 sectors
  705. Units: sectors of 1 * 512 = 512 bytes
  706. Sector size (logical/physical): 512 bytes / 512 bytes
  707. I/O size (minimum/optimal): 512 bytes / 512 bytes
  708. Disklabel type: dos
  709. Disk identifier: 0x0cbbcf6d
  710. Device Boot Start End Sectors Size Id Type
  711. /dev/sdb1 * 2048 15630335 15628288 7.5G b W95 FAT32
  712. =================== Advices
  713. The boot of your PC is in EFI mode, but no EFI partition was detected. You may want to retry after creating a EFI partition (FAT32, 100MB~250MB, start of the disk, boot flag).
  714. Do you want to continue?
  715. Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
  716. =================== Default settings of Boot Repair
  717. The default repair of the Boot-Repair utility would purge (in order to) and reinstall the grub2 of sda1 into the MBR of sda.
  718. Additional repair would be performed: unhide-bootmenu-10s
  719. =================== Advice in case of suggested repair
  720. The boot of your PC is in EFI mode, but no EFI partition was detected. You may want to retry after creating a EFI partition (FAT32, 100MB~250MB, start of the disk, boot flag).
  721. Do you want to continue?
  722. =================== User settings
  723. The settings chosen by the user will purge (in order to) and reinstall the grub2 of sda1 into the MBR of sda, using the following options: add-kernel-option (nomodeset),
  724. Additional repair will be performed: unhide-bootmenu-10s
  725. chroot /mnt/boot-sav/sda1 apt-get -y --force-yes update
  726. AppStream cache update completed, but some metadata was ignored due to errors.
  727. Purge the GRUB of sda1
  728. grub-pc available
  729. 0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 205 not upgraded.
  730. W: --force-yes is deprecated, use one of the options starting with --allow instead.
  731. DEBCHECK debOK, grub-pc
  732. DEBCHECK debOK
  733. shim-signed available
  734. linux-signed-generic available
  735. Please type: sudo chroot "/mnt/boot-sav/sda1" dpkg --configure -ansudo chroot "/mnt/boot-sav/sda1" apt-get install -fynsudo chroot "/mnt/boot-sav/sda1" apt-get purge -y --force-yes grub*-common grub-common:i386 shim-signed linux-signed*
  736. =================== sda1/etc/grub.d/ :
  737. drwxr-xr-x 2 root root 4096 Jun 3 22:34 grub.d
  738. total 4
  739. -rwxr-xr-x 1 root root 1992 Jan 28 12:44 20_memtest86+
  740. Then type: sudo chroot "/mnt/boot-sav/sda1" apt-get install -y --force-yes grub-pc linux-generic
  741. =================== sda1/etc/grub.d/ :
  742. drwxr-xr-x 2 root root 4096 Jun 3 22:35 grub.d
  743. drwxr-xr-x 2 root root 4096 Jun 3 22:34 grub.d.bak
  744. total 72
  745. -rwxr-xr-x 1 root root 9791 Apr 15 22:00 00_header
  746. -rwxr-xr-x 1 root root 6258 Mar 15 18:08 05_debian_theme
  747. -rwxr-xr-x 1 root root 12261 Apr 15 22:00 10_linux
  748. -rwxr-xr-x 1 root root 11082 Apr 15 22:00 20_linux_xen
  749. -rwxr-xr-x 1 root root 11692 Apr 15 22:00 30_os-prober
  750. -rwxr-xr-x 1 root root 1418 Apr 15 22:00 30_uefi-firmware
  751. -rwxr-xr-x 1 root root 214 Apr 15 22:00 40_custom
  752. -rwxr-xr-x 1 root root 216 Apr 15 22:00 41_custom
  753. -rw-r--r-- 1 root root 483 Apr 15 22:00 README
  754. =================== sda1/etc/default/grub :
  755. # If you change this file, run 'update-grub' afterwards to update
  756. # /boot/grub/grub.cfg.
  757. # For full documentation of the options in this file, see:
  758. # info -f grub -n 'Simple configuration'
  759. GRUB_DEFAULT=0
  760. GRUB_HIDDEN_TIMEOUT=0
  761. GRUB_HIDDEN_TIMEOUT_QUIET=true
  762. GRUB_TIMEOUT=10
  763. GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
  764. GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
  765. GRUB_CMDLINE_LINUX=""
  766. # Uncomment to enable BadRAM filtering, modify to suit your needs
  767. # This works with Linux (no patch required) and with any kernel that obtains
  768. # the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
  769. #GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
  770. # Uncomment to disable graphical terminal (grub-pc only)
  771. #GRUB_TERMINAL=console
  772. # The resolution used on graphical terminal
  773. # note that you can use only modes which your graphic card supports via VBE
  774. # you can see them in real GRUB with the command `vbeinfo'
  775. #GRUB_GFXMODE=640x480
  776. # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
  777. #GRUB_DISABLE_LINUX_UUID=true
  778. # Uncomment to disable generation of recovery mode menu entries
  779. #GRUB_DISABLE_RECOVERY="true"
  780. # Uncomment to get a beep at grub start
  781. #GRUB_INIT_TUNE="480 440 1"
  782. Unhide GRUB boot menu in sda1/etc/default/grub
  783. =================== sda1/etc/grub.d/ :
  784. drwxr-xr-x 2 root root 4096 Jun 3 22:35 grub.d
  785. drwxr-xr-x 2 root root 4096 Jun 3 22:34 grub.d.bak
  786. total 72
  787. -rwxr-xr-x 1 root root 9791 Apr 15 22:00 00_header
  788. -rwxr-xr-x 1 root root 6258 Mar 15 18:08 05_debian_theme
  789. -rwxr-xr-x 1 root root 12261 Apr 15 22:00 10_linux
  790. -rwxr-xr-x 1 root root 11082 Apr 15 22:00 20_linux_xen
  791. -rwxr-xr-x 1 root root 11692 Apr 15 22:00 30_os-prober
  792. -rwxr-xr-x 1 root root 1418 Apr 15 22:00 30_uefi-firmware
  793. -rwxr-xr-x 1 root root 214 Apr 15 22:00 40_custom
  794. -rwxr-xr-x 1 root root 216 Apr 15 22:00 41_custom
  795. -rw-r--r-- 1 root root 483 Apr 15 22:00 README
  796. =================== sda1/etc/default/grub :
  797. # If you change this file, run 'update-grub' afterwards to update
  798. # /boot/grub/grub.cfg.
  799. # For full documentation of the options in this file, see:
  800. # info -f grub -n 'Simple configuration'
  801. GRUB_DEFAULT=0
  802. #GRUB_HIDDEN_TIMEOUT=0
  803. GRUB_HIDDEN_TIMEOUT_QUIET=true
  804. GRUB_TIMEOUT=10
  805. GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
  806. GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
  807. GRUB_CMDLINE_LINUX=""
  808. # Uncomment to enable BadRAM filtering, modify to suit your needs
  809. # This works with Linux (no patch required) and with any kernel that obtains
  810. # the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
  811. #GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
  812. # Uncomment to disable graphical terminal (grub-pc only)
  813. #GRUB_TERMINAL=console
  814. # The resolution used on graphical terminal
  815. # note that you can use only modes which your graphic card supports via VBE
  816. # you can see them in real GRUB with the command `vbeinfo'
  817. #GRUB_GFXMODE=640x480
  818. # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
  819. #GRUB_DISABLE_LINUX_UUID=true
  820. # Uncomment to disable generation of recovery mode menu entries
  821. #GRUB_DISABLE_RECOVERY="true"
  822. # Uncomment to get a beep at grub start
  823. #GRUB_INIT_TUNE="480 440 1"
  824. add_kernel_option CHOSEN_KERNEL_OPTION is : nomodeset
  825. Added kernel options in sda1/etc/default/grub
  826. *******lspci -nnk | grep -iA3 vga
  827. 00:02.0 VGA compatible controller [0300]: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor Graphics Controller [8086:0152] (rev 09)
  828. DeviceName: Onboard IGD
  829. Subsystem: ASUSTeK Computer Inc. P8H77-I Motherboard [1043:84ca]
  830. Kernel driver in use: i915
  831. *******
  832. grub-install --version
  833. grub-install (GRUB) 2.02~beta2-36ubuntu3,grub-install (GRUB) 2.
  834. Reinstall the GRUB of sda1 into the MBR of sda
  835. Installing for i386-pc platform.
  836. Installation finished. No error reported.
  837. grub-install /dev/sda: exit code of grub-install /dev/sda:0
  838. chroot /mnt/boot-sav/sda1 update-grub
  839. Generating grub configuration file ...
  840. Found linux image: /boot/vmlinuz-4.4.0-22-generic
  841. Found initrd image: /boot/initrd.img-4.4.0-22-generic
  842. Found linux image: /boot/vmlinuz-4.4.0-21-generic
  843. Found initrd image: /boot/initrd.img-4.4.0-21-generic
  844. Adding boot menu entry for EFI firmware configuration
  845. Unhide GRUB boot menu in sda1/boot/grub/grub.cfg
  846. Boot successfully repaired.
  847. You can now reboot your computer.
  848. paste.ubuntu.com ko (), using paste.debian
  849. paste.debian.net ko (), using paste2