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. => libparted MBR boot code 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.2 LTS
  16. Boot files: /boot/grub/grub.cfg /etc/fstab
  17. /boot/grub/i386-pc/core.img
  18. sda2: __________________________________________________________________________
  19. File system: swap
  20. Boot sector type: -
  21. Boot sector info:
  22. sda3: __________________________________________________________________________
  23. File system: ext4
  24. Boot sector type: -
  25. Boot sector info:
  26. Operating System:
  27. Boot files:
  28. sdb1: __________________________________________________________________________
  29. File system: ext4
  30. Boot sector type: -
  31. Boot sector info:
  32. Operating System:
  33. Boot files:
  34. ============================ Drive/Partition Info: =============================
  35. Drive: sda _____________________________________________________________________
  36. Disk /dev/sda: 119.2 GiB, 128035676160 bytes, 250069680 sectors
  37. Units: sectors of 1 * 512 = 512 bytes
  38. Sector size (logical/physical): 512 bytes / 4096 bytes
  39. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  40. Disklabel type: dos
  41. Partition Boot Start Sector End Sector # of Sectors Id System
  42. /dev/sda1 * 2,048 98,908,159 98,906,112 83 Linux
  43. /dev/sda2 98,908,160 106,721,279 7,813,120 82 Linux swap / Solaris
  44. /dev/sda3 106,721,280 250,066,943 143,345,664 83 Linux
  45. Drive: sdb _____________________________________________________________________
  46. Disk /dev/sdb: 465.8 GiB, 500107862016 bytes, 976773168 sectors
  47. Units: sectors of 1 * 512 = 512 bytes
  48. Sector size (logical/physical): 512 bytes / 4096 bytes
  49. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  50. Disklabel type: dos
  51. Partition Boot Start Sector End Sector # of Sectors Id System
  52. /dev/sdb1 2,048 976,771,071 976,769,024 83 Linux
  53. "blkid" output: ________________________________________________________________
  54. Device UUID TYPE LABEL
  55. /dev/sda1 794a2b22-3832-462d-8df6-766104bb575c ext4
  56. /dev/sda2 d724477a-7822-48be-bc34-e1e4c06ef8ca swap
  57. /dev/sda3 461ecf59-fe45-4b96-8b02-423811b1dd66 ext4
  58. /dev/sdb1 56dfefc2-26f4-4aaa-8c15-1082ff3cafc5 ext4
  59. ========================= "ls -l /dev/disk/by-id" output: ======================
  60. total 0
  61. lrwxrwxrwx 1 root root 9 Apr 16 23:40 ata-Crucial_CT128M550SSD3_14300DBCB9AF -> ../../sda
  62. lrwxrwxrwx 1 root root 10 Apr 16 23:40 ata-Crucial_CT128M550SSD3_14300DBCB9AF-part1 -> ../../sda1
  63. lrwxrwxrwx 1 root root 10 Apr 16 23:40 ata-Crucial_CT128M550SSD3_14300DBCB9AF-part2 -> ../../sda2
  64. lrwxrwxrwx 1 root root 10 Apr 16 23:40 ata-Crucial_CT128M550SSD3_14300DBCB9AF-part3 -> ../../sda3
  65. lrwxrwxrwx 1 root root 9 Apr 16 23:40 ata-ST500LM012_HN-M500MBB_S2ZYJ9EFB03134 -> ../../sdb
  66. lrwxrwxrwx 1 root root 10 Apr 16 23:40 ata-ST500LM012_HN-M500MBB_S2ZYJ9EFB03134-part1 -> ../../sdb1
  67. lrwxrwxrwx 1 root root 9 Apr 16 23:36 ata-TSSTcorp_CDDVDW_SU-208FB_S1296YIDA007VW -> ../../sr0
  68. lrwxrwxrwx 1 root root 9 Apr 16 23:40 wwn-0x50004cf20e78b61b -> ../../sdb
  69. lrwxrwxrwx 1 root root 10 Apr 16 23:40 wwn-0x50004cf20e78b61b-part1 -> ../../sdb1
  70. lrwxrwxrwx 1 root root 9 Apr 16 23:40 wwn-0x500a07510dbcb9af -> ../../sda
  71. lrwxrwxrwx 1 root root 10 Apr 16 23:40 wwn-0x500a07510dbcb9af-part1 -> ../../sda1
  72. lrwxrwxrwx 1 root root 10 Apr 16 23:40 wwn-0x500a07510dbcb9af-part2 -> ../../sda2
  73. lrwxrwxrwx 1 root root 10 Apr 16 23:40 wwn-0x500a07510dbcb9af-part3 -> ../../sda3
  74. ================================ Mount points: =================================
  75. Device Mount_Point Type Options
  76. /dev/sda1 / ext4 (rw,relatime,errors=remount-ro,data=ordered)
  77. /dev/sda3 /home ext4 (rw,relatime,data=ordered)
  78. /dev/sdb1 /data ext4 (rw,relatime,data=ordered)
  79. =========================== sda1/boot/grub/grub.cfg: ===========================
  80. --------------------------------------------------------------------------------
  81. #
  82. # DO NOT EDIT THIS FILE
  83. #
  84. # It is automatically generated by grub-mkconfig using templates
  85. # from /etc/grub.d and settings from /etc/default/grub
  86. #
  87. ### BEGIN /etc/grub.d/00_header ###
  88. if [ -s $prefix/grubenv ]; then
  89. set have_grubenv=true
  90. load_env
  91. fi
  92. if [ "${next_entry}" ] ; then
  93. set default="${next_entry}"
  94. set next_entry=
  95. save_env next_entry
  96. set boot_once=true
  97. else
  98. set default="0"
  99. fi
  100. if [ x"${feature_menuentry_id}" = xy ]; then
  101. menuentry_id_option="--id"
  102. else
  103. menuentry_id_option=""
  104. fi
  105. export menuentry_id_option
  106. if [ "${prev_saved_entry}" ]; then
  107. set saved_entry="${prev_saved_entry}"
  108. save_env saved_entry
  109. set prev_saved_entry=
  110. save_env prev_saved_entry
  111. set boot_once=true
  112. fi
  113. function savedefault {
  114. if [ -z "${boot_once}" ]; then
  115. saved_entry="${chosen}"
  116. save_env saved_entry
  117. fi
  118. }
  119. function recordfail {
  120. set recordfail=1
  121. if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
  122. }
  123. function load_video {
  124. if [ x$feature_all_video_module = xy ]; then
  125. insmod all_video
  126. else
  127. insmod efi_gop
  128. insmod efi_uga
  129. insmod ieee1275_fb
  130. insmod vbe
  131. insmod vga
  132. insmod video_bochs
  133. insmod video_cirrus
  134. fi
  135. }
  136. if [ x$feature_default_font_path = xy ] ; then
  137. font=unicode
  138. else
  139. insmod part_msdos
  140. insmod ext2
  141. set root='hd0,msdos1'
  142. if [ x$feature_platform_search_hint = xy ]; then
  143. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 794a2b22-3832-462d-8df6-766104bb575c
  144. else
  145. search --no-floppy --fs-uuid --set=root 794a2b22-3832-462d-8df6-766104bb575c
  146. fi
  147. font="/usr/share/grub/unicode.pf2"
  148. fi
  149. if loadfont $font ; then
  150. set gfxmode=auto
  151. load_video
  152. insmod gfxterm
  153. set locale_dir=$prefix/locale
  154. set lang=fr_FR
  155. insmod gettext
  156. fi
  157. terminal_output gfxterm
  158. if [ "${recordfail}" = 1 ] ; then
  159. set timeout=30
  160. else
  161. if [ x$feature_timeout_style = xy ] ; then
  162. set timeout_style=hidden
  163. set timeout=0
  164. # Fallback hidden-timeout code in case the timeout_style feature is
  165. # unavailable.
  166. elif sleep --interruptible 0 ; then
  167. set timeout=0
  168. fi
  169. fi
  170. ### END /etc/grub.d/00_header ###
  171. ### BEGIN /etc/grub.d/05_debian_theme ###
  172. set menu_color_normal=white/black
  173. set menu_color_highlight=black/light-gray
  174. if background_color 44,0,30,0; then
  175. clear
  176. fi
  177. ### END /etc/grub.d/05_debian_theme ###
  178. ### BEGIN /etc/grub.d/10_linux ###
  179. function gfxmode {
  180. set gfxpayload="${1}"
  181. if [ "${1}" = "keep" ]; then
  182. set vt_handoff=vt.handoff=7
  183. else
  184. set vt_handoff=
  185. fi
  186. }
  187. if [ "${recordfail}" != 1 ]; then
  188. if [ -e ${prefix}/gfxblacklist.txt ]; then
  189. if hwmatch ${prefix}/gfxblacklist.txt 3; then
  190. if [ ${match} = 0 ]; then
  191. set linux_gfx_mode=keep
  192. else
  193. set linux_gfx_mode=text
  194. fi
  195. else
  196. set linux_gfx_mode=text
  197. fi
  198. else
  199. set linux_gfx_mode=keep
  200. fi
  201. else
  202. set linux_gfx_mode=text
  203. fi
  204. export linux_gfx_mode
  205. menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-794a2b22-3832-462d-8df6-766104bb575c' {
  206. recordfail
  207. load_video
  208. gfxmode $linux_gfx_mode
  209. insmod gzio
  210. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  211. insmod part_msdos
  212. insmod ext2
  213. set root='hd0,msdos1'
  214. if [ x$feature_platform_search_hint = xy ]; then
  215. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 794a2b22-3832-462d-8df6-766104bb575c
  216. else
  217. search --no-floppy --fs-uuid --set=root 794a2b22-3832-462d-8df6-766104bb575c
  218. fi
  219. linux /boot/vmlinuz-4.4.0-72-generic root=UUID=794a2b22-3832-462d-8df6-766104bb575c ro quiet splash $vt_handoff
  220. initrd /boot/initrd.img-4.4.0-72-generic
  221. }
  222. submenu 'Options avancées pour Ubuntu' $menuentry_id_option 'gnulinux-advanced-794a2b22-3832-462d-8df6-766104bb575c' {
  223. menuentry 'Ubuntu, avec Linux 4.4.0-72-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-72-generic-advanced-794a2b22-3832-462d-8df6-766104bb575c' {
  224. recordfail
  225. load_video
  226. gfxmode $linux_gfx_mode
  227. insmod gzio
  228. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  229. insmod part_msdos
  230. insmod ext2
  231. set root='hd0,msdos1'
  232. if [ x$feature_platform_search_hint = xy ]; then
  233. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 794a2b22-3832-462d-8df6-766104bb575c
  234. else
  235. search --no-floppy --fs-uuid --set=root 794a2b22-3832-462d-8df6-766104bb575c
  236. fi
  237. echo 'Chargement de Linux 4.4.0-72-generic…'
  238. linux /boot/vmlinuz-4.4.0-72-generic root=UUID=794a2b22-3832-462d-8df6-766104bb575c ro quiet splash $vt_handoff
  239. echo 'Chargement du disque mémoire initial…'
  240. initrd /boot/initrd.img-4.4.0-72-generic
  241. }
  242. menuentry 'Ubuntu, with Linux 4.4.0-72-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-72-generic-init-upstart-794a2b22-3832-462d-8df6-766104bb575c' {
  243. recordfail
  244. load_video
  245. gfxmode $linux_gfx_mode
  246. insmod gzio
  247. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  248. insmod part_msdos
  249. insmod ext2
  250. set root='hd0,msdos1'
  251. if [ x$feature_platform_search_hint = xy ]; then
  252. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 794a2b22-3832-462d-8df6-766104bb575c
  253. else
  254. search --no-floppy --fs-uuid --set=root 794a2b22-3832-462d-8df6-766104bb575c
  255. fi
  256. echo 'Chargement de Linux 4.4.0-72-generic…'
  257. linux /boot/vmlinuz-4.4.0-72-generic root=UUID=794a2b22-3832-462d-8df6-766104bb575c ro quiet splash $vt_handoff init=/sbin/upstart
  258. echo 'Chargement du disque mémoire initial…'
  259. initrd /boot/initrd.img-4.4.0-72-generic
  260. }
  261. menuentry 'Ubuntu, with Linux 4.4.0-72-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-72-generic-recovery-794a2b22-3832-462d-8df6-766104bb575c' {
  262. recordfail
  263. load_video
  264. insmod gzio
  265. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  266. insmod part_msdos
  267. insmod ext2
  268. set root='hd0,msdos1'
  269. if [ x$feature_platform_search_hint = xy ]; then
  270. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 794a2b22-3832-462d-8df6-766104bb575c
  271. else
  272. search --no-floppy --fs-uuid --set=root 794a2b22-3832-462d-8df6-766104bb575c
  273. fi
  274. echo 'Chargement de Linux 4.4.0-72-generic…'
  275. linux /boot/vmlinuz-4.4.0-72-generic root=UUID=794a2b22-3832-462d-8df6-766104bb575c ro recovery nomodeset
  276. echo 'Chargement du disque mémoire initial…'
  277. initrd /boot/initrd.img-4.4.0-72-generic
  278. }
  279. menuentry 'Ubuntu, avec Linux 4.4.0-71-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-71-generic-advanced-794a2b22-3832-462d-8df6-766104bb575c' {
  280. recordfail
  281. load_video
  282. gfxmode $linux_gfx_mode
  283. insmod gzio
  284. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  285. insmod part_msdos
  286. insmod ext2
  287. set root='hd0,msdos1'
  288. if [ x$feature_platform_search_hint = xy ]; then
  289. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 794a2b22-3832-462d-8df6-766104bb575c
  290. else
  291. search --no-floppy --fs-uuid --set=root 794a2b22-3832-462d-8df6-766104bb575c
  292. fi
  293. echo 'Chargement de Linux 4.4.0-71-generic…'
  294. linux /boot/vmlinuz-4.4.0-71-generic root=UUID=794a2b22-3832-462d-8df6-766104bb575c ro quiet splash $vt_handoff
  295. echo 'Chargement du disque mémoire initial…'
  296. initrd /boot/initrd.img-4.4.0-71-generic
  297. }
  298. menuentry 'Ubuntu, with Linux 4.4.0-71-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-71-generic-init-upstart-794a2b22-3832-462d-8df6-766104bb575c' {
  299. recordfail
  300. load_video
  301. gfxmode $linux_gfx_mode
  302. insmod gzio
  303. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  304. insmod part_msdos
  305. insmod ext2
  306. set root='hd0,msdos1'
  307. if [ x$feature_platform_search_hint = xy ]; then
  308. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 794a2b22-3832-462d-8df6-766104bb575c
  309. else
  310. search --no-floppy --fs-uuid --set=root 794a2b22-3832-462d-8df6-766104bb575c
  311. fi
  312. echo 'Chargement de Linux 4.4.0-71-generic…'
  313. linux /boot/vmlinuz-4.4.0-71-generic root=UUID=794a2b22-3832-462d-8df6-766104bb575c ro quiet splash $vt_handoff init=/sbin/upstart
  314. echo 'Chargement du disque mémoire initial…'
  315. initrd /boot/initrd.img-4.4.0-71-generic
  316. }
  317. menuentry 'Ubuntu, with Linux 4.4.0-71-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-71-generic-recovery-794a2b22-3832-462d-8df6-766104bb575c' {
  318. recordfail
  319. load_video
  320. insmod gzio
  321. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  322. insmod part_msdos
  323. insmod ext2
  324. set root='hd0,msdos1'
  325. if [ x$feature_platform_search_hint = xy ]; then
  326. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 794a2b22-3832-462d-8df6-766104bb575c
  327. else
  328. search --no-floppy --fs-uuid --set=root 794a2b22-3832-462d-8df6-766104bb575c
  329. fi
  330. echo 'Chargement de Linux 4.4.0-71-generic…'
  331. linux /boot/vmlinuz-4.4.0-71-generic root=UUID=794a2b22-3832-462d-8df6-766104bb575c ro recovery nomodeset
  332. echo 'Chargement du disque mémoire initial…'
  333. initrd /boot/initrd.img-4.4.0-71-generic
  334. }
  335. menuentry 'Ubuntu, avec Linux 3.13.0-106-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-106-generic-advanced-794a2b22-3832-462d-8df6-766104bb575c' {
  336. recordfail
  337. load_video
  338. gfxmode $linux_gfx_mode
  339. insmod gzio
  340. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  341. insmod part_msdos
  342. insmod ext2
  343. set root='hd0,msdos1'
  344. if [ x$feature_platform_search_hint = xy ]; then
  345. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 794a2b22-3832-462d-8df6-766104bb575c
  346. else
  347. search --no-floppy --fs-uuid --set=root 794a2b22-3832-462d-8df6-766104bb575c
  348. fi
  349. echo 'Chargement de Linux 3.13.0-106-generic…'
  350. linux /boot/vmlinuz-3.13.0-106-generic root=UUID=794a2b22-3832-462d-8df6-766104bb575c ro quiet splash $vt_handoff
  351. echo 'Chargement du disque mémoire initial…'
  352. initrd /boot/initrd.img-3.13.0-106-generic
  353. }
  354. menuentry 'Ubuntu, with Linux 3.13.0-106-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-106-generic-init-upstart-794a2b22-3832-462d-8df6-766104bb575c' {
  355. recordfail
  356. load_video
  357. gfxmode $linux_gfx_mode
  358. insmod gzio
  359. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  360. insmod part_msdos
  361. insmod ext2
  362. set root='hd0,msdos1'
  363. if [ x$feature_platform_search_hint = xy ]; then
  364. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 794a2b22-3832-462d-8df6-766104bb575c
  365. else
  366. search --no-floppy --fs-uuid --set=root 794a2b22-3832-462d-8df6-766104bb575c
  367. fi
  368. echo 'Chargement de Linux 3.13.0-106-generic…'
  369. linux /boot/vmlinuz-3.13.0-106-generic root=UUID=794a2b22-3832-462d-8df6-766104bb575c ro quiet splash $vt_handoff init=/sbin/upstart
  370. echo 'Chargement du disque mémoire initial…'
  371. initrd /boot/initrd.img-3.13.0-106-generic
  372. }
  373. menuentry 'Ubuntu, with Linux 3.13.0-106-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-106-generic-recovery-794a2b22-3832-462d-8df6-766104bb575c' {
  374. recordfail
  375. load_video
  376. insmod gzio
  377. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  378. insmod part_msdos
  379. insmod ext2
  380. set root='hd0,msdos1'
  381. if [ x$feature_platform_search_hint = xy ]; then
  382. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 794a2b22-3832-462d-8df6-766104bb575c
  383. else
  384. search --no-floppy --fs-uuid --set=root 794a2b22-3832-462d-8df6-766104bb575c
  385. fi
  386. echo 'Chargement de Linux 3.13.0-106-generic…'
  387. linux /boot/vmlinuz-3.13.0-106-generic root=UUID=794a2b22-3832-462d-8df6-766104bb575c ro recovery nomodeset
  388. echo 'Chargement du disque mémoire initial…'
  389. initrd /boot/initrd.img-3.13.0-106-generic
  390. }
  391. }
  392. ### END /etc/grub.d/10_linux ###
  393. ### BEGIN /etc/grub.d/20_linux_xen ###
  394. ### END /etc/grub.d/20_linux_xen ###
  395. ### BEGIN /etc/grub.d/20_memtest86+ ###
  396. menuentry 'Memory test (memtest86+)' {
  397. insmod part_msdos
  398. insmod ext2
  399. set root='hd0,msdos1'
  400. if [ x$feature_platform_search_hint = xy ]; then
  401. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 794a2b22-3832-462d-8df6-766104bb575c
  402. else
  403. search --no-floppy --fs-uuid --set=root 794a2b22-3832-462d-8df6-766104bb575c
  404. fi
  405. knetbsd /boot/memtest86+.elf
  406. }
  407. menuentry 'Memory test (memtest86+, serial console 115200)' {
  408. insmod part_msdos
  409. insmod ext2
  410. set root='hd0,msdos1'
  411. if [ x$feature_platform_search_hint = xy ]; then
  412. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 794a2b22-3832-462d-8df6-766104bb575c
  413. else
  414. search --no-floppy --fs-uuid --set=root 794a2b22-3832-462d-8df6-766104bb575c
  415. fi
  416. linux16 /boot/memtest86+.bin console=ttyS0,115200n8
  417. }
  418. ### END /etc/grub.d/20_memtest86+ ###
  419. ### BEGIN /etc/grub.d/30_os-prober ###
  420. ### END /etc/grub.d/30_os-prober ###
  421. ### BEGIN /etc/grub.d/30_uefi-firmware ###
  422. ### END /etc/grub.d/30_uefi-firmware ###
  423. ### BEGIN /etc/grub.d/40_custom ###
  424. # This file provides an easy way to add custom menu entries. Simply type the
  425. # menu entries you want to add after this comment. Be careful not to change
  426. # the 'exec tail' line above.
  427. menuentry "hd-media" --class ubuntu --class gnu-linux --class gnu --class os {
  428. recordfail=1
  429. insmod ext2
  430. set root=(hd0,1)
  431. linux /boot/hd-media/vmlinuz root=/dev/ram0 ramdisk_size=13000
  432. initrd /boot/hd-media/initrd.gz
  433. }
  434. ### END /etc/grub.d/40_custom ###
  435. ### BEGIN /etc/grub.d/41_custom ###
  436. if [ -f ${config_directory}/custom.cfg ]; then
  437. source ${config_directory}/custom.cfg
  438. elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
  439. source $prefix/custom.cfg;
  440. fi
  441. ### END /etc/grub.d/41_custom ###
  442. --------------------------------------------------------------------------------
  443. =============================== sda1/etc/fstab: ================================
  444. --------------------------------------------------------------------------------
  445. # /etc/fstab: static file system information.
  446. #
  447. # Use 'blkid' to print the universally unique identifier for a
  448. # device; this may be used with UUID= as a more robust way to name devices
  449. # that works even if disks are added and removed. See fstab(5).
  450. #
  451. # <file system> <mount point> <type> <options> <dump> <pass>
  452. # / was on /dev/sda1 during installation
  453. UUID=794a2b22-3832-462d-8df6-766104bb575c / ext4 errors=remount-ro 0 1
  454. # /data was on /dev/sdb1 during installation
  455. UUID=56dfefc2-26f4-4aaa-8c15-1082ff3cafc5 /data ext4 defaults 0 2
  456. # /home was on /dev/sda3 during installation
  457. UUID=461ecf59-fe45-4b96-8b02-423811b1dd66 /home ext4 defaults 0 2
  458. # swap was on /dev/sda2 during installation
  459. UUID=d724477a-7822-48be-bc34-e1e4c06ef8ca none swap sw 0 0
  460. --------------------------------------------------------------------------------
  461. =================== sda1: Location of files loaded by Grub: ====================
  462. GiB - GB File Fragment(s)
  463. 40.192455292 = 43.156320256 boot/grub/grub.cfg 1
  464. 40.361267090 = 43.337580544 boot/grub/i386-pc/core.img 1
  465. 9.115798950 = 9.788014592 boot/vmlinuz-3.13.0-106-generic 2
  466. 3.632572174 = 3.900444672 boot/vmlinuz-4.4.0-71-generic 1
  467. 3.935657501 = 4.225880064 boot/vmlinuz-4.4.0-72-generic 1
  468. 3.935657501 = 4.225880064 vmlinuz 1
  469. 3.632572174 = 3.900444672 vmlinuz.old 1
  470. 41.366298676 = 44.416724992 boot/initrd.img-3.13.0-106-generic 1
  471. 3.259197235 = 3.499536384 boot/initrd.img-4.4.0-71-generic 3
  472. 4.602134705 = 4.941504512 boot/initrd.img-4.4.0-72-generic 2
  473. 4.602134705 = 4.941504512 initrd.img 2
  474. 3.259197235 = 3.499536384 initrd.img.old 3
  475. ADDITIONAL INFORMATION :
  476. =================== log of boot-info 2017-04-16__23h40 ===================
  477. boot-info version : 4ppa40
  478. boot-sav version : 4ppa40
  479. glade2script version : 3.2.3~ppa1
  480. boot-sav-extra version : 4ppa40
  481. boot-info is executed in installed-session (Ubuntu 16.04.2 LTS, xenial, Ubuntu, x86_64)
  482. CPU op-mode(s): 32-bit, 64-bit
  483. BOOT_IMAGE=/boot/vmlinuz-4.4.0-72-generic root=UUID=794a2b22-3832-462d-8df6-766104bb575c ro quiet splash vt.handoff=7
  484. =================== os-prober:
  485. /dev/sda1:L'OS actuellement utilisé - Ubuntu 16.04.2 LTS CurrentSession:linux
  486. =================== blkid:
  487. /dev/sda1: UUID="794a2b22-3832-462d-8df6-766104bb575c" TYPE="ext4" PARTUUID="000d43c3-01"
  488. /dev/sda2: UUID="d724477a-7822-48be-bc34-e1e4c06ef8ca" TYPE="swap" PARTUUID="000d43c3-02"
  489. /dev/sda3: UUID="461ecf59-fe45-4b96-8b02-423811b1dd66" TYPE="ext4" PARTUUID="000d43c3-03"
  490. /dev/sdb1: UUID="56dfefc2-26f4-4aaa-8c15-1082ff3cafc5" TYPE="ext4" PARTUUID="000dfe51-01"
  491. 1 disks with OS, 1 OS : 1 Linux, 0 MacOS, 0 Windows, 0 unknown type OS.
  492. =================== /etc/grub.d/ :
  493. drwxr-xr-x 2 root root 4096 avril 16 20:44 grub.d
  494. total 80
  495. -rwxr-xr-x 1 root root 9791 déc. 17 2015 00_header
  496. -rwxr-xr-x 1 root root 6258 mars 15 2016 05_debian_theme
  497. -rwxr-xr-x 1 root root 12512 mars 1 22:01 10_linux
  498. -rwxr-xr-x 1 root root 11082 janv. 13 17:26 20_linux_xen
  499. -rwxr-xr-x 1 root root 1992 mars 12 2014 20_memtest86+
  500. -rwxr-xr-x 1 root root 11692 mai 15 2014 30_os-prober
  501. -rwxr-xr-x 1 root root 1418 août 2 2016 30_uefi-firmware
  502. -rwxr-xr-x 1 root root 446 avril 16 20:44 40_custom
  503. -rwxr-xr-x 1 root root 216 mai 15 2014 41_custom
  504. -rw-r--r-- 1 root root 483 mai 15 2014 README
  505. =================== /etc/grub.d/40_custom :
  506. menuentry "hd-media" --class ubuntu --class gnu-linux --class gnu --class os {
  507. recordfail=1
  508. insmod ext2
  509. set root=(hd0,1)
  510. linux /boot/hd-media/vmlinuz root=/dev/ram0 ramdisk_size=13000
  511. initrd /boot/hd-media/initrd.gz
  512. }
  513. =================== /etc/default/grub :
  514. # If you change this file, run 'update-grub' afterwards to update
  515. # /boot/grub/grub.cfg.
  516. # For full documentation of the options in this file, see:
  517. # info -f grub -n 'Simple configuration'
  518. GRUB_DEFAULT=0
  519. GRUB_HIDDEN_TIMEOUT=0
  520. GRUB_HIDDEN_TIMEOUT_QUIET=true
  521. GRUB_TIMEOUT=10
  522. GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
  523. GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
  524. GRUB_CMDLINE_LINUX=""
  525. # Uncomment to enable BadRAM filtering, modify to suit your needs
  526. # This works with Linux (no patch required) and with any kernel that obtains
  527. # the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
  528. #GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
  529. # Uncomment to disable graphical terminal (grub-pc only)
  530. #GRUB_TERMINAL=console
  531. # The resolution used on graphical terminal
  532. # note that you can use only modes which your graphic card supports via VBE
  533. # you can see them in real GRUB with the command `vbeinfo'
  534. #GRUB_GFXMODE=640x480
  535. # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
  536. #GRUB_DISABLE_LINUX_UUID=true
  537. # Uncomment to disable generation of recovery mode menu entries
  538. #GRUB_DISABLE_RECOVERY="true"
  539. # Uncomment to get a beep at grub start
  540. #GRUB_INIT_TUNE="480 440 1"
  541. =================== UEFI/Legacy mode:
  542. This installed-session is not in EFI-mode.
  543. SecureBoot disabled.
  544. =================== PARTITIONS & DISKS:
  545. 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, not-far, .
  546. sda3 : 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, /home.
  547. sdb1 : sdb, 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, /data.
  548. sda : not-GPT, BIOSboot-not-needed, has-no-EFIpart, not-usb, has-os, 2048 sectors * 512 bytes
  549. sdb : not-GPT, BIOSboot-not-needed, has-no-EFIpart, not-usb, no-os, 2048 sectors * 512 bytes
  550. =================== parted -l:
  551. Model: ATA Crucial_CT128M55 (scsi)
  552. Disk /dev/sda: 128GB
  553. Sector size (logical/physical): 512B/4096B
  554. Partition Table: msdos
  555. Disk Flags:
  556. Number Start End Size Type File system Flags
  557. 1 1049kB 50.6GB 50.6GB primary ext4 boot
  558. 2 50.6GB 54.6GB 4000MB primary linux-swap(v1)
  559. 3 54.6GB 128GB 73.4GB primary ext4
  560. Model: ATA ST500LM012 HN-M5 (scsi)
  561. Disk /dev/sdb: 500GB
  562. Sector size (logical/physical): 512B/4096B
  563. Partition Table: msdos
  564. Disk Flags:
  565. Number Start End Size Type File system Flags
  566. 1 1049kB 500GB 500GB primary ext4
  567. =================== parted -lm:
  568. BYT;
  569. /dev/sda:128GB:scsi:512:4096:msdos:ATA Crucial_CT128M55:;
  570. 1:1049kB:50.6GB:50.6GB:ext4::boot;
  571. 2:50.6GB:54.6GB:4000MB:linux-swap(v1)::;
  572. 3:54.6GB:128GB:73.4GB:ext4::;
  573. BYT;
  574. /dev/sdb:500GB:scsi:512:4096:msdos:ATA ST500LM012 HN-M5:;
  575. 1:1049kB:500GB:500GB:ext4::;
  576. =================== lsblk:
  577. KNAME TYPE FSTYPE SIZE LABEL
  578. sda disk 119,2G
  579. sda1 part ext4 47,2G
  580. sda2 part swap 3,7G
  581. sda3 part ext4 68,4G
  582. sdb disk 465,8G
  583. sdb1 part ext4 465,8G
  584. sr0 rom 1024M
  585. KNAME ROTA RO RM STATE MOUNTPOINT
  586. sda 0 0 0 running
  587. sda1 0 0 0 /
  588. sda2 0 0 0 [SWAP]
  589. sda3 0 0 0 /home
  590. sdb 1 0 0 running
  591. sdb1 1 0 0 /data
  592. sr0 1 0 1 running
  593. =================== mount:
  594. sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
  595. proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
  596. udev on /dev type devtmpfs (rw,nosuid,relatime,size=1964676k,nr_inodes=491169,mode=755)
  597. devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
  598. tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=396984k,mode=755)
  599. /dev/sda1 on / type ext4 (rw,relatime,errors=remount-ro,data=ordered)
  600. securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
  601. tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
  602. tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
  603. tmpfs on /sys/fs/cgroup type tmpfs (rw,mode=755)
  604. cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd)
  605. pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
  606. cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
  607. cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
  608. 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)
  609. cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset,clone_children)
  610. cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
  611. cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb,release_agent=/run/cgmanager/agents/cgm-release-agent.hugetlb)
  612. cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
  613. cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
  614. cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
  615. cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids,release_agent=/run/cgmanager/agents/cgm-release-agent.pids)
  616. systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=31,pgrp=1,timeout=0,minproto=5,maxproto=5,direct)
  617. hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
  618. mqueue on /dev/mqueue type mqueue (rw,relatime)
  619. debugfs on /sys/kernel/debug type debugfs (rw,relatime)
  620. fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
  621. /dev/sda3 on /home type ext4 (rw,relatime,data=ordered)
  622. /dev/sdb1 on /data type ext4 (rw,relatime,data=ordered)
  623. binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,relatime)
  624. cgmfs on /run/cgmanager/fs type tmpfs (rw,relatime,size=100k,mode=755)
  625. tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=396984k,mode=700,uid=1000,gid=1000)
  626. gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)
  627. =================== ls:
  628. /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 sda3 size slaves stat subsystem trace uevent
  629. /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
  630. /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
  631. /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 hidraw0 hidraw1 hpet hugepages hwrng i2c-0 i2c-1 i2c-2 i2c-3 i2c-4 i2c-5 i2c-6 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 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
  632. ls /dev/mapper: control
  633. ls: impossible d'accéder à '': Aucun fichier ou dossier de ce type
  634. =================== df -Th:
  635. Filesystem Type Size Used Avail Use% Mounted on
  636. udev devtmpfs 1.9G 0 1.9G 0% /dev
  637. tmpfs tmpfs 388M 6.3M 382M 2% /run
  638. /dev/sda1 ext4 47G 9.5G 35G 22% /
  639. tmpfs tmpfs 1.9G 256K 1.9G 1% /dev/shm
  640. tmpfs tmpfs 5.0M 4.0K 5.0M 1% /run/lock
  641. tmpfs tmpfs 1.9G 0 1.9G 0% /sys/fs/cgroup
  642. /dev/sda3 ext4 68G 19G 46G 30% /home
  643. /dev/sdb1 ext4 459G 58G 378G 14% /data
  644. cgmfs tmpfs 100K 0 100K 0% /run/cgmanager/fs
  645. tmpfs tmpfs 388M 72K 388M 1% /run/user/1000
  646. =================== fdisk -l:
  647. Disk /dev/sda: 119.2 GiB, 128035676160 bytes, 250069680 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. Disklabel type: dos
  652. Disk identifier: 0x000d43c3
  653. Device Boot Start End Sectors Size Id Type
  654. /dev/sda1 * 2048 98908159 98906112 47.2G 83 Linux
  655. /dev/sda2 98908160 106721279 7813120 3.7G 82 Linux swap / Solaris
  656. /dev/sda3 106721280 250066943 143345664 68.4G 83 Linux
  657. Disk /dev/sdb: 465.8 GiB, 500107862016 bytes, 976773168 sectors
  658. Units: sectors of 1 * 512 = 512 bytes
  659. Sector size (logical/physical): 512 bytes / 4096 bytes
  660. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  661. Disklabel type: dos
  662. Disk identifier: 0x000dfe51
  663. Device Boot Start End Sectors Size Id Type
  664. /dev/sdb1 2048 976771071 976769024 465.8G 83 Linux
  665. =================== Suggested repair
  666. The default repair of the Boot-Repair utility would purge (in order to) and reinstall the grub2 of sda1 into the MBRs of all disks (except USB without OS).
  667. Additional repair would be performed: unhide-bootmenu-10s
  668. =================== Final advice in case of suggested repair
  669. N'oubliez pas de régler votre BIOS pour qu'il amorce sur le disque sda (128GB) !
  670. =================== User settings
  671. The settings chosen by the user will not act on the boot.
  672. paste.ubuntu.com ko (), using paste.debian
  673. paste.debian.net ko (), using paste2