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 2048
  4. of the same hard drive for core.img. core.img is at this location and
  5. looks for (,gpt2)/boot/grub. It also embeds following components:
  6. modules
  7. ---------------------------------------------------------------------------
  8. fshelp ext2 part_gpt biosdisk
  9. ---------------------------------------------------------------------------
  10. sda1: __________________________________________________________________________
  11. File system: BIOS Boot partition
  12. Boot sector type: Grub2's core.img
  13. Boot sector info:
  14. sda2: __________________________________________________________________________
  15. File system: ext4
  16. Boot sector type: Grub2 (v1.99-2.00)
  17. Boot sector info: Grub2 (v2.00) is installed in the boot sector of sda2
  18. and looks at sector 5418272 of the same hard drive for
  19. core.img. core.img is at this location and looks for
  20. (,gpt2)/boot/grub. It also embeds following components:
  21. modules
  22. -------------------------------------------------------
  23. fshelp ext2 part_gpt biosdisk
  24. -------------------------------------------------------
  25. Operating System: Ubuntu 16.10
  26. Boot files: /boot/grub/grub.cfg /etc/fstab
  27. /boot/grub/i386-pc/core.img
  28. sda3: __________________________________________________________________________
  29. File system: swap
  30. Boot sector type: -
  31. Boot sector info:
  32. sda4: __________________________________________________________________________
  33. File system: ext4
  34. Boot sector type: -
  35. Boot sector info:
  36. Operating System:
  37. Boot files:
  38. ============================ Drive/Partition Info: =============================
  39. Drive: sda _____________________________________________________________________
  40. Disk /dev/sda: 465.8 GiB, 500107862016 bytes, 976773168 sectors
  41. Units: sectors of 1 * 512 = 512 bytes
  42. Sector size (logical/physical): 512 bytes / 4096 bytes
  43. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  44. Disklabel type: gpt
  45. Partition Boot Start Sector End Sector # of Sectors Id System
  46. /dev/sda1 1 976,773,167 976,773,167 ee GPT
  47. GUID Partition Table detected.
  48. Partition Attrs Start Sector End Sector # of Sectors System
  49. /dev/sda1 2,048 208,895 206,848 BIOS Boot partition
  50. /dev/sda2 208,896 82,128,817 81,919,922 Data partition (Windows/Linux)
  51. /dev/sda3 960,389,120 976,773,119 16,384,000 Swap partition (Linux)
  52. /dev/sda4 82,128,896 960,388,661 878,259,766 Data partition (Windows/Linux)
  53. Attributes: R=Required, N=No Block IO, B=Legacy BIOS Bootable, +=More bits set
  54. "blkid" output: ________________________________________________________________
  55. Device UUID TYPE LABEL
  56. /dev/loop0 squashfs
  57. /dev/sda1 4365114f-e171-4563-88de-8430ee1da196 ext2
  58. /dev/sda2 2ec031a7-b4a4-459e-87e9-aa2ad113621a ext4
  59. /dev/sda3 39cc9b1c-1e31-4390-9799-d6d6d9c643ef swap
  60. /dev/sda4 013d58ed-a13a-4f60-a899-a1c7708fb80d ext4
  61. /dev/sr0 2016-11-02-09-30-31-00 iso9660 Ubuntu Family 16.10 A
  62. ========================= "ls -l /dev/disk/by-id" output: ======================
  63. total 0
  64. lrwxrwxrwx 1 root root 9 Jan 30 23:00 ata-HGST_HTS545050A7E680_TMA55DTF051TMP -> ../../sda
  65. lrwxrwxrwx 1 root root 10 Jan 30 23:00 ata-HGST_HTS545050A7E680_TMA55DTF051TMP-part1 -> ../../sda1
  66. lrwxrwxrwx 1 root root 10 Jan 30 23:00 ata-HGST_HTS545050A7E680_TMA55DTF051TMP-part2 -> ../../sda2
  67. lrwxrwxrwx 1 root root 10 Jan 30 23:00 ata-HGST_HTS545050A7E680_TMA55DTF051TMP-part3 -> ../../sda3
  68. lrwxrwxrwx 1 root root 10 Jan 30 23:00 ata-HGST_HTS545050A7E680_TMA55DTF051TMP-part4 -> ../../sda4
  69. lrwxrwxrwx 1 root root 9 Jan 30 22:43 ata-Slimtype_DVD_A_DA8A5SH_3208726_672305420826 -> ../../sr0
  70. lrwxrwxrwx 1 root root 9 Jan 30 23:00 wwn-0x5000cca7a0c24c97 -> ../../sda
  71. lrwxrwxrwx 1 root root 10 Jan 30 23:00 wwn-0x5000cca7a0c24c97-part1 -> ../../sda1
  72. lrwxrwxrwx 1 root root 10 Jan 30 23:00 wwn-0x5000cca7a0c24c97-part2 -> ../../sda2
  73. lrwxrwxrwx 1 root root 10 Jan 30 23:00 wwn-0x5000cca7a0c24c97-part3 -> ../../sda3
  74. lrwxrwxrwx 1 root root 10 Jan 30 23:00 wwn-0x5000cca7a0c24c97-part4 -> ../../sda4
  75. ================================ Mount points: =================================
  76. Device Mount_Point Type Options
  77. /dev/loop0 /rofs squashfs (ro,noatime)
  78. /dev/sda2 /mnt/boot-sav/sda2 ext4 (rw,relatime,data=ordered)
  79. /dev/sr0 /cdrom iso9660 (ro,noatime)
  80. =========================== sda2/boot/grub/grub.cfg: ===========================
  81. --------------------------------------------------------------------------------
  82. #
  83. # DO NOT EDIT THIS FILE
  84. #
  85. # It is automatically generated by grub-mkconfig using templates
  86. # from /etc/grub.d and settings from /etc/default/grub
  87. #
  88. ### BEGIN /etc/grub.d/00_header ###
  89. if [ -s $prefix/grubenv ]; then
  90. set have_grubenv=true
  91. load_env
  92. fi
  93. if [ "${next_entry}" ] ; then
  94. set default="${next_entry}"
  95. set next_entry=
  96. save_env next_entry
  97. set boot_once=true
  98. else
  99. set default="0"
  100. fi
  101. if [ x"${feature_menuentry_id}" = xy ]; then
  102. menuentry_id_option="--id"
  103. else
  104. menuentry_id_option=""
  105. fi
  106. export menuentry_id_option
  107. if [ "${prev_saved_entry}" ]; then
  108. set saved_entry="${prev_saved_entry}"
  109. save_env saved_entry
  110. set prev_saved_entry=
  111. save_env prev_saved_entry
  112. set boot_once=true
  113. fi
  114. function savedefault {
  115. if [ -z "${boot_once}" ]; then
  116. saved_entry="${chosen}"
  117. save_env saved_entry
  118. fi
  119. }
  120. function recordfail {
  121. set recordfail=1
  122. if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
  123. }
  124. function load_video {
  125. if [ x$feature_all_video_module = xy ]; then
  126. insmod all_video
  127. else
  128. insmod efi_gop
  129. insmod efi_uga
  130. insmod ieee1275_fb
  131. insmod vbe
  132. insmod vga
  133. insmod video_bochs
  134. insmod video_cirrus
  135. fi
  136. }
  137. if [ x$feature_default_font_path = xy ] ; then
  138. font=unicode
  139. else
  140. insmod part_gpt
  141. insmod ext2
  142. set root='hd0,gpt2'
  143. if [ x$feature_platform_search_hint = xy ]; then
  144. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 2ec031a7-b4a4-459e-87e9-aa2ad113621a
  145. else
  146. search --no-floppy --fs-uuid --set=root 2ec031a7-b4a4-459e-87e9-aa2ad113621a
  147. fi
  148. font="/usr/share/grub/unicode.pf2"
  149. fi
  150. if loadfont $font ; then
  151. set gfxmode=auto
  152. load_video
  153. insmod gfxterm
  154. set locale_dir=$prefix/locale
  155. set lang=en_US
  156. insmod gettext
  157. fi
  158. terminal_output gfxterm
  159. if [ "${recordfail}" = 1 ] ; then
  160. set timeout=10
  161. else
  162. if [ x$feature_timeout_style = xy ] ; then
  163. set timeout_style=menu
  164. set timeout=10
  165. # Fallback normal timeout code in case the timeout_style feature is
  166. # unavailable.
  167. else
  168. set timeout=10
  169. fi
  170. fi
  171. ### END /etc/grub.d/00_header ###
  172. ### BEGIN /etc/grub.d/05_debian_theme ###
  173. set menu_color_normal=white/black
  174. set menu_color_highlight=black/light-gray
  175. if background_color 44,0,30,0; then
  176. clear
  177. fi
  178. ### END /etc/grub.d/05_debian_theme ###
  179. ### BEGIN /etc/grub.d/10_linux ###
  180. function gfxmode {
  181. set gfxpayload="${1}"
  182. if [ "${1}" = "keep" ]; then
  183. set vt_handoff=vt.handoff=7
  184. else
  185. set vt_handoff=
  186. fi
  187. }
  188. if [ "${recordfail}" != 1 ]; then
  189. if [ -e ${prefix}/gfxblacklist.txt ]; then
  190. if hwmatch ${prefix}/gfxblacklist.txt 3; then
  191. if [ ${match} = 0 ]; then
  192. set linux_gfx_mode=keep
  193. else
  194. set linux_gfx_mode=text
  195. fi
  196. else
  197. set linux_gfx_mode=text
  198. fi
  199. else
  200. set linux_gfx_mode=keep
  201. fi
  202. else
  203. set linux_gfx_mode=text
  204. fi
  205. export linux_gfx_mode
  206. menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-2ec031a7-b4a4-459e-87e9-aa2ad113621a' {
  207. recordfail
  208. load_video
  209. gfxmode $linux_gfx_mode
  210. insmod gzio
  211. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  212. insmod part_gpt
  213. insmod ext2
  214. set root='hd0,gpt2'
  215. if [ x$feature_platform_search_hint = xy ]; then
  216. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 2ec031a7-b4a4-459e-87e9-aa2ad113621a
  217. else
  218. search --no-floppy --fs-uuid --set=root 2ec031a7-b4a4-459e-87e9-aa2ad113621a
  219. fi
  220. linux /boot/vmlinuz-4.8.0-34-generic root=UUID=2ec031a7-b4a4-459e-87e9-aa2ad113621a ro quiet splash $vt_handoff
  221. initrd /boot/initrd.img-4.8.0-34-generic
  222. }
  223. submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-2ec031a7-b4a4-459e-87e9-aa2ad113621a' {
  224. menuentry 'Ubuntu, with Linux 4.8.0-34-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.8.0-34-generic-advanced-2ec031a7-b4a4-459e-87e9-aa2ad113621a' {
  225. recordfail
  226. load_video
  227. gfxmode $linux_gfx_mode
  228. insmod gzio
  229. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  230. insmod part_gpt
  231. insmod ext2
  232. set root='hd0,gpt2'
  233. if [ x$feature_platform_search_hint = xy ]; then
  234. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 2ec031a7-b4a4-459e-87e9-aa2ad113621a
  235. else
  236. search --no-floppy --fs-uuid --set=root 2ec031a7-b4a4-459e-87e9-aa2ad113621a
  237. fi
  238. echo 'Loading Linux 4.8.0-34-generic ...'
  239. linux /boot/vmlinuz-4.8.0-34-generic root=UUID=2ec031a7-b4a4-459e-87e9-aa2ad113621a ro quiet splash $vt_handoff
  240. echo 'Loading initial ramdisk ...'
  241. initrd /boot/initrd.img-4.8.0-34-generic
  242. }
  243. menuentry 'Ubuntu, with Linux 4.8.0-34-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.8.0-34-generic-init-upstart-2ec031a7-b4a4-459e-87e9-aa2ad113621a' {
  244. recordfail
  245. load_video
  246. gfxmode $linux_gfx_mode
  247. insmod gzio
  248. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  249. insmod part_gpt
  250. insmod ext2
  251. set root='hd0,gpt2'
  252. if [ x$feature_platform_search_hint = xy ]; then
  253. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 2ec031a7-b4a4-459e-87e9-aa2ad113621a
  254. else
  255. search --no-floppy --fs-uuid --set=root 2ec031a7-b4a4-459e-87e9-aa2ad113621a
  256. fi
  257. echo 'Loading Linux 4.8.0-34-generic ...'
  258. linux /boot/vmlinuz-4.8.0-34-generic root=UUID=2ec031a7-b4a4-459e-87e9-aa2ad113621a ro quiet splash $vt_handoff init=/sbin/upstart
  259. echo 'Loading initial ramdisk ...'
  260. initrd /boot/initrd.img-4.8.0-34-generic
  261. }
  262. menuentry 'Ubuntu, with Linux 4.8.0-34-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.8.0-34-generic-recovery-2ec031a7-b4a4-459e-87e9-aa2ad113621a' {
  263. recordfail
  264. load_video
  265. insmod gzio
  266. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  267. insmod part_gpt
  268. insmod ext2
  269. set root='hd0,gpt2'
  270. if [ x$feature_platform_search_hint = xy ]; then
  271. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 2ec031a7-b4a4-459e-87e9-aa2ad113621a
  272. else
  273. search --no-floppy --fs-uuid --set=root 2ec031a7-b4a4-459e-87e9-aa2ad113621a
  274. fi
  275. echo 'Loading Linux 4.8.0-34-generic ...'
  276. linux /boot/vmlinuz-4.8.0-34-generic root=UUID=2ec031a7-b4a4-459e-87e9-aa2ad113621a ro recovery nomodeset
  277. echo 'Loading initial ramdisk ...'
  278. initrd /boot/initrd.img-4.8.0-34-generic
  279. }
  280. menuentry 'Ubuntu, with Linux 4.8.0-22-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.8.0-22-generic-advanced-2ec031a7-b4a4-459e-87e9-aa2ad113621a' {
  281. recordfail
  282. load_video
  283. gfxmode $linux_gfx_mode
  284. insmod gzio
  285. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  286. insmod part_gpt
  287. insmod ext2
  288. set root='hd0,gpt2'
  289. if [ x$feature_platform_search_hint = xy ]; then
  290. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 2ec031a7-b4a4-459e-87e9-aa2ad113621a
  291. else
  292. search --no-floppy --fs-uuid --set=root 2ec031a7-b4a4-459e-87e9-aa2ad113621a
  293. fi
  294. echo 'Loading Linux 4.8.0-22-generic ...'
  295. linux /boot/vmlinuz-4.8.0-22-generic root=UUID=2ec031a7-b4a4-459e-87e9-aa2ad113621a ro quiet splash $vt_handoff
  296. echo 'Loading initial ramdisk ...'
  297. initrd /boot/initrd.img-4.8.0-22-generic
  298. }
  299. menuentry 'Ubuntu, with Linux 4.8.0-22-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.8.0-22-generic-init-upstart-2ec031a7-b4a4-459e-87e9-aa2ad113621a' {
  300. recordfail
  301. load_video
  302. gfxmode $linux_gfx_mode
  303. insmod gzio
  304. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  305. insmod part_gpt
  306. insmod ext2
  307. set root='hd0,gpt2'
  308. if [ x$feature_platform_search_hint = xy ]; then
  309. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 2ec031a7-b4a4-459e-87e9-aa2ad113621a
  310. else
  311. search --no-floppy --fs-uuid --set=root 2ec031a7-b4a4-459e-87e9-aa2ad113621a
  312. fi
  313. echo 'Loading Linux 4.8.0-22-generic ...'
  314. linux /boot/vmlinuz-4.8.0-22-generic root=UUID=2ec031a7-b4a4-459e-87e9-aa2ad113621a ro quiet splash $vt_handoff init=/sbin/upstart
  315. echo 'Loading initial ramdisk ...'
  316. initrd /boot/initrd.img-4.8.0-22-generic
  317. }
  318. menuentry 'Ubuntu, with Linux 4.8.0-22-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.8.0-22-generic-recovery-2ec031a7-b4a4-459e-87e9-aa2ad113621a' {
  319. recordfail
  320. load_video
  321. insmod gzio
  322. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  323. insmod part_gpt
  324. insmod ext2
  325. set root='hd0,gpt2'
  326. if [ x$feature_platform_search_hint = xy ]; then
  327. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 2ec031a7-b4a4-459e-87e9-aa2ad113621a
  328. else
  329. search --no-floppy --fs-uuid --set=root 2ec031a7-b4a4-459e-87e9-aa2ad113621a
  330. fi
  331. echo 'Loading Linux 4.8.0-22-generic ...'
  332. linux /boot/vmlinuz-4.8.0-22-generic root=UUID=2ec031a7-b4a4-459e-87e9-aa2ad113621a ro recovery nomodeset
  333. echo 'Loading initial ramdisk ...'
  334. initrd /boot/initrd.img-4.8.0-22-generic
  335. }
  336. }
  337. ### END /etc/grub.d/10_linux ###
  338. ### BEGIN /etc/grub.d/20_linux_xen ###
  339. ### END /etc/grub.d/20_linux_xen ###
  340. ### BEGIN /etc/grub.d/30_os-prober ###
  341. ### END /etc/grub.d/30_os-prober ###
  342. ### BEGIN /etc/grub.d/30_uefi-firmware ###
  343. menuentry 'System setup' $menuentry_id_option 'uefi-firmware' {
  344. fwsetup
  345. }
  346. ### END /etc/grub.d/30_uefi-firmware ###
  347. ### BEGIN /etc/grub.d/40_custom ###
  348. # This file provides an easy way to add custom menu entries. Simply type the
  349. # menu entries you want to add after this comment. Be careful not to change
  350. # the 'exec tail' line above.
  351. ### END /etc/grub.d/40_custom ###
  352. ### BEGIN /etc/grub.d/41_custom ###
  353. if [ -f ${config_directory}/custom.cfg ]; then
  354. source ${config_directory}/custom.cfg
  355. elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
  356. source $prefix/custom.cfg;
  357. fi
  358. ### END /etc/grub.d/41_custom ###
  359. --------------------------------------------------------------------------------
  360. =============================== sda2/etc/fstab: ================================
  361. --------------------------------------------------------------------------------
  362. # /etc/fstab: static file system information.
  363. #
  364. # Use 'blkid' to print the universally unique identifier for a
  365. # device; this may be used with UUID= as a more robust way to name devices
  366. # that works even if disks are added and removed. See fstab(5).
  367. #
  368. # <file system> <mount point> <type> <options> <dump> <pass>
  369. # / was on /dev/sda2 during installation
  370. UUID=2ec031a7-b4a4-459e-87e9-aa2ad113621a / ext4 errors=remount-ro 0 1
  371. # /home was on /dev/sda4 during installation
  372. UUID=013d58ed-a13a-4f60-a899-a1c7708fb80d /home ext4 defaults 0 2
  373. # swap was on /dev/sda3 during installation
  374. UUID=39cc9b1c-1e31-4390-9799-d6d6d9c643ef none swap sw 0 0
  375. --------------------------------------------------------------------------------
  376. =================== sda2: Location of files loaded by Grub: ====================
  377. GiB - GB File Fragment(s)
  378. 0.099617004 = 0.106962944 boot/grub/grub.cfg 1
  379. 4.431297302 = 4.758069248 boot/grub/i386-pc/core.img 1
  380. 1.286258698 = 1.381109760 boot/vmlinuz-4.8.0-22-generic 1
  381. 1.799346924 = 1.932034048 boot/vmlinuz-4.8.0-34-generic 1
  382. 1.799346924 = 1.932034048 vmlinuz 1
  383. 1.286258698 = 1.381109760 vmlinuz.old 1
  384. 1.606678009 = 1.725157376 boot/initrd.img-4.8.0-22-generic 3
  385. 1.988899231 = 2.135564288 boot/initrd.img-4.8.0-34-generic 3
  386. 1.988899231 = 2.135564288 initrd.img 3
  387. 1.606678009 = 1.725157376 initrd.img.old 3
  388. =============================== StdErr Messages: ===============================
  389. File descriptor 63 (pipe:[71442]) leaked on lvs invocation. Parent PID 14157: bash
  390. ADDITIONAL INFORMATION :
  391. =================== log of boot-repair 2017-01-30__22h44 ===================
  392. boot-repair version : 4ppa40
  393. boot-sav version : 4ppa40
  394. glade2script version : 3.2.3~ppa1
  395. boot-sav-extra version : 4ppa40
  396. Warning: failed to translate partition name
  397. Warning: failed to translate partition name
  398. Warning: Unable to open /dev/sr0 read-write (Read-only file system). /dev/sr0 has been opened read-only.
  399. Error: Can't have a partition outside the disk!
  400. Warning: failed to translate partition name
  401. Warning: failed to translate partition name
  402. Warning: Unable to open /dev/sr0 read-write (Read-only file system). /dev/sr0 has been opened read-only.
  403. Error: Can't have a partition outside the disk!
  404. boot-repair is executed in live-session (Ubuntu 16.10, yakkety, Ubuntu, x86_64)
  405. CPU op-mode(s): 32-bit, 64-bit
  406. BOOT_IMAGE=/ub64/casper/vmlinuz.efi file=/cdrom/ub64/preseed/ubuntu.seed boot=casper quiet splash ---
  407. ls: cannot access '/home/usr/.config': No such file or directory
  408. =================== os-prober:
  409. /dev/sda2:Ubuntu 16.10 (16.10):Ubuntu:linux
  410. =================== blkid:
  411. /dev/sda1: UUID="4365114f-e171-4563-88de-8430ee1da196" TYPE="ext2" PARTUUID="4fb47903-ab2b-440f-83be-d8e128ed6a73"
  412. /dev/sda2: UUID="2ec031a7-b4a4-459e-87e9-aa2ad113621a" TYPE="ext4" PTTYPE="dos" PARTLABEL="SystM-CM-(me" PARTUUID="b3d45ff6-d2cf-4499-b442-a982e671ec2c"
  413. /dev/sda4: UUID="013d58ed-a13a-4f60-a899-a1c7708fb80d" TYPE="ext4" PARTLABEL="DonnM-CM-)es" PARTUUID="617128b3-4852-4282-a10e-be16e2ee458a"
  414. /dev/sr0: UUID="2016-11-02-09-30-31-00" LABEL="Ubuntu Family 16.10 A" TYPE="iso9660" PTTYPE="dos"
  415. /dev/loop0: TYPE="squashfs"
  416. /dev/sda3: UUID="39cc9b1c-1e31-4390-9799-d6d6d9c643ef" TYPE="swap" PARTUUID="8fd6efdf-9ee5-4f01-b31c-4970a32f9e78"
  417. 1 disks with OS, 1 OS : 1 Linux, 0 MacOS, 0 Windows, 0 unknown type OS.
  418. =================== sda2/etc/grub.d/ :
  419. drwxr-xr-x 2 root root 4096 Oct 12 20:48 grub.d
  420. total 76
  421. -rwxr-xr-x 1 root root 9791 Sep 6 14:10 00_header
  422. -rwxr-xr-x 1 root root 6258 Mar 15 2016 05_debian_theme
  423. -rwxr-xr-x 1 root root 12261 Sep 6 14:10 10_linux
  424. -rwxr-xr-x 1 root root 11082 Sep 6 14:10 20_linux_xen
  425. -rwxr-xr-x 1 root root 1992 Jan 28 2016 20_memtest86+
  426. -rwxr-xr-x 1 root root 11692 Sep 6 14:10 30_os-prober
  427. -rwxr-xr-x 1 root root 1418 Sep 6 14:10 30_uefi-firmware
  428. -rwxr-xr-x 1 root root 214 Sep 6 14:10 40_custom
  429. -rwxr-xr-x 1 root root 216 Sep 6 14:10 41_custom
  430. -rw-r--r-- 1 root root 483 Sep 6 14:10 README
  431. =================== sda2/etc/default/grub :
  432. # If you change this file, run 'update-grub' afterwards to update
  433. # /boot/grub/grub.cfg.
  434. # For full documentation of the options in this file, see:
  435. # info -f grub -n 'Simple configuration'
  436. GRUB_DEFAULT=0
  437. GRUB_HIDDEN_TIMEOUT=0
  438. GRUB_HIDDEN_TIMEOUT_QUIET=true
  439. GRUB_TIMEOUT=10
  440. GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
  441. GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
  442. GRUB_CMDLINE_LINUX=""
  443. # Uncomment to enable BadRAM filtering, modify to suit your needs
  444. # This works with Linux (no patch required) and with any kernel that obtains
  445. # the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
  446. #GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
  447. # Uncomment to disable graphical terminal (grub-pc only)
  448. #GRUB_TERMINAL=console
  449. # The resolution used on graphical terminal
  450. # note that you can use only modes which your graphic card supports via VBE
  451. # you can see them in real GRUB with the command `vbeinfo'
  452. #GRUB_GFXMODE=640x480
  453. # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
  454. #GRUB_DISABLE_LINUX_UUID=true
  455. # Uncomment to disable generation of recovery mode menu entries
  456. #GRUB_DISABLE_RECOVERY="true"
  457. # Uncomment to get a beep at grub start
  458. #GRUB_INIT_TUNE="480 440 1"
  459. =================== efibootmgr -v
  460. BootCurrent: 0004
  461. Timeout: 0 seconds
  462. BootOrder: 0004,0002,0003
  463. Boot0002* CD/DVD Drive BBS(CDROM,,0x0)AMGOAMNO........o.S.l.i.m.t.y.p.e. .D.V.D. .A. . .D.A.8.A.5.S.H....................A...........................>..Gd-.;.A..MQ..L.2.3.8.0.2.7. .6.7.6.3.2.5.0.2.4.8.0.6.2......AMBO
  464. Boot0003* Network Card BBS(Network,,0x0)AMGOAMNO........k.R.e.a.l.t.e.k. .P.X.E. .B.0.4. .D.0.0.........................rN.D+..,............<..Gd-.;.A..MQ..L.R.e.a.l.t.e.k. .P.X.E. .B.0.4. .D.0.0......AMBO
  465. Boot0004* UEFI: Slimtype DVD A DA8A5SH PciRoot(0x0)/Pci(0x1f,0x2)/Sata(2,65535,0)/CDROM(1,0x379,0x12c0)AMBO
  466. =================== UEFI/Legacy mode:
  467. BIOS is EFI-compatible, and is setup in EFI-mode for this live-session.
  468. SecureBoot disabled. (maybe sec-boot, Please report this message to [email protected])
  469. =================== PARTITIONS & DISKS:
  470. sda1 : 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/sda1.
  471. sda2 : 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, not-far, /mnt/boot-sav/sda2.
  472. sda4 : 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, farbios, /mnt/boot-sav/sda4.
  473. sda : GPT, BIOS_boot, has-no-EFIpart, not-usb, has-os, 2048 sectors * 512 bytes
  474. =================== parted -l:
  475. Model: ATA HGST HTS545050A7 (scsi)
  476. Disk /dev/sda: 500GB
  477. Sector size (logical/physical): 512B/4096B
  478. Partition Table: gpt
  479. Disk Flags:
  480. Number Start End Size File system Name Flags
  481. 1 1049kB 107MB 106MB ext2 bios_grub
  482. 2 107MB 42.0GB 41.9GB ext4 msftdata
  483. 4 42.0GB 492GB 450GB ext4 msftdata
  484. 3 492GB 500GB 8389MB linux-swap(v1)
  485. Model: Slimtype DVD A DA8A5SH (scsi)
  486. Disk /dev/sr0: 4150MB
  487. Sector size (logical/physical): 2048B/2048B
  488. Partition Table: unknown
  489. Disk Flags:
  490. =================== parted -lm:
  491. BYT;
  492. /dev/sda:500GB:scsi:512:4096:gpt:ATA HGST HTS545050A7:;
  493. 1:1049kB:107MB:106MB:ext2::bios_grub;
  494. 2:107MB:42.0GB:41.9GB:ext4::msftdata;
  495. 4:42.0GB:492GB:450GB:ext4::msftdata;
  496. 3:492GB:500GB:8389MB:linux-swap(v1)::;
  497. BYT;
  498. /dev/sr0:4150MB:scsi:2048:2048:unknown:Slimtype DVD A DA8A5SH:;
  499. =================== lsblk:
  500. KNAME TYPE FSTYPE SIZE LABEL
  501. sr0 rom iso9660 3.9G Ubuntu Family 16.10 A
  502. loop0 loop squashfs 1.4G
  503. sda disk 465.8G
  504. sda4 part ext4 418.8G
  505. sda2 part ext4 39.1G
  506. sda3 part swap 7.8G
  507. sda1 part ext2 101M
  508. KNAME ROTA RO RM STATE MOUNTPOINT
  509. sr0 1 0 1 running /cdrom
  510. loop0 1 1 0 /rofs
  511. sda 1 0 0 running
  512. sda4 1 0 0 /mnt/boot-sav/sda4
  513. sda2 1 0 0 /mnt/boot-sav/sda2
  514. sda3 1 0 0 [SWAP]
  515. sda1 1 0 0 /mnt/boot-sav/sda1
  516. =================== mount:
  517. sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
  518. proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
  519. udev on /dev type devtmpfs (rw,nosuid,relatime,size=1947684k,nr_inodes=486921,mode=755)
  520. devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
  521. tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=392660k,mode=755)
  522. /dev/sr0 on /cdrom type iso9660 (ro,noatime)
  523. /dev/loop0 on /rofs type squashfs (ro,noatime)
  524. aufs on / type aufs (rw,noatime,si=2bf57bd83a47f620)
  525. securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
  526. tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
  527. tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
  528. tmpfs on /sys/fs/cgroup type tmpfs (rw,mode=755)
  529. cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd)
  530. pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
  531. efivarfs on /sys/firmware/efi/efivars type efivarfs (rw,nosuid,nodev,noexec,relatime)
  532. cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids,release_agent=/run/cgmanager/agents/cgm-release-agent.pids)
  533. cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
  534. cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
  535. cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
  536. cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
  537. cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
  538. cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event,release_agent=/run/cgmanager/agents/cgm-release-agent.perf_event)
  539. cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb,release_agent=/run/cgmanager/agents/cgm-release-agent.hugetlb)
  540. cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset,clone_children)
  541. cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
  542. systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=31,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=12583)
  543. debugfs on /sys/kernel/debug type debugfs (rw,relatime)
  544. mqueue on /dev/mqueue type mqueue (rw,relatime)
  545. hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
  546. fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
  547. tracefs on /sys/kernel/debug/tracing type tracefs (rw,relatime)
  548. tmpfs on /tmp type tmpfs (rw,nosuid,nodev,relatime)
  549. tmpfs on /run/user/999 type tmpfs (rw,nosuid,nodev,relatime,size=392656k,mode=700,uid=999,gid=999)
  550. gvfsd-fuse on /run/user/999/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=999,group_id=999)
  551. /dev/sda1 on /mnt/boot-sav/sda1 type ext2 (rw,relatime,block_validity,barrier,user_xattr,acl,stripe=4)
  552. /dev/sda2 on /mnt/boot-sav/sda2 type ext4 (rw,relatime,data=ordered)
  553. /dev/sda4 on /mnt/boot-sav/sda4 type ext4 (rw,relatime,data=ordered)
  554. =================== ls:
  555. /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 sda2 sda3 sda4 size slaves stat subsystem trace uevent
  556. /sys/block/sr0 (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 size slaves stat subsystem trace uevent
  557. /dev (filtered): autofs block bsg btrfs-control bus cdrom cdrw char console core cpu cpu_dma_latency cuse disk dri drm_dp_aux0 dvd dvdrw 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 kvm 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 sda3 sda4 sg0 sg1 shm snapshot snd sr0 stderr stdin stdout uhid uinput urandom userio v4l vfio vga_arbiter vhci vhost-net video0 zero
  558. ls /dev/mapper: control
  559. =================== df -Th:
  560. Filesystem Type Size Used Avail Use% Mounted on
  561. udev devtmpfs 1.9G 0 1.9G 0% /dev
  562. tmpfs tmpfs 384M 12M 373M 3% /run
  563. /dev/sr0 iso9660 3.9G 3.9G 0 100% /cdrom
  564. /dev/loop0 squashfs 1.5G 1.5G 0 100% /rofs
  565. aufs aufs 1.9G 70M 1.9G 4% /
  566. tmpfs tmpfs 1.9G 25M 1.9G 2% /dev/shm
  567. tmpfs tmpfs 5.0M 4.0K 5.0M 1% /run/lock
  568. tmpfs tmpfs 1.9G 0 1.9G 0% /sys/fs/cgroup
  569. tmpfs tmpfs 1.9G 160K 1.9G 1% /tmp
  570. tmpfs tmpfs 384M 96K 384M 1% /run/user/999
  571. /dev/sda1 ext2 98M 1.6M 92M 2% /mnt/boot-sav/sda1
  572. /dev/sda2 ext4 39G 3.7G 33G 11% /mnt/boot-sav/sda2
  573. /dev/sda4 ext4 413G 125G 267G 32% /mnt/boot-sav/sda4
  574. =================== fdisk -l:
  575. Disk /dev/ram0: 64 MiB, 67108864 bytes, 131072 sectors
  576. Units: sectors of 1 * 512 = 512 bytes
  577. Sector size (logical/physical): 512 bytes / 4096 bytes
  578. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  579. Disk /dev/ram1: 64 MiB, 67108864 bytes, 131072 sectors
  580. Units: sectors of 1 * 512 = 512 bytes
  581. Sector size (logical/physical): 512 bytes / 4096 bytes
  582. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  583. Disk /dev/ram2: 64 MiB, 67108864 bytes, 131072 sectors
  584. Units: sectors of 1 * 512 = 512 bytes
  585. Sector size (logical/physical): 512 bytes / 4096 bytes
  586. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  587. Disk /dev/ram3: 64 MiB, 67108864 bytes, 131072 sectors
  588. Units: sectors of 1 * 512 = 512 bytes
  589. Sector size (logical/physical): 512 bytes / 4096 bytes
  590. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  591. Disk /dev/ram4: 64 MiB, 67108864 bytes, 131072 sectors
  592. Units: sectors of 1 * 512 = 512 bytes
  593. Sector size (logical/physical): 512 bytes / 4096 bytes
  594. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  595. Disk /dev/ram5: 64 MiB, 67108864 bytes, 131072 sectors
  596. Units: sectors of 1 * 512 = 512 bytes
  597. Sector size (logical/physical): 512 bytes / 4096 bytes
  598. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  599. Disk /dev/ram6: 64 MiB, 67108864 bytes, 131072 sectors
  600. Units: sectors of 1 * 512 = 512 bytes
  601. Sector size (logical/physical): 512 bytes / 4096 bytes
  602. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  603. Disk /dev/ram7: 64 MiB, 67108864 bytes, 131072 sectors
  604. Units: sectors of 1 * 512 = 512 bytes
  605. Sector size (logical/physical): 512 bytes / 4096 bytes
  606. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  607. Disk /dev/ram8: 64 MiB, 67108864 bytes, 131072 sectors
  608. Units: sectors of 1 * 512 = 512 bytes
  609. Sector size (logical/physical): 512 bytes / 4096 bytes
  610. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  611. Disk /dev/ram9: 64 MiB, 67108864 bytes, 131072 sectors
  612. Units: sectors of 1 * 512 = 512 bytes
  613. Sector size (logical/physical): 512 bytes / 4096 bytes
  614. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  615. Disk /dev/ram10: 64 MiB, 67108864 bytes, 131072 sectors
  616. Units: sectors of 1 * 512 = 512 bytes
  617. Sector size (logical/physical): 512 bytes / 4096 bytes
  618. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  619. Disk /dev/ram11: 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/ram12: 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/ram13: 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/ram14: 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/ram15: 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/loop0: 1.4 GiB, 1536253952 bytes, 3000496 sectors
  640. Units: sectors of 1 * 512 = 512 bytes
  641. Sector size (logical/physical): 512 bytes / 512 bytes
  642. I/O size (minimum/optimal): 512 bytes / 512 bytes
  643. Disk /dev/sda: 465.8 GiB, 500107862016 bytes, 976773168 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. Disklabel type: gpt
  648. Disk identifier: 2387EF34-CE79-4736-980C-9E7EB43305A5
  649. Device Start End Sectors Size Type
  650. /dev/sda1 2048 208895 206848 101M BIOS boot
  651. /dev/sda2 208896 82128817 81919922 39.1G Microsoft basic data
  652. /dev/sda3 960389120 976773119 16384000 7.8G Linux swap
  653. /dev/sda4 82128896 960388661 878259766 418.8G Microsoft basic data
  654. Partition table entries are not in disk order.
  655. =================== Advices
  656. 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).
  657. Do you want to continue?
  658. Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
  659. =================== Recommended repair
  660. The default repair of the Boot-Repair utility will purge (in order to) and reinstall the grub2 of sda2 into the MBR of sda.
  661. Additional repair will be performed: unhide-bootmenu-10s
  662. chroot /mnt/boot-sav/sda2 apt-get -y --force-yes update
  663. Purge the GRUB of sda2
  664. grub-pc available
  665. 0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 213 not upgraded.
  666. W: --force-yes is deprecated, use one of the options starting with --allow instead.
  667. DEBCHECK debOK, grub-pc
  668. DEBCHECK debOK
  669. shim-signed available
  670. linux-signed-generic available
  671. Please type: sudo chroot "/mnt/boot-sav/sda2" dpkg --configure -ansudo chroot "/mnt/boot-sav/sda2" apt-get install -fynsudo chroot "/mnt/boot-sav/sda2" apt-get purge -y --force-yes grub*-common grub-common:i386 shim-signed linux-signed*
  672. =================== sda2/etc/grub.d/ :
  673. drwxr-xr-x 2 root root 4096 Oct 12 20:48 grub.d
  674. total 76
  675. -rwxr-xr-x 1 root root 9791 Sep 6 14:10 00_header
  676. -rwxr-xr-x 1 root root 6258 Mar 15 2016 05_debian_theme
  677. -rwxr-xr-x 1 root root 12261 Sep 6 14:10 10_linux
  678. -rwxr-xr-x 1 root root 11082 Sep 6 14:10 20_linux_xen
  679. -rwxr-xr-x 1 root root 1992 Jan 28 2016 20_memtest86+
  680. -rwxr-xr-x 1 root root 11692 Sep 6 14:10 30_os-prober
  681. -rwxr-xr-x 1 root root 1418 Sep 6 14:10 30_uefi-firmware
  682. -rwxr-xr-x 1 root root 214 Sep 6 14:10 40_custom
  683. -rwxr-xr-x 1 root root 216 Sep 6 14:10 41_custom
  684. -rw-r--r-- 1 root root 483 Sep 6 14:10 README
  685. =================== sda2/etc/default/grub :
  686. # If you change this file, run 'update-grub' afterwards to update
  687. # /boot/grub/grub.cfg.
  688. # For full documentation of the options in this file, see:
  689. # info -f grub -n 'Simple configuration'
  690. GRUB_DEFAULT=0
  691. GRUB_HIDDEN_TIMEOUT=0
  692. GRUB_HIDDEN_TIMEOUT_QUIET=true
  693. GRUB_TIMEOUT=10
  694. GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
  695. GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
  696. GRUB_CMDLINE_LINUX=""
  697. # Uncomment to enable BadRAM filtering, modify to suit your needs
  698. # This works with Linux (no patch required) and with any kernel that obtains
  699. # the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
  700. #GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
  701. # Uncomment to disable graphical terminal (grub-pc only)
  702. #GRUB_TERMINAL=console
  703. # The resolution used on graphical terminal
  704. # note that you can use only modes which your graphic card supports via VBE
  705. # you can see them in real GRUB with the command `vbeinfo'
  706. #GRUB_GFXMODE=640x480
  707. # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
  708. #GRUB_DISABLE_LINUX_UUID=true
  709. # Uncomment to disable generation of recovery mode menu entries
  710. #GRUB_DISABLE_RECOVERY="true"
  711. # Uncomment to get a beep at grub start
  712. #GRUB_INIT_TUNE="480 440 1"
  713. Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
  714. =================== sda2/etc/grub.d/ :
  715. drwxr-xr-x 2 root root 4096 Jan 30 22:51 grub.d
  716. total 4
  717. -rwxr-xr-x 1 root root 1992 Jan 28 2016 20_memtest86+
  718. Then type: sudo chroot "/mnt/boot-sav/sda2" apt-get install -y --force-yes grub-pc linux-generic
  719. =================== sda2/etc/grub.d/ :
  720. drwxr-xr-x 2 root root 4096 Jan 30 22:56 grub.d
  721. drwxr-xr-x 2 root root 4096 Jan 30 22:51 grub.d.bak
  722. total 72
  723. -rwxr-xr-x 1 root root 9791 Sep 6 14:10 00_header
  724. -rwxr-xr-x 1 root root 6258 Mar 15 2016 05_debian_theme
  725. -rwxr-xr-x 1 root root 12261 Sep 6 14:10 10_linux
  726. -rwxr-xr-x 1 root root 11082 Sep 6 14:10 20_linux_xen
  727. -rwxr-xr-x 1 root root 11692 Sep 6 14:10 30_os-prober
  728. -rwxr-xr-x 1 root root 1418 Sep 6 14:10 30_uefi-firmware
  729. -rwxr-xr-x 1 root root 214 Sep 6 14:10 40_custom
  730. -rwxr-xr-x 1 root root 216 Sep 6 14:10 41_custom
  731. -rw-r--r-- 1 root root 483 Sep 6 14:10 README
  732. =================== sda2/etc/default/grub :
  733. # If you change this file, run 'update-grub' afterwards to update
  734. # /boot/grub/grub.cfg.
  735. # For full documentation of the options in this file, see:
  736. # info -f grub -n 'Simple configuration'
  737. GRUB_DEFAULT=0
  738. GRUB_HIDDEN_TIMEOUT=0
  739. GRUB_HIDDEN_TIMEOUT_QUIET=true
  740. GRUB_TIMEOUT=10
  741. GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
  742. GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
  743. GRUB_CMDLINE_LINUX=""
  744. # Uncomment to enable BadRAM filtering, modify to suit your needs
  745. # This works with Linux (no patch required) and with any kernel that obtains
  746. # the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
  747. #GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
  748. # Uncomment to disable graphical terminal (grub-pc only)
  749. #GRUB_TERMINAL=console
  750. # The resolution used on graphical terminal
  751. # note that you can use only modes which your graphic card supports via VBE
  752. # you can see them in real GRUB with the command `vbeinfo'
  753. #GRUB_GFXMODE=640x480
  754. # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
  755. #GRUB_DISABLE_LINUX_UUID=true
  756. # Uncomment to disable generation of recovery mode menu entries
  757. #GRUB_DISABLE_RECOVERY="true"
  758. # Uncomment to get a beep at grub start
  759. #GRUB_INIT_TUNE="480 440 1"
  760. Unhide GRUB boot menu in sda2/etc/default/grub
  761. =================== sda2/etc/grub.d/ :
  762. drwxr-xr-x 2 root root 4096 Jan 30 22:56 grub.d
  763. drwxr-xr-x 2 root root 4096 Jan 30 22:51 grub.d.bak
  764. total 72
  765. -rwxr-xr-x 1 root root 9791 Sep 6 14:10 00_header
  766. -rwxr-xr-x 1 root root 6258 Mar 15 2016 05_debian_theme
  767. -rwxr-xr-x 1 root root 12261 Sep 6 14:10 10_linux
  768. -rwxr-xr-x 1 root root 11082 Sep 6 14:10 20_linux_xen
  769. -rwxr-xr-x 1 root root 11692 Sep 6 14:10 30_os-prober
  770. -rwxr-xr-x 1 root root 1418 Sep 6 14:10 30_uefi-firmware
  771. -rwxr-xr-x 1 root root 214 Sep 6 14:10 40_custom
  772. -rwxr-xr-x 1 root root 216 Sep 6 14:10 41_custom
  773. -rw-r--r-- 1 root root 483 Sep 6 14:10 README
  774. =================== sda2/etc/default/grub :
  775. # If you change this file, run 'update-grub' afterwards to update
  776. # /boot/grub/grub.cfg.
  777. # For full documentation of the options in this file, see:
  778. # info -f grub -n 'Simple configuration'
  779. GRUB_DEFAULT=0
  780. #GRUB_HIDDEN_TIMEOUT=0
  781. GRUB_HIDDEN_TIMEOUT_QUIET=true
  782. GRUB_TIMEOUT=10
  783. GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
  784. GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
  785. GRUB_CMDLINE_LINUX=""
  786. # Uncomment to enable BadRAM filtering, modify to suit your needs
  787. # This works with Linux (no patch required) and with any kernel that obtains
  788. # the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
  789. #GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
  790. # Uncomment to disable graphical terminal (grub-pc only)
  791. #GRUB_TERMINAL=console
  792. # The resolution used on graphical terminal
  793. # note that you can use only modes which your graphic card supports via VBE
  794. # you can see them in real GRUB with the command `vbeinfo'
  795. #GRUB_GFXMODE=640x480
  796. # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
  797. #GRUB_DISABLE_LINUX_UUID=true
  798. # Uncomment to disable generation of recovery mode menu entries
  799. #GRUB_DISABLE_RECOVERY="true"
  800. # Uncomment to get a beep at grub start
  801. #GRUB_INIT_TUNE="480 440 1"
  802. *******lspci -nnk | grep -iA3 vga
  803. 00:02.0 VGA compatible controller [0300]: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller [8086:0116] (rev 09)
  804. Subsystem: ASUSTeK Computer Inc. 2nd Generation Core Processor Family Integrated Graphics Controller [1043:21fa]
  805. Kernel driver in use: i915
  806. Kernel modules: i915
  807. *******
  808. grub-install --version
  809. grub-install (GRUB) 2.02~beta2-36ubuntu11,grub-install (GRUB) 2.
  810. Reinstall the GRUB of sda2 into the MBR of sda
  811. Installing for i386-pc platform.
  812. Installation finished. No error reported.
  813. grub-install /dev/sda: exit code of grub-install /dev/sda:0
  814. chroot /mnt/boot-sav/sda2 update-grub
  815. Generating grub configuration file ...
  816. Found linux image: /boot/vmlinuz-4.8.0-34-generic
  817. Found initrd image: /boot/initrd.img-4.8.0-34-generic
  818. Found linux image: /boot/vmlinuz-4.8.0-22-generic
  819. Found initrd image: /boot/initrd.img-4.8.0-22-generic
  820. Adding boot menu entry for EFI firmware configuration
  821. umount: /mnt/boot-sav/sda2/dev/pts: target is busy
  822. (In some cases useful info about processes that
  823. use the device is found by lsof(8) or fuser(1).)
  824. umount: /mnt/boot-sav/sda2/dev: target is busy
  825. (In some cases useful info about processes that
  826. use the device is found by lsof(8) or fuser(1).)
  827. Unhide GRUB boot menu in sda2/boot/grub/grub.cfg
  828. Boot successfully repaired.
  829. You can now reboot your computer.
  830. paste.ubuntu.com ko (), using paste.debian
  831. paste.debian.net ko (), using paste2