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: Grub2 (v1.99-2.00)
  14. Boot sector info: Grub2 (v2.00) is installed in the boot sector of sda1
  15. and looks at sector 8940720 of the same hard drive for
  16. core.img. core.img is at this location and looks for
  17. (,msdos1)/boot/grub. It also embeds following
  18. components:
  19. modules
  20. -------------------------------------------------------
  21. fshelp ext2 part_msdos biosdisk
  22. -------------------------------------------------------
  23. Operating System: Ubuntu 16.04.1 LTS
  24. Boot files: /boot/grub/grub.cfg /etc/fstab
  25. /boot/grub/i386-pc/core.img
  26. sda2: __________________________________________________________________________
  27. File system: Extended Partition
  28. Boot sector type: Unknown
  29. Boot sector info:
  30. sda5: __________________________________________________________________________
  31. File system: swap
  32. Boot sector type: -
  33. Boot sector info:
  34. sdb1: __________________________________________________________________________
  35. File system: vfat
  36. Boot sector type: SYSLINUX 6.03
  37. Boot sector info: Syslinux looks at sector 32776 of /dev/sdb1 for its
  38. second stage. The integrity check of Syslinux failed.
  39. No errors found in the Boot Parameter Block.
  40. Operating System:
  41. Boot files: /boot/grub/grub.cfg /syslinux.cfg /casper/vmlinuz.efi
  42. /EFI/BOOT/grubx64.efi /ldlinux.sys
  43. ============================ Drive/Partition Info: =============================
  44. Drive: sda _____________________________________________________________________
  45. Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
  46. Units: sectors of 1 * 512 = 512 bytes
  47. Sector size (logical/physical): 512 bytes / 4096 bytes
  48. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  49. Disklabel type: dos
  50. Partition Boot Start Sector End Sector # of Sectors Id System
  51. /dev/sda1 * 2,048 1,936,959,487 1,936,957,440 83 Linux
  52. /dev/sda2 1,936,961,534 1,953,523,711 16,562,178 5 Extended
  53. /dev/sda5 1,936,961,536 1,953,523,711 16,562,176 82 Linux swap / Solaris
  54. Drive: sdb _____________________________________________________________________
  55. Disk /dev/sdb: 7.5 GiB, 8036285952 bytes, 15695871 sectors
  56. Units: sectors of 1 * 512 = 512 bytes
  57. Sector size (logical/physical): 512 bytes / 512 bytes
  58. I/O size (minimum/optimal): 512 bytes / 512 bytes
  59. Disklabel type: dos
  60. Partition Boot Start Sector End Sector # of Sectors Id System
  61. /dev/sdb1 * 2,048 15,695,870 15,693,823 c W95 FAT32 (LBA)
  62. "blkid" output: ________________________________________________________________
  63. Device UUID TYPE LABEL
  64. /dev/loop0 squashfs
  65. /dev/sda1 334815ff-0c09-43f8-a088-09373d0d6849 ext4
  66. /dev/sda5 d7fe7362-180a-4e18-930c-48bdd1fc190e swap
  67. /dev/sdb1 D8CC-8A59 vfat UBUNTU 16_0
  68. ========================= "ls -l /dev/disk/by-id" output: ======================
  69. total 0
  70. lrwxrwxrwx 1 root root 9 Aug 29 21:36 ata-ST1000LM024_HN-M101MBB_S2SWJ9KC800612 -> ../../sda
  71. lrwxrwxrwx 1 root root 10 Aug 29 21:36 ata-ST1000LM024_HN-M101MBB_S2SWJ9KC800612-part1 -> ../../sda1
  72. lrwxrwxrwx 1 root root 10 Aug 29 21:36 ata-ST1000LM024_HN-M101MBB_S2SWJ9KC800612-part2 -> ../../sda2
  73. lrwxrwxrwx 1 root root 10 Aug 29 21:36 ata-ST1000LM024_HN-M101MBB_S2SWJ9KC800612-part5 -> ../../sda5
  74. lrwxrwxrwx 1 root root 9 Aug 29 21:17 ata-hp_DVD_RAM_UJ8B2_HM93_196292 -> ../../sr0
  75. lrwxrwxrwx 1 root root 9 Aug 29 21:28 usb-SanDisk_Cruzer_Micro_351480080F128119-0:0 -> ../../sdb
  76. lrwxrwxrwx 1 root root 10 Aug 29 21:28 usb-SanDisk_Cruzer_Micro_351480080F128119-0:0-part1 -> ../../sdb1
  77. lrwxrwxrwx 1 root root 9 Aug 29 21:36 wwn-0x50004cf208182e34 -> ../../sda
  78. lrwxrwxrwx 1 root root 10 Aug 29 21:36 wwn-0x50004cf208182e34-part1 -> ../../sda1
  79. lrwxrwxrwx 1 root root 10 Aug 29 21:36 wwn-0x50004cf208182e34-part2 -> ../../sda2
  80. lrwxrwxrwx 1 root root 10 Aug 29 21:36 wwn-0x50004cf208182e34-part5 -> ../../sda5
  81. ================================ Mount points: =================================
  82. Device Mount_Point Type Options
  83. /dev/loop0 /rofs squashfs (ro,noatime)
  84. /dev/sdb1 /cdrom vfat (ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
  85. =========================== sda1/boot/grub/grub.cfg: ===========================
  86. --------------------------------------------------------------------------------
  87. #
  88. # DO NOT EDIT THIS FILE
  89. #
  90. # It is automatically generated by grub-mkconfig using templates
  91. # from /etc/grub.d and settings from /etc/default/grub
  92. #
  93. ### BEGIN /etc/grub.d/00_header ###
  94. if [ -s $prefix/grubenv ]; then
  95. set have_grubenv=true
  96. load_env
  97. fi
  98. if [ "${next_entry}" ] ; then
  99. set default="${next_entry}"
  100. set next_entry=
  101. save_env next_entry
  102. set boot_once=true
  103. else
  104. set default="0"
  105. fi
  106. if [ x"${feature_menuentry_id}" = xy ]; then
  107. menuentry_id_option="--id"
  108. else
  109. menuentry_id_option=""
  110. fi
  111. export menuentry_id_option
  112. if [ "${prev_saved_entry}" ]; then
  113. set saved_entry="${prev_saved_entry}"
  114. save_env saved_entry
  115. set prev_saved_entry=
  116. save_env prev_saved_entry
  117. set boot_once=true
  118. fi
  119. function savedefault {
  120. if [ -z "${boot_once}" ]; then
  121. saved_entry="${chosen}"
  122. save_env saved_entry
  123. fi
  124. }
  125. function recordfail {
  126. set recordfail=1
  127. if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
  128. }
  129. function load_video {
  130. if [ x$feature_all_video_module = xy ]; then
  131. insmod all_video
  132. else
  133. insmod efi_gop
  134. insmod efi_uga
  135. insmod ieee1275_fb
  136. insmod vbe
  137. insmod vga
  138. insmod video_bochs
  139. insmod video_cirrus
  140. fi
  141. }
  142. if [ x$feature_default_font_path = xy ] ; then
  143. font=unicode
  144. else
  145. insmod part_msdos
  146. insmod ext2
  147. set root='hd0,msdos1'
  148. if [ x$feature_platform_search_hint = xy ]; then
  149. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 334815ff-0c09-43f8-a088-09373d0d6849
  150. else
  151. search --no-floppy --fs-uuid --set=root 334815ff-0c09-43f8-a088-09373d0d6849
  152. fi
  153. font="/usr/share/grub/unicode.pf2"
  154. fi
  155. if loadfont $font ; then
  156. set gfxmode=auto
  157. load_video
  158. insmod gfxterm
  159. set locale_dir=$prefix/locale
  160. set lang=en_US
  161. insmod gettext
  162. fi
  163. terminal_output gfxterm
  164. if [ "${recordfail}" = 1 ] ; then
  165. set timeout=10
  166. else
  167. if [ x$feature_timeout_style = xy ] ; then
  168. set timeout_style=menu
  169. set timeout=10
  170. # Fallback normal timeout code in case the timeout_style feature is
  171. # unavailable.
  172. else
  173. set timeout=10
  174. fi
  175. fi
  176. ### END /etc/grub.d/00_header ###
  177. ### BEGIN /etc/grub.d/05_debian_theme ###
  178. set menu_color_normal=white/black
  179. set menu_color_highlight=black/light-gray
  180. if background_color 44,0,30,0; then
  181. clear
  182. fi
  183. ### END /etc/grub.d/05_debian_theme ###
  184. ### BEGIN /etc/grub.d/10_linux ###
  185. function gfxmode {
  186. set gfxpayload="${1}"
  187. if [ "${1}" = "keep" ]; then
  188. set vt_handoff=vt.handoff=7
  189. else
  190. set vt_handoff=
  191. fi
  192. }
  193. if [ "${recordfail}" != 1 ]; then
  194. if [ -e ${prefix}/gfxblacklist.txt ]; then
  195. if hwmatch ${prefix}/gfxblacklist.txt 3; then
  196. if [ ${match} = 0 ]; then
  197. set linux_gfx_mode=keep
  198. else
  199. set linux_gfx_mode=text
  200. fi
  201. else
  202. set linux_gfx_mode=text
  203. fi
  204. else
  205. set linux_gfx_mode=keep
  206. fi
  207. else
  208. set linux_gfx_mode=text
  209. fi
  210. export linux_gfx_mode
  211. menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-334815ff-0c09-43f8-a088-09373d0d6849' {
  212. recordfail
  213. load_video
  214. gfxmode $linux_gfx_mode
  215. insmod gzio
  216. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  217. insmod part_msdos
  218. insmod ext2
  219. set root='hd0,msdos1'
  220. if [ x$feature_platform_search_hint = xy ]; then
  221. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 334815ff-0c09-43f8-a088-09373d0d6849
  222. else
  223. search --no-floppy --fs-uuid --set=root 334815ff-0c09-43f8-a088-09373d0d6849
  224. fi
  225. linux /boot/vmlinuz-4.4.0-36-generic root=UUID=334815ff-0c09-43f8-a088-09373d0d6849 ro quiet splash $vt_handoff
  226. initrd /boot/initrd.img-4.4.0-36-generic
  227. }
  228. submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-334815ff-0c09-43f8-a088-09373d0d6849' {
  229. menuentry 'Ubuntu, with Linux 4.4.0-36-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-36-generic-advanced-334815ff-0c09-43f8-a088-09373d0d6849' {
  230. recordfail
  231. load_video
  232. gfxmode $linux_gfx_mode
  233. insmod gzio
  234. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  235. insmod part_msdos
  236. insmod ext2
  237. set root='hd0,msdos1'
  238. if [ x$feature_platform_search_hint = xy ]; then
  239. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 334815ff-0c09-43f8-a088-09373d0d6849
  240. else
  241. search --no-floppy --fs-uuid --set=root 334815ff-0c09-43f8-a088-09373d0d6849
  242. fi
  243. echo 'Loading Linux 4.4.0-36-generic ...'
  244. linux /boot/vmlinuz-4.4.0-36-generic root=UUID=334815ff-0c09-43f8-a088-09373d0d6849 ro quiet splash $vt_handoff
  245. echo 'Loading initial ramdisk ...'
  246. initrd /boot/initrd.img-4.4.0-36-generic
  247. }
  248. menuentry 'Ubuntu, with Linux 4.4.0-36-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-36-generic-init-upstart-334815ff-0c09-43f8-a088-09373d0d6849' {
  249. recordfail
  250. load_video
  251. gfxmode $linux_gfx_mode
  252. insmod gzio
  253. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  254. insmod part_msdos
  255. insmod ext2
  256. set root='hd0,msdos1'
  257. if [ x$feature_platform_search_hint = xy ]; then
  258. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 334815ff-0c09-43f8-a088-09373d0d6849
  259. else
  260. search --no-floppy --fs-uuid --set=root 334815ff-0c09-43f8-a088-09373d0d6849
  261. fi
  262. echo 'Loading Linux 4.4.0-36-generic ...'
  263. linux /boot/vmlinuz-4.4.0-36-generic root=UUID=334815ff-0c09-43f8-a088-09373d0d6849 ro quiet splash $vt_handoff init=/sbin/upstart
  264. echo 'Loading initial ramdisk ...'
  265. initrd /boot/initrd.img-4.4.0-36-generic
  266. }
  267. menuentry 'Ubuntu, with Linux 4.4.0-36-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-36-generic-recovery-334815ff-0c09-43f8-a088-09373d0d6849' {
  268. recordfail
  269. load_video
  270. insmod gzio
  271. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  272. insmod part_msdos
  273. insmod ext2
  274. set root='hd0,msdos1'
  275. if [ x$feature_platform_search_hint = xy ]; then
  276. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 334815ff-0c09-43f8-a088-09373d0d6849
  277. else
  278. search --no-floppy --fs-uuid --set=root 334815ff-0c09-43f8-a088-09373d0d6849
  279. fi
  280. echo 'Loading Linux 4.4.0-36-generic ...'
  281. linux /boot/vmlinuz-4.4.0-36-generic root=UUID=334815ff-0c09-43f8-a088-09373d0d6849 ro recovery nomodeset
  282. echo 'Loading initial ramdisk ...'
  283. initrd /boot/initrd.img-4.4.0-36-generic
  284. }
  285. menuentry 'Ubuntu, with Linux 4.4.0-31-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-31-generic-advanced-334815ff-0c09-43f8-a088-09373d0d6849' {
  286. recordfail
  287. load_video
  288. gfxmode $linux_gfx_mode
  289. insmod gzio
  290. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  291. insmod part_msdos
  292. insmod ext2
  293. set root='hd0,msdos1'
  294. if [ x$feature_platform_search_hint = xy ]; then
  295. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 334815ff-0c09-43f8-a088-09373d0d6849
  296. else
  297. search --no-floppy --fs-uuid --set=root 334815ff-0c09-43f8-a088-09373d0d6849
  298. fi
  299. echo 'Loading Linux 4.4.0-31-generic ...'
  300. linux /boot/vmlinuz-4.4.0-31-generic root=UUID=334815ff-0c09-43f8-a088-09373d0d6849 ro quiet splash $vt_handoff
  301. echo 'Loading initial ramdisk ...'
  302. initrd /boot/initrd.img-4.4.0-31-generic
  303. }
  304. menuentry 'Ubuntu, with Linux 4.4.0-31-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-31-generic-init-upstart-334815ff-0c09-43f8-a088-09373d0d6849' {
  305. recordfail
  306. load_video
  307. gfxmode $linux_gfx_mode
  308. insmod gzio
  309. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  310. insmod part_msdos
  311. insmod ext2
  312. set root='hd0,msdos1'
  313. if [ x$feature_platform_search_hint = xy ]; then
  314. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 334815ff-0c09-43f8-a088-09373d0d6849
  315. else
  316. search --no-floppy --fs-uuid --set=root 334815ff-0c09-43f8-a088-09373d0d6849
  317. fi
  318. echo 'Loading Linux 4.4.0-31-generic ...'
  319. linux /boot/vmlinuz-4.4.0-31-generic root=UUID=334815ff-0c09-43f8-a088-09373d0d6849 ro quiet splash $vt_handoff init=/sbin/upstart
  320. echo 'Loading initial ramdisk ...'
  321. initrd /boot/initrd.img-4.4.0-31-generic
  322. }
  323. menuentry 'Ubuntu, with Linux 4.4.0-31-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-31-generic-recovery-334815ff-0c09-43f8-a088-09373d0d6849' {
  324. recordfail
  325. load_video
  326. insmod gzio
  327. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  328. insmod part_msdos
  329. insmod ext2
  330. set root='hd0,msdos1'
  331. if [ x$feature_platform_search_hint = xy ]; then
  332. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 334815ff-0c09-43f8-a088-09373d0d6849
  333. else
  334. search --no-floppy --fs-uuid --set=root 334815ff-0c09-43f8-a088-09373d0d6849
  335. fi
  336. echo 'Loading Linux 4.4.0-31-generic ...'
  337. linux /boot/vmlinuz-4.4.0-31-generic root=UUID=334815ff-0c09-43f8-a088-09373d0d6849 ro recovery nomodeset
  338. echo 'Loading initial ramdisk ...'
  339. initrd /boot/initrd.img-4.4.0-31-generic
  340. }
  341. }
  342. ### END /etc/grub.d/10_linux ###
  343. ### BEGIN /etc/grub.d/20_linux_xen ###
  344. ### END /etc/grub.d/20_linux_xen ###
  345. ### BEGIN /etc/grub.d/30_os-prober ###
  346. ### END /etc/grub.d/30_os-prober ###
  347. ### BEGIN /etc/grub.d/30_uefi-firmware ###
  348. menuentry 'System setup' $menuentry_id_option 'uefi-firmware' {
  349. fwsetup
  350. }
  351. ### END /etc/grub.d/30_uefi-firmware ###
  352. ### BEGIN /etc/grub.d/40_custom ###
  353. # This file provides an easy way to add custom menu entries. Simply type the
  354. # menu entries you want to add after this comment. Be careful not to change
  355. # the 'exec tail' line above.
  356. ### END /etc/grub.d/40_custom ###
  357. ### BEGIN /etc/grub.d/41_custom ###
  358. if [ -f ${config_directory}/custom.cfg ]; then
  359. source ${config_directory}/custom.cfg
  360. elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
  361. source $prefix/custom.cfg;
  362. fi
  363. ### END /etc/grub.d/41_custom ###
  364. --------------------------------------------------------------------------------
  365. =============================== sda1/etc/fstab: ================================
  366. --------------------------------------------------------------------------------
  367. # /etc/fstab: static file system information.
  368. #
  369. # Use 'blkid' to print the universally unique identifier for a
  370. # device; this may be used with UUID= as a more robust way to name devices
  371. # that works even if disks are added and removed. See fstab(5).
  372. #
  373. # <file system> <mount point> <type> <options> <dump> <pass>
  374. # / was on /dev/sda1 during installation
  375. UUID=334815ff-0c09-43f8-a088-09373d0d6849 / ext4 errors=remount-ro 0 1
  376. # swap was on /dev/sda5 during installation
  377. UUID=d7fe7362-180a-4e18-930c-48bdd1fc190e none swap sw 0 0
  378. --------------------------------------------------------------------------------
  379. =================== sda1: Location of files loaded by Grub: ====================
  380. GiB - GB File Fragment(s)
  381. 196.132003784 = 210.595135488 boot/grub/grub.cfg 1
  382. 4.265262604 = 4.579790848 boot/grub/i386-pc/core.img 1
  383. 1.296600342 = 1.392214016 boot/vmlinuz-4.4.0-31-generic 1
  384. 1.601287842 = 1.719369728 boot/vmlinuz-4.4.0-36-generic 1
  385. 1.601287842 = 1.719369728 vmlinuz 1
  386. 1.296600342 = 1.392214016 vmlinuz.old 1
  387. 4.719722748 = 5.067763712 boot/initrd.img-4.4.0-31-generic 2
  388. 1.774410248 = 1.905258496 boot/initrd.img-4.4.0-36-generic 3
  389. 1.774410248 = 1.905258496 initrd.img 3
  390. 4.719722748 = 5.067763712 initrd.img.old 2
  391. =========================== sdb1/boot/grub/grub.cfg: ===========================
  392. --------------------------------------------------------------------------------
  393. if loadfont /boot/grub/font.pf2 ; then
  394. set gfxmode=auto
  395. insmod efi_gop
  396. insmod efi_uga
  397. insmod gfxterm
  398. terminal_output gfxterm
  399. fi
  400. set menu_color_normal=white/black
  401. set menu_color_highlight=black/light-gray
  402. menuentry "Try Ubuntu without installing" {
  403. set gfxpayload=keep
  404. linux /casper/vmlinuz.efi file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash ---
  405. initrd /casper/initrd.lz
  406. }
  407. menuentry "Install Ubuntu" {
  408. set gfxpayload=keep
  409. linux /casper/vmlinuz.efi file=/cdrom/preseed/ubuntu.seed boot=casper only-ubiquity quiet splash ---
  410. initrd /casper/initrd.lz
  411. }
  412. menuentry "OEM install (for manufacturers)" {
  413. set gfxpayload=keep
  414. linux /casper/vmlinuz.efi file=/cdrom/preseed/ubuntu.seed boot=casper only-ubiquity quiet splash oem-config/enable=true ---
  415. initrd /casper/initrd.lz
  416. }
  417. menuentry "Check disc for defects" {
  418. set gfxpayload=keep
  419. linux /casper/vmlinuz.efi boot=casper integrity-check quiet splash ---
  420. initrd /casper/initrd.lz
  421. }
  422. --------------------------------------------------------------------------------
  423. ============================== sdb1/syslinux.cfg: ==============================
  424. --------------------------------------------------------------------------------
  425. DEFAULT loadconfig
  426. LABEL loadconfig
  427. CONFIG /isolinux/isolinux.cfg
  428. APPEND /isolinux/
  429. --------------------------------------------------------------------------------
  430. =================== sdb1: Location of files loaded by Grub: ====================
  431. GiB - GB File Fragment(s)
  432. ?? = ?? boot/grub/grub.cfg 1
  433. ================= sdb1: Location of files loaded by Syslinux: ==================
  434. GiB - GB File Fragment(s)
  435. ?? = ?? syslinux.cfg 1
  436. ?? = ?? ldlinux.sys 1
  437. ======================== Unknown MBRs/Boot Sectors/etc: ========================
  438. Unknown BootLoader on sda2
  439. =============================== StdErr Messages: ===============================
  440. hexdump: /dev/sda2: No such device or address
  441. hexdump: /dev/sda2: No such device or address
  442. File descriptor 9 (/proc/8528/mounts) leaked on lvs invocation. Parent PID 31926: bash
  443. File descriptor 63 (pipe:[72121]) leaked on lvs invocation. Parent PID 31926: bash
  444. ADDITIONAL INFORMATION :
  445. =================== log of boot-repair 2016-08-29__21h28 ===================
  446. boot-repair version : 4ppa38
  447. boot-sav version : 4ppa38
  448. glade2script version : 3.2.3~ppa1
  449. boot-sav-extra version : 4ppa38
  450. boot-repair is executed in live-session (Ubuntu 16.04.1 LTS, xenial, Ubuntu, x86_64)
  451. CPU op-mode(s): 32-bit, 64-bit
  452. BOOT_IMAGE=/casper/vmlinuz.efi file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash ---
  453. ls: cannot access '/home/usr/.config': No such file or directory
  454. Partition 2 does not start on physical sector boundary.
  455. =================== os-prober:
  456. /dev/sda1:Ubuntu 16.04.1 LTS (16.04):Ubuntu:linux
  457. =================== blkid:
  458. /dev/sda1: UUID="334815ff-0c09-43f8-a088-09373d0d6849" TYPE="ext4" PARTUUID="4963e3a7-01"
  459. /dev/sdb1: LABEL="UBUNTU 16_0" UUID="D8CC-8A59" TYPE="vfat" PARTUUID="136f3070-01"
  460. /dev/loop0: TYPE="squashfs"
  461. /dev/sda5: UUID="d7fe7362-180a-4e18-930c-48bdd1fc190e" TYPE="swap" PARTUUID="4963e3a7-05"
  462. 1 disks with OS, 1 OS : 1 Linux, 0 MacOS, 0 Windows, 0 unknown type OS.
  463. Partition 2 does not start on physical sector boundary.
  464. Partition 2 does not start on physical sector boundary.
  465. =================== sda1/etc/grub.d/ :
  466. drwxr-xr-x 2 root root 4096 Jul 19 20:50 grub.d
  467. total 76
  468. -rwxr-xr-x 1 root root 9791 Jun 17 09:10 00_header
  469. -rwxr-xr-x 1 root root 6258 Mar 15 18:08 05_debian_theme
  470. -rwxr-xr-x 1 root root 12261 Jun 17 09:10 10_linux
  471. -rwxr-xr-x 1 root root 11082 Jun 17 09:10 20_linux_xen
  472. -rwxr-xr-x 1 root root 1992 Jan 28 2016 20_memtest86+
  473. -rwxr-xr-x 1 root root 11692 Jun 17 09:10 30_os-prober
  474. -rwxr-xr-x 1 root root 1418 Jun 17 09:10 30_uefi-firmware
  475. -rwxr-xr-x 1 root root 214 Jun 17 09:10 40_custom
  476. -rwxr-xr-x 1 root root 216 Jun 17 09:10 41_custom
  477. -rw-r--r-- 1 root root 483 Jun 17 09:10 README
  478. =================== sda1/etc/default/grub :
  479. # If you change this file, run 'update-grub' afterwards to update
  480. # /boot/grub/grub.cfg.
  481. # For full documentation of the options in this file, see:
  482. # info -f grub -n 'Simple configuration'
  483. GRUB_DEFAULT=0
  484. GRUB_HIDDEN_TIMEOUT=0
  485. GRUB_HIDDEN_TIMEOUT_QUIET=true
  486. GRUB_TIMEOUT=10
  487. GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
  488. GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
  489. GRUB_CMDLINE_LINUX=""
  490. # Uncomment to enable BadRAM filtering, modify to suit your needs
  491. # This works with Linux (no patch required) and with any kernel that obtains
  492. # the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
  493. #GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
  494. # Uncomment to disable graphical terminal (grub-pc only)
  495. #GRUB_TERMINAL=console
  496. # The resolution used on graphical terminal
  497. # note that you can use only modes which your graphic card supports via VBE
  498. # you can see them in real GRUB with the command `vbeinfo'
  499. #GRUB_GFXMODE=640x480
  500. # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
  501. #GRUB_DISABLE_LINUX_UUID=true
  502. # Uncomment to disable generation of recovery mode menu entries
  503. #GRUB_DISABLE_RECOVERY="true"
  504. # Uncomment to get a beep at grub start
  505. #GRUB_INIT_TUNE="480 440 1"
  506. =================== efibootmgr -v
  507. BootCurrent: 0000
  508. Timeout: 0 seconds
  509. BootOrder: 2001,2002,2003
  510. Boot0000* USB Hard Drive (UEFI) - SanDisk Cruzer Micro PciRoot(0x0)/Pci(0x1a,0x0)/USB(0,0)/USB(1,0)/HD(1,MBR,0x112,0x800,0xef77ff)RC
  511. Boot2001* USB Drive (UEFI) RC
  512. Boot2002* Internal CD/DVD ROM Drive (UEFI) RC
  513. =================== UEFI/Legacy mode:
  514. BIOS is EFI-compatible, and is setup in EFI-mode for this live-session.
  515. SecureBoot enabled.
  516. =================== PARTITIONS & DISKS:
  517. 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.
  518. sda : not-GPT, BIOSboot-not-needed, has-no-EFIpart, not-usb, has-os, 2048 sectors * 512 bytes
  519. =================== parted -l:
  520. Model: ATA ST1000LM024 HN-M (scsi)
  521. Disk /dev/sda: 1000GB
  522. Sector size (logical/physical): 512B/4096B
  523. Partition Table: msdos
  524. Disk Flags:
  525. Number Start End Size Type File system Flags
  526. 1 1049kB 992GB 992GB primary ext4 boot
  527. 2 992GB 1000GB 8480MB extended
  528. 5 992GB 1000GB 8480MB logical linux-swap(v1)
  529. Model: SanDisk Cruzer Micro (scsi)
  530. Disk /dev/sdb: 8036MB
  531. Sector size (logical/physical): 512B/512B
  532. Partition Table: msdos
  533. Disk Flags:
  534. Number Start End Size Type File system Flags
  535. 1 1049kB 8036MB 8035MB primary fat32 boot, lba
  536. =================== parted -lm:
  537. BYT;
  538. /dev/sda:1000GB:scsi:512:4096:msdos:ATA ST1000LM024 HN-M:;
  539. 1:1049kB:992GB:992GB:ext4::boot;
  540. 2:992GB:1000GB:8480MB:::;
  541. 5:992GB:1000GB:8480MB:linux-swap(v1)::;
  542. BYT;
  543. /dev/sdb:8036MB:scsi:512:512:msdos:SanDisk Cruzer Micro:;
  544. 1:1049kB:8036MB:8035MB:fat32::boot, lba;
  545. =================== lsblk:
  546. KNAME TYPE FSTYPE SIZE LABEL
  547. sda disk 931.5G
  548. sda1 part ext4 923.6G
  549. sda5 part swap 7.9G
  550. sdb disk 7.5G
  551. sdb1 part vfat 7.5G UBUNTU 16_0
  552. sr0 rom 1024M
  553. loop0 loop squashfs 1.4G
  554. KNAME ROTA RO RM STATE MOUNTPOINT
  555. sda 1 0 0 running
  556. sda1 1 0 0 /mnt/boot-sav/sda1
  557. sda5 1 0 0 [SWAP]
  558. sdb 1 0 1 running
  559. sdb1 1 0 1 /cdrom
  560. sr0 1 0 1 running
  561. loop0 1 1 0 /rofs
  562. =================== mount:
  563. sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
  564. proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
  565. udev on /dev type devtmpfs (rw,nosuid,relatime,size=4019680k,nr_inodes=1004920,mode=755)
  566. devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
  567. tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=806864k,mode=755)
  568. /dev/sdb1 on /cdrom type vfat (ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
  569. /dev/loop0 on /rofs type squashfs (ro,noatime)
  570. /cow on / type overlay (rw,relatime,lowerdir=//filesystem.squashfs,upperdir=/cow/upper,workdir=/cow/work)
  571. securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
  572. tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
  573. tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
  574. tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
  575. cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd)
  576. pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
  577. efivarfs on /sys/firmware/efi/efivars type efivarfs (rw,nosuid,nodev,noexec,relatime)
  578. cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
  579. cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
  580. cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
  581. cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
  582. cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
  583. cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb)
  584. cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
  585. cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
  586. cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
  587. cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
  588. systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=27,pgrp=1,timeout=0,minproto=5,maxproto=5,direct)
  589. mqueue on /dev/mqueue type mqueue (rw,relatime)
  590. debugfs on /sys/kernel/debug type debugfs (rw,relatime)
  591. hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
  592. tracefs on /sys/kernel/debug/tracing type tracefs (rw,relatime)
  593. fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
  594. tmpfs on /tmp type tmpfs (rw,nosuid,nodev,relatime)
  595. tmpfs on /run/user/999 type tmpfs (rw,nosuid,nodev,relatime,size=806864k,mode=700,uid=999,gid=999)
  596. gvfsd-fuse on /run/user/999/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=999,group_id=999)
  597. /dev/sda1 on /mnt/boot-sav/sda1 type ext4 (rw,relatime,data=ordered)
  598. =================== ls:
  599. /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
  600. /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
  601. /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
  602. /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 freefall full fuse hidraw0 hidraw1 hpet hugepages hwrng i2c-0 i2c-1 i2c-10 i2c-11 i2c-12 i2c-13 i2c-14 i2c-2 i2c-3 i2c-4 i2c-5 i2c-6 i2c-7 i2c-8 i2c-9 initctl input kfd kmsg lightnvm log mapper mcelog media0 mei0 mem memory_bandwidth mqueue net network_latency network_throughput null 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
  603. ls /dev/mapper: control
  604. Partition 2 does not start on physical sector boundary.
  605. =================== df -Th:
  606. Filesystem Type Size Used Avail Use% Mounted on
  607. udev devtmpfs 3.9G 0 3.9G 0% /dev
  608. tmpfs tmpfs 788M 9.5M 779M 2% /run
  609. /dev/sdb1 vfat 7.5G 1.5G 6.1G 19% /cdrom
  610. /dev/loop0 squashfs 1.4G 1.4G 0 100% /rofs
  611. /cow overlay 3.9G 110M 3.8G 3% /
  612. tmpfs tmpfs 3.9G 504K 3.9G 1% /dev/shm
  613. tmpfs tmpfs 5.0M 4.0K 5.0M 1% /run/lock
  614. tmpfs tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup
  615. tmpfs tmpfs 3.9G 9.4M 3.9G 1% /tmp
  616. tmpfs tmpfs 788M 84K 788M 1% /run/user/999
  617. /dev/sda1 ext4 909G 3.8G 860G 1% /mnt/boot-sav/sda1
  618. =================== fdisk -l:
  619. Disk /dev/ram0: 64 MiB, 67108864 bytes, 131072 sectors
  620. Units: sectors of 1 * 512 = 512 bytes
  621. Sector size (logical/physical): 512 bytes / 4096 bytes
  622. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  623. Disk /dev/ram1: 64 MiB, 67108864 bytes, 131072 sectors
  624. Units: sectors of 1 * 512 = 512 bytes
  625. Sector size (logical/physical): 512 bytes / 4096 bytes
  626. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  627. Disk /dev/ram2: 64 MiB, 67108864 bytes, 131072 sectors
  628. Units: sectors of 1 * 512 = 512 bytes
  629. Sector size (logical/physical): 512 bytes / 4096 bytes
  630. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  631. Disk /dev/ram3: 64 MiB, 67108864 bytes, 131072 sectors
  632. Units: sectors of 1 * 512 = 512 bytes
  633. Sector size (logical/physical): 512 bytes / 4096 bytes
  634. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  635. Disk /dev/ram4: 64 MiB, 67108864 bytes, 131072 sectors
  636. Units: sectors of 1 * 512 = 512 bytes
  637. Sector size (logical/physical): 512 bytes / 4096 bytes
  638. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  639. Disk /dev/ram5: 64 MiB, 67108864 bytes, 131072 sectors
  640. Units: sectors of 1 * 512 = 512 bytes
  641. Sector size (logical/physical): 512 bytes / 4096 bytes
  642. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  643. Disk /dev/ram6: 64 MiB, 67108864 bytes, 131072 sectors
  644. Units: sectors of 1 * 512 = 512 bytes
  645. Sector size (logical/physical): 512 bytes / 4096 bytes
  646. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  647. Disk /dev/ram7: 64 MiB, 67108864 bytes, 131072 sectors
  648. Units: sectors of 1 * 512 = 512 bytes
  649. Sector size (logical/physical): 512 bytes / 4096 bytes
  650. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  651. Disk /dev/ram8: 64 MiB, 67108864 bytes, 131072 sectors
  652. Units: sectors of 1 * 512 = 512 bytes
  653. Sector size (logical/physical): 512 bytes / 4096 bytes
  654. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  655. Disk /dev/ram9: 64 MiB, 67108864 bytes, 131072 sectors
  656. Units: sectors of 1 * 512 = 512 bytes
  657. Sector size (logical/physical): 512 bytes / 4096 bytes
  658. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  659. Disk /dev/ram10: 64 MiB, 67108864 bytes, 131072 sectors
  660. Units: sectors of 1 * 512 = 512 bytes
  661. Sector size (logical/physical): 512 bytes / 4096 bytes
  662. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  663. Disk /dev/ram11: 64 MiB, 67108864 bytes, 131072 sectors
  664. Units: sectors of 1 * 512 = 512 bytes
  665. Sector size (logical/physical): 512 bytes / 4096 bytes
  666. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  667. Disk /dev/ram12: 64 MiB, 67108864 bytes, 131072 sectors
  668. Units: sectors of 1 * 512 = 512 bytes
  669. Sector size (logical/physical): 512 bytes / 4096 bytes
  670. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  671. Disk /dev/ram13: 64 MiB, 67108864 bytes, 131072 sectors
  672. Units: sectors of 1 * 512 = 512 bytes
  673. Sector size (logical/physical): 512 bytes / 4096 bytes
  674. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  675. Disk /dev/ram14: 64 MiB, 67108864 bytes, 131072 sectors
  676. Units: sectors of 1 * 512 = 512 bytes
  677. Sector size (logical/physical): 512 bytes / 4096 bytes
  678. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  679. Disk /dev/ram15: 64 MiB, 67108864 bytes, 131072 sectors
  680. Units: sectors of 1 * 512 = 512 bytes
  681. Sector size (logical/physical): 512 bytes / 4096 bytes
  682. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  683. Disk /dev/loop0: 1.4 GiB, 1459982336 bytes, 2851528 sectors
  684. Units: sectors of 1 * 512 = 512 bytes
  685. Sector size (logical/physical): 512 bytes / 512 bytes
  686. I/O size (minimum/optimal): 512 bytes / 512 bytes
  687. Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
  688. Units: sectors of 1 * 512 = 512 bytes
  689. Sector size (logical/physical): 512 bytes / 4096 bytes
  690. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  691. Disklabel type: dos
  692. Disk identifier: 0x4963e3a7
  693. Device Boot Start End Sectors Size Id Type
  694. /dev/sda1 * 2048 1936959487 1936957440 923.6G 83 Linux
  695. /dev/sda2 1936961534 1953523711 16562178 7.9G 5 Extended
  696. /dev/sda5 1936961536 1953523711 16562176 7.9G 82 Linux swap / Solaris
  697. Disk /dev/sdb: 7.5 GiB, 8036285952 bytes, 15695871 sectors
  698. Units: sectors of 1 * 512 = 512 bytes
  699. Sector size (logical/physical): 512 bytes / 512 bytes
  700. I/O size (minimum/optimal): 512 bytes / 512 bytes
  701. Disklabel type: dos
  702. Disk identifier: 0x136f3070
  703. Device Boot Start End Sectors Size Id Type
  704. /dev/sdb1 * 2048 15695870 15693823 7.5G c W95 FAT32 (LBA)
  705. =================== Advices
  706. 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).
  707. Do you want to continue?
  708. Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
  709. =================== Recommended repair
  710. The default repair of the Boot-Repair utility will purge (in order to) and reinstall the grub2 of sda1 into the MBR of sda.
  711. Additional repair will be performed: unhide-bootmenu-10s
  712. chroot /mnt/boot-sav/sda1 apt-get -y --force-yes update
  713. Purge the GRUB of sda1
  714. grub-pc available
  715. The following additional packages will be installed:
  716. grub-common grub-pc-bin grub2-common
  717. Suggested packages:
  718. multiboot-doc grub-emu xorriso desktop-base
  719. The following packages will be upgraded:
  720. grub-common grub-pc grub-pc-bin grub2-common
  721. 4 upgraded, 0 newly installed, 0 to remove and 102 not upgraded.
  722. W: --force-yes is deprecated, use one of the options starting with --allow instead.
  723. DEBCHECK debOK, grub-pc
  724. DEBCHECK debOK
  725. shim-signed available
  726. linux-signed-generic available
  727. 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*
  728. =================== sda1/etc/grub.d/ :
  729. drwxr-xr-x 2 root root 4096 Aug 29 21:31 grub.d
  730. total 4
  731. -rwxr-xr-x 1 root root 1992 Jan 28 2016 20_memtest86+
  732. Then type: sudo chroot "/mnt/boot-sav/sda1" apt-get install -y --force-yes grub-pc linux-generic
  733. =================== sda1/etc/grub.d/ :
  734. drwxr-xr-x 2 root root 4096 Aug 29 21:33 grub.d
  735. drwxr-xr-x 2 root root 4096 Aug 29 21:31 grub.d.bak
  736. total 72
  737. -rwxr-xr-x 1 root root 9791 Jul 23 00:09 00_header
  738. -rwxr-xr-x 1 root root 6258 Mar 15 18:08 05_debian_theme
  739. -rwxr-xr-x 1 root root 12261 Jul 23 00:09 10_linux
  740. -rwxr-xr-x 1 root root 11082 Jul 23 00:09 20_linux_xen
  741. -rwxr-xr-x 1 root root 11692 Jul 23 00:09 30_os-prober
  742. -rwxr-xr-x 1 root root 1418 Jul 23 00:09 30_uefi-firmware
  743. -rwxr-xr-x 1 root root 214 Jul 23 00:09 40_custom
  744. -rwxr-xr-x 1 root root 216 Jul 23 00:09 41_custom
  745. -rw-r--r-- 1 root root 483 Jul 23 00:09 README
  746. =================== sda1/etc/default/grub :
  747. # If you change this file, run 'update-grub' afterwards to update
  748. # /boot/grub/grub.cfg.
  749. # For full documentation of the options in this file, see:
  750. # info -f grub -n 'Simple configuration'
  751. GRUB_DEFAULT=0
  752. GRUB_HIDDEN_TIMEOUT=0
  753. GRUB_HIDDEN_TIMEOUT_QUIET=true
  754. GRUB_TIMEOUT=10
  755. GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
  756. GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
  757. GRUB_CMDLINE_LINUX=""
  758. # Uncomment to enable BadRAM filtering, modify to suit your needs
  759. # This works with Linux (no patch required) and with any kernel that obtains
  760. # the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
  761. #GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
  762. # Uncomment to disable graphical terminal (grub-pc only)
  763. #GRUB_TERMINAL=console
  764. # The resolution used on graphical terminal
  765. # note that you can use only modes which your graphic card supports via VBE
  766. # you can see them in real GRUB with the command `vbeinfo'
  767. #GRUB_GFXMODE=640x480
  768. # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
  769. #GRUB_DISABLE_LINUX_UUID=true
  770. # Uncomment to disable generation of recovery mode menu entries
  771. #GRUB_DISABLE_RECOVERY="true"
  772. # Uncomment to get a beep at grub start
  773. #GRUB_INIT_TUNE="480 440 1"
  774. Unhide GRUB boot menu in sda1/etc/default/grub
  775. =================== sda1/etc/grub.d/ :
  776. drwxr-xr-x 2 root root 4096 Aug 29 21:33 grub.d
  777. drwxr-xr-x 2 root root 4096 Aug 29 21:31 grub.d.bak
  778. total 72
  779. -rwxr-xr-x 1 root root 9791 Jul 23 00:09 00_header
  780. -rwxr-xr-x 1 root root 6258 Mar 15 18:08 05_debian_theme
  781. -rwxr-xr-x 1 root root 12261 Jul 23 00:09 10_linux
  782. -rwxr-xr-x 1 root root 11082 Jul 23 00:09 20_linux_xen
  783. -rwxr-xr-x 1 root root 11692 Jul 23 00:09 30_os-prober
  784. -rwxr-xr-x 1 root root 1418 Jul 23 00:09 30_uefi-firmware
  785. -rwxr-xr-x 1 root root 214 Jul 23 00:09 40_custom
  786. -rwxr-xr-x 1 root root 216 Jul 23 00:09 41_custom
  787. -rw-r--r-- 1 root root 483 Jul 23 00:09 README
  788. =================== sda1/etc/default/grub :
  789. # If you change this file, run 'update-grub' afterwards to update
  790. # /boot/grub/grub.cfg.
  791. # For full documentation of the options in this file, see:
  792. # info -f grub -n 'Simple configuration'
  793. GRUB_DEFAULT=0
  794. #GRUB_HIDDEN_TIMEOUT=0
  795. GRUB_HIDDEN_TIMEOUT_QUIET=true
  796. GRUB_TIMEOUT=10
  797. GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
  798. GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
  799. GRUB_CMDLINE_LINUX=""
  800. # Uncomment to enable BadRAM filtering, modify to suit your needs
  801. # This works with Linux (no patch required) and with any kernel that obtains
  802. # the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
  803. #GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
  804. # Uncomment to disable graphical terminal (grub-pc only)
  805. #GRUB_TERMINAL=console
  806. # The resolution used on graphical terminal
  807. # note that you can use only modes which your graphic card supports via VBE
  808. # you can see them in real GRUB with the command `vbeinfo'
  809. #GRUB_GFXMODE=640x480
  810. # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
  811. #GRUB_DISABLE_LINUX_UUID=true
  812. # Uncomment to disable generation of recovery mode menu entries
  813. #GRUB_DISABLE_RECOVERY="true"
  814. # Uncomment to get a beep at grub start
  815. #GRUB_INIT_TUNE="480 440 1"
  816. *******lspci -nnk | grep -iA3 vga
  817. 00:02.0 VGA compatible controller [0300]: Intel Corporation 3rd Gen Core processor Graphics Controller [8086:0166] (rev 09)
  818. Subsystem: Hewlett-Packard Company 3rd Gen Core processor Graphics Controller [103c:18a5]
  819. Kernel driver in use: i915
  820. Kernel modules: i915
  821. --
  822. 01:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Thames [Radeon HD 7500M/7600M Series] [1002:6840] (rev ff)
  823. Kernel driver in use: radeon
  824. Kernel modules: radeon
  825. 07:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTL8411 PCI Express Card Reader [10ec:5289] (rev 01)
  826. *******
  827. grub-install --version
  828. grub-install (GRUB) 2.02~beta2-36ubuntu3.2,grub-install (GRUB) 2.
  829. Reinstall the GRUB of sda1 into the MBR of sda
  830. Installing for i386-pc platform.
  831. Installation finished. No error reported.
  832. grub-install /dev/sda: exit code of grub-install /dev/sda:0
  833. chroot /mnt/boot-sav/sda1 update-grub
  834. Generating grub configuration file ...
  835. Found linux image: /boot/vmlinuz-4.4.0-36-generic
  836. Found initrd image: /boot/initrd.img-4.4.0-36-generic
  837. Found linux image: /boot/vmlinuz-4.4.0-31-generic
  838. Found initrd image: /boot/initrd.img-4.4.0-31-generic
  839. Adding boot menu entry for EFI firmware configuration
  840. Unhide GRUB boot menu in sda1/boot/grub/grub.cfg
  841. Boot successfully repaired.
  842. You can now reboot your computer.
  843. paste.ubuntu.com ko (), using paste.debian
  844. paste.debian.net ko (), using paste2