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. sda1: __________________________________________________________________________
  11. File system: ext4
  12. Boot sector type: -
  13. Boot sector info:
  14. Operating System: Ubuntu 16.04.1 LTS
  15. Boot files: /boot/grub/grub.cfg /etc/fstab
  16. /boot/grub/i386-pc/core.img
  17. sda2: __________________________________________________________________________
  18. File system: Extended Partition
  19. Boot sector type: -
  20. Boot sector info:
  21. sda5: __________________________________________________________________________
  22. File system: swap
  23. Boot sector type: -
  24. Boot sector info:
  25. ============================ Drive/Partition Info: =============================
  26. Drive: sda _____________________________________________________________________
  27. Disk /dev/sda: 465.8 GiB, 500107862016 bytes, 976773168 sectors
  28. Units: sectors of 1 * 512 = 512 bytes
  29. Sector size (logical/physical): 512 bytes / 4096 bytes
  30. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  31. Disklabel type: dos
  32. Partition Boot Start Sector End Sector # of Sectors Id System
  33. /dev/sda1 * 2,048 972,615,679 972,613,632 83 Linux
  34. /dev/sda2 972,617,726 976,771,071 4,153,346 5 Extended
  35. /dev/sda5 972,617,728 976,771,071 4,153,344 82 Linux swap / Solaris
  36. "blkid" output: ________________________________________________________________
  37. Device UUID TYPE LABEL
  38. /dev/sda1 27b92239-5e3d-46c2-a67b-3fe5c52df1ee ext4
  39. /dev/sda5 53563133-e4c1-4fa6-a175-46feda6494e0 swap
  40. ========================= "ls -l /dev/disk/by-id" output: ======================
  41. total 0
  42. lrwxrwxrwx 1 root root 9 Sep 1 15:34 ata-Optiarc_DVD_RW_AD-7560S_SA95125002 -> ../../sr0
  43. lrwxrwxrwx 1 root root 9 Sep 1 18:41 ata-WDC_WD5000BPKX-22HPJT0_WD-WXA1A74JAZDZ -> ../../sda
  44. lrwxrwxrwx 1 root root 10 Sep 1 18:41 ata-WDC_WD5000BPKX-22HPJT0_WD-WXA1A74JAZDZ-part1 -> ../../sda1
  45. lrwxrwxrwx 1 root root 10 Sep 1 18:41 ata-WDC_WD5000BPKX-22HPJT0_WD-WXA1A74JAZDZ-part2 -> ../../sda2
  46. lrwxrwxrwx 1 root root 10 Sep 1 18:41 ata-WDC_WD5000BPKX-22HPJT0_WD-WXA1A74JAZDZ-part5 -> ../../sda5
  47. lrwxrwxrwx 1 root root 9 Sep 1 18:41 wwn-0x50014ee604fde516 -> ../../sda
  48. lrwxrwxrwx 1 root root 10 Sep 1 18:41 wwn-0x50014ee604fde516-part1 -> ../../sda1
  49. lrwxrwxrwx 1 root root 10 Sep 1 18:41 wwn-0x50014ee604fde516-part2 -> ../../sda2
  50. lrwxrwxrwx 1 root root 10 Sep 1 18:41 wwn-0x50014ee604fde516-part5 -> ../../sda5
  51. ================================ Mount points: =================================
  52. Device Mount_Point Type Options
  53. /dev/sda1 / ext4 (rw,relatime,errors=remount-ro,data=ordered)
  54. =========================== sda1/boot/grub/grub.cfg: ===========================
  55. --------------------------------------------------------------------------------
  56. #
  57. # DO NOT EDIT THIS FILE
  58. #
  59. # It is automatically generated by grub-mkconfig using templates
  60. # from /etc/grub.d and settings from /etc/default/grub
  61. #
  62. ### BEGIN /etc/grub.d/00_header ###
  63. if [ -s $prefix/grubenv ]; then
  64. set have_grubenv=true
  65. load_env
  66. fi
  67. if [ "${next_entry}" ] ; then
  68. set default="${next_entry}"
  69. set next_entry=
  70. save_env next_entry
  71. set boot_once=true
  72. else
  73. set default="0"
  74. fi
  75. if [ x"${feature_menuentry_id}" = xy ]; then
  76. menuentry_id_option="--id"
  77. else
  78. menuentry_id_option=""
  79. fi
  80. export menuentry_id_option
  81. if [ "${prev_saved_entry}" ]; then
  82. set saved_entry="${prev_saved_entry}"
  83. save_env saved_entry
  84. set prev_saved_entry=
  85. save_env prev_saved_entry
  86. set boot_once=true
  87. fi
  88. function savedefault {
  89. if [ -z "${boot_once}" ]; then
  90. saved_entry="${chosen}"
  91. save_env saved_entry
  92. fi
  93. }
  94. function recordfail {
  95. set recordfail=1
  96. if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
  97. }
  98. function load_video {
  99. if [ x$feature_all_video_module = xy ]; then
  100. insmod all_video
  101. else
  102. insmod efi_gop
  103. insmod efi_uga
  104. insmod ieee1275_fb
  105. insmod vbe
  106. insmod vga
  107. insmod video_bochs
  108. insmod video_cirrus
  109. fi
  110. }
  111. if [ x$feature_default_font_path = xy ] ; then
  112. font=unicode
  113. else
  114. insmod part_msdos
  115. insmod ext2
  116. set root='hd0,msdos1'
  117. if [ x$feature_platform_search_hint = xy ]; then
  118. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 27b92239-5e3d-46c2-a67b-3fe5c52df1ee
  119. else
  120. search --no-floppy --fs-uuid --set=root 27b92239-5e3d-46c2-a67b-3fe5c52df1ee
  121. fi
  122. font="/usr/share/grub/unicode.pf2"
  123. fi
  124. if loadfont $font ; then
  125. set gfxmode=auto
  126. load_video
  127. insmod gfxterm
  128. set locale_dir=$prefix/locale
  129. set lang=fr_FR
  130. insmod gettext
  131. fi
  132. terminal_output gfxterm
  133. if [ "${recordfail}" = 1 ] ; then
  134. set timeout=30
  135. else
  136. if [ x$feature_timeout_style = xy ] ; then
  137. set timeout_style=hidden
  138. set timeout=0
  139. # Fallback hidden-timeout code in case the timeout_style feature is
  140. # unavailable.
  141. elif sleep --interruptible 0 ; then
  142. set timeout=0
  143. fi
  144. fi
  145. ### END /etc/grub.d/00_header ###
  146. ### BEGIN /etc/grub.d/05_debian_theme ###
  147. set menu_color_normal=white/black
  148. set menu_color_highlight=black/light-gray
  149. if background_color 44,0,30,0; then
  150. clear
  151. fi
  152. ### END /etc/grub.d/05_debian_theme ###
  153. ### BEGIN /etc/grub.d/10_linux ###
  154. function gfxmode {
  155. set gfxpayload="${1}"
  156. if [ "${1}" = "keep" ]; then
  157. set vt_handoff=vt.handoff=7
  158. else
  159. set vt_handoff=
  160. fi
  161. }
  162. if [ "${recordfail}" != 1 ]; then
  163. if [ -e ${prefix}/gfxblacklist.txt ]; then
  164. if hwmatch ${prefix}/gfxblacklist.txt 3; then
  165. if [ ${match} = 0 ]; then
  166. set linux_gfx_mode=keep
  167. else
  168. set linux_gfx_mode=text
  169. fi
  170. else
  171. set linux_gfx_mode=text
  172. fi
  173. else
  174. set linux_gfx_mode=keep
  175. fi
  176. else
  177. set linux_gfx_mode=text
  178. fi
  179. export linux_gfx_mode
  180. menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-27b92239-5e3d-46c2-a67b-3fe5c52df1ee' {
  181. recordfail
  182. load_video
  183. gfxmode $linux_gfx_mode
  184. insmod gzio
  185. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  186. insmod part_msdos
  187. insmod ext2
  188. set root='hd0,msdos1'
  189. if [ x$feature_platform_search_hint = xy ]; then
  190. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 27b92239-5e3d-46c2-a67b-3fe5c52df1ee
  191. else
  192. search --no-floppy --fs-uuid --set=root 27b92239-5e3d-46c2-a67b-3fe5c52df1ee
  193. fi
  194. linux /boot/vmlinuz-4.4.0-36-generic root=UUID=27b92239-5e3d-46c2-a67b-3fe5c52df1ee ro quiet splash $vt_handoff
  195. initrd /boot/initrd.img-4.4.0-36-generic
  196. }
  197. submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-27b92239-5e3d-46c2-a67b-3fe5c52df1ee' {
  198. 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-27b92239-5e3d-46c2-a67b-3fe5c52df1ee' {
  199. recordfail
  200. load_video
  201. gfxmode $linux_gfx_mode
  202. insmod gzio
  203. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  204. insmod part_msdos
  205. insmod ext2
  206. set root='hd0,msdos1'
  207. if [ x$feature_platform_search_hint = xy ]; then
  208. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 27b92239-5e3d-46c2-a67b-3fe5c52df1ee
  209. else
  210. search --no-floppy --fs-uuid --set=root 27b92239-5e3d-46c2-a67b-3fe5c52df1ee
  211. fi
  212. echo 'Loading Linux 4.4.0-36-generic ...'
  213. linux /boot/vmlinuz-4.4.0-36-generic root=UUID=27b92239-5e3d-46c2-a67b-3fe5c52df1ee ro quiet splash $vt_handoff
  214. echo 'Loading initial ramdisk ...'
  215. initrd /boot/initrd.img-4.4.0-36-generic
  216. }
  217. 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-27b92239-5e3d-46c2-a67b-3fe5c52df1ee' {
  218. recordfail
  219. load_video
  220. gfxmode $linux_gfx_mode
  221. insmod gzio
  222. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  223. insmod part_msdos
  224. insmod ext2
  225. set root='hd0,msdos1'
  226. if [ x$feature_platform_search_hint = xy ]; then
  227. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 27b92239-5e3d-46c2-a67b-3fe5c52df1ee
  228. else
  229. search --no-floppy --fs-uuid --set=root 27b92239-5e3d-46c2-a67b-3fe5c52df1ee
  230. fi
  231. echo 'Loading Linux 4.4.0-36-generic ...'
  232. linux /boot/vmlinuz-4.4.0-36-generic root=UUID=27b92239-5e3d-46c2-a67b-3fe5c52df1ee ro quiet splash $vt_handoff init=/sbin/upstart
  233. echo 'Loading initial ramdisk ...'
  234. initrd /boot/initrd.img-4.4.0-36-generic
  235. }
  236. 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-27b92239-5e3d-46c2-a67b-3fe5c52df1ee' {
  237. recordfail
  238. load_video
  239. insmod gzio
  240. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  241. insmod part_msdos
  242. insmod ext2
  243. set root='hd0,msdos1'
  244. if [ x$feature_platform_search_hint = xy ]; then
  245. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 27b92239-5e3d-46c2-a67b-3fe5c52df1ee
  246. else
  247. search --no-floppy --fs-uuid --set=root 27b92239-5e3d-46c2-a67b-3fe5c52df1ee
  248. fi
  249. echo 'Loading Linux 4.4.0-36-generic ...'
  250. linux /boot/vmlinuz-4.4.0-36-generic root=UUID=27b92239-5e3d-46c2-a67b-3fe5c52df1ee ro recovery nomodeset
  251. echo 'Loading initial ramdisk ...'
  252. initrd /boot/initrd.img-4.4.0-36-generic
  253. }
  254. menuentry 'Ubuntu, with Linux 4.4.0-34-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-34-generic-advanced-27b92239-5e3d-46c2-a67b-3fe5c52df1ee' {
  255. recordfail
  256. load_video
  257. gfxmode $linux_gfx_mode
  258. insmod gzio
  259. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  260. insmod part_msdos
  261. insmod ext2
  262. set root='hd0,msdos1'
  263. if [ x$feature_platform_search_hint = xy ]; then
  264. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 27b92239-5e3d-46c2-a67b-3fe5c52df1ee
  265. else
  266. search --no-floppy --fs-uuid --set=root 27b92239-5e3d-46c2-a67b-3fe5c52df1ee
  267. fi
  268. echo 'Loading Linux 4.4.0-34-generic ...'
  269. linux /boot/vmlinuz-4.4.0-34-generic root=UUID=27b92239-5e3d-46c2-a67b-3fe5c52df1ee ro quiet splash $vt_handoff
  270. echo 'Loading initial ramdisk ...'
  271. initrd /boot/initrd.img-4.4.0-34-generic
  272. }
  273. menuentry 'Ubuntu, with Linux 4.4.0-34-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-34-generic-init-upstart-27b92239-5e3d-46c2-a67b-3fe5c52df1ee' {
  274. recordfail
  275. load_video
  276. gfxmode $linux_gfx_mode
  277. insmod gzio
  278. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  279. insmod part_msdos
  280. insmod ext2
  281. set root='hd0,msdos1'
  282. if [ x$feature_platform_search_hint = xy ]; then
  283. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 27b92239-5e3d-46c2-a67b-3fe5c52df1ee
  284. else
  285. search --no-floppy --fs-uuid --set=root 27b92239-5e3d-46c2-a67b-3fe5c52df1ee
  286. fi
  287. echo 'Loading Linux 4.4.0-34-generic ...'
  288. linux /boot/vmlinuz-4.4.0-34-generic root=UUID=27b92239-5e3d-46c2-a67b-3fe5c52df1ee ro quiet splash $vt_handoff init=/sbin/upstart
  289. echo 'Loading initial ramdisk ...'
  290. initrd /boot/initrd.img-4.4.0-34-generic
  291. }
  292. menuentry 'Ubuntu, with Linux 4.4.0-34-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-34-generic-recovery-27b92239-5e3d-46c2-a67b-3fe5c52df1ee' {
  293. recordfail
  294. load_video
  295. insmod gzio
  296. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  297. insmod part_msdos
  298. insmod ext2
  299. set root='hd0,msdos1'
  300. if [ x$feature_platform_search_hint = xy ]; then
  301. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 27b92239-5e3d-46c2-a67b-3fe5c52df1ee
  302. else
  303. search --no-floppy --fs-uuid --set=root 27b92239-5e3d-46c2-a67b-3fe5c52df1ee
  304. fi
  305. echo 'Loading Linux 4.4.0-34-generic ...'
  306. linux /boot/vmlinuz-4.4.0-34-generic root=UUID=27b92239-5e3d-46c2-a67b-3fe5c52df1ee ro recovery nomodeset
  307. echo 'Loading initial ramdisk ...'
  308. initrd /boot/initrd.img-4.4.0-34-generic
  309. }
  310. }
  311. ### END /etc/grub.d/10_linux ###
  312. ### BEGIN /etc/grub.d/20_linux_xen ###
  313. ### END /etc/grub.d/20_linux_xen ###
  314. ### BEGIN /etc/grub.d/30_os-prober ###
  315. ### END /etc/grub.d/30_os-prober ###
  316. ### BEGIN /etc/grub.d/30_uefi-firmware ###
  317. ### END /etc/grub.d/30_uefi-firmware ###
  318. ### BEGIN /etc/grub.d/40_custom ###
  319. # This file provides an easy way to add custom menu entries. Simply type the
  320. # menu entries you want to add after this comment. Be careful not to change
  321. # the 'exec tail' line above.
  322. ### END /etc/grub.d/40_custom ###
  323. ### BEGIN /etc/grub.d/41_custom ###
  324. if [ -f ${config_directory}/custom.cfg ]; then
  325. source ${config_directory}/custom.cfg
  326. elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
  327. source $prefix/custom.cfg;
  328. fi
  329. ### END /etc/grub.d/41_custom ###
  330. --------------------------------------------------------------------------------
  331. =============================== sda1/etc/fstab: ================================
  332. --------------------------------------------------------------------------------
  333. # /etc/fstab: static file system information.
  334. #
  335. # Use 'blkid' to print the universally unique identifier for a
  336. # device; this may be used with UUID= as a more robust way to name devices
  337. # that works even if disks are added and removed. See fstab(5).
  338. #
  339. # <file system> <mount point> <type> <options> <dump> <pass>
  340. # / was on /dev/sda1 during installation
  341. UUID=27b92239-5e3d-46c2-a67b-3fe5c52df1ee / ext4 errors=remount-ro 0 1
  342. # swap was on /dev/sda5 during installation
  343. UUID=53563133-e4c1-4fa6-a175-46feda6494e0 none swap sw 0 0
  344. --------------------------------------------------------------------------------
  345. =================== sda1: Location of files loaded by Grub: ====================
  346. GiB - GB File Fragment(s)
  347. 309.468208313 = 332.288958464 boot/grub/grub.cfg 1
  348. 201.230812073 = 216.069939200 boot/grub/i386-pc/core.img 1
  349. 31.218727112 = 33.520852992 boot/vmlinuz-4.4.0-34-generic 1
  350. 3.647926331 = 3.916931072 boot/vmlinuz-4.4.0-36-generic 1
  351. 3.647926331 = 3.916931072 vmlinuz 1
  352. 31.218727112 = 33.520852992 vmlinuz.old 1
  353. 308.266498566 = 330.998632448 boot/initrd.img-4.4.0-34-generic 3
  354. 309.167762756 = 331.966357504 boot/initrd.img-4.4.0-36-generic 5
  355. 309.167762756 = 331.966357504 initrd.img 5
  356. 308.266498566 = 330.998632448 initrd.img.old 3
  357. ADDITIONAL INFORMATION :
  358. =================== log of boot-repair 2016-09-01__18h31 ===================
  359. boot-repair version : 4ppa38
  360. boot-sav version : 4ppa38
  361. glade2script version : 3.2.3~ppa1
  362. boot-sav-extra version : 4ppa38
  363. boot-repair is executed in installed-session (Ubuntu 16.04.1 LTS, xenial, Ubuntu, i686)
  364. CPU op-mode(s): 32-bit, 64-bit
  365. BOOT_IMAGE=/boot/vmlinuz-4.4.0-36-generic root=UUID=27b92239-5e3d-46c2-a67b-3fe5c52df1ee ro quiet splash
  366. Partition 2 does not start on physical sector boundary.
  367. =================== os-prober:
  368. /dev/sda1:L'OS actuellement utilisé - Ubuntu 16.04.1 LTS CurrentSession:linux
  369. =================== blkid:
  370. /dev/sda1: UUID="27b92239-5e3d-46c2-a67b-3fe5c52df1ee" TYPE="ext4" PARTUUID="000c182d-01"
  371. /dev/sda5: UUID="53563133-e4c1-4fa6-a175-46feda6494e0" TYPE="swap" PARTUUID="000c182d-05"
  372. 1 disks with OS, 1 OS : 1 Linux, 0 MacOS, 0 Windows, 0 unknown type OS.
  373. Partition 2 does not start on physical sector boundary.
  374. Partition 2 does not start on physical sector boundary.
  375. =================== /etc/grub.d/ :
  376. drwxr-xr-x 2 root root 4096 août 30 14:36 grub.d
  377. total 76
  378. -rwxr-xr-x 1 root root 9791 juil. 23 02:09 00_header
  379. -rwxr-xr-x 1 root root 6258 mars 15 19:08 05_debian_theme
  380. -rwxr-xr-x 1 root root 12261 juil. 23 02:09 10_linux
  381. -rwxr-xr-x 1 root root 11082 juil. 23 02:09 20_linux_xen
  382. -rwxr-xr-x 1 root root 1992 mars 12 2014 20_memtest86+
  383. -rwxr-xr-x 1 root root 11692 juil. 23 02:09 30_os-prober
  384. -rwxr-xr-x 1 root root 1418 juil. 23 02:09 30_uefi-firmware
  385. -rwxr-xr-x 1 root root 214 juil. 23 02:09 40_custom
  386. -rwxr-xr-x 1 root root 216 juil. 23 02:09 41_custom
  387. -rw-r--r-- 1 root root 483 juil. 23 02:09 README
  388. =================== /etc/default/grub :
  389. # If you change this file, run 'update-grub' afterwards to update
  390. # /boot/grub/grub.cfg.
  391. # For full documentation of the options in this file, see:
  392. # info -f grub -n 'Simple configuration'
  393. GRUB_DEFAULT=0
  394. GRUB_HIDDEN_TIMEOUT=0
  395. GRUB_HIDDEN_TIMEOUT_QUIET=true
  396. GRUB_TIMEOUT=10
  397. GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
  398. GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
  399. GRUB_CMDLINE_LINUX=""
  400. # Uncomment to enable BadRAM filtering, modify to suit your needs
  401. # This works with Linux (no patch required) and with any kernel that obtains
  402. # the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
  403. #GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
  404. # Uncomment to disable graphical terminal (grub-pc only)
  405. #GRUB_TERMINAL=console
  406. # The resolution used on graphical terminal
  407. # note that you can use only modes which your graphic card supports via VBE
  408. # you can see them in real GRUB with the command `vbeinfo'
  409. #GRUB_GFXMODE=640x480
  410. # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
  411. #GRUB_DISABLE_LINUX_UUID=true
  412. # Uncomment to disable generation of recovery mode menu entries
  413. #GRUB_DISABLE_RECOVERY="true"
  414. # Uncomment to get a beep at grub start
  415. #GRUB_INIT_TUNE="480 440 1"
  416. =================== UEFI/Legacy mode:
  417. This installed-session is not EFI-compatible.
  418. SecureBoot disabled.
  419. =================== PARTITIONS & DISKS:
  420. sda1 : sda, not-sepboot, grubenv-ok grub2, signed grub-pc , update-grub, 32, 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, .
  421. sda : not-GPT, BIOSboot-not-needed, has-no-EFIpart, not-usb, has-os, 2048 sectors * 512 bytes
  422. =================== parted -l:
  423. Model: ATA WDC WD5000BPKX-2 (scsi)
  424. Disk /dev/sda: 500GB
  425. Sector size (logical/physical): 512B/4096B
  426. Partition Table: msdos
  427. Disk Flags:
  428. Number Start End Size Type File system Flags
  429. 1 1049kB 498GB 498GB primary ext4 boot
  430. 2 498GB 500GB 2127MB extended
  431. 5 498GB 500GB 2127MB logical linux-swap(v1)
  432. =================== parted -lm:
  433. BYT;
  434. /dev/sda:500GB:scsi:512:4096:msdos:ATA WDC WD5000BPKX-2:;
  435. 1:1049kB:498GB:498GB:ext4::boot;
  436. 2:498GB:500GB:2127MB:::;
  437. 5:498GB:500GB:2127MB:linux-swap(v1)::;
  438. =================== lsblk:
  439. KNAME TYPE FSTYPE SIZE LABEL
  440. sda disk 465,8G
  441. sda1 part ext4 463,8G
  442. sda2 part 1K
  443. sda5 part swap 2G
  444. sr0 rom 1024M
  445. KNAME ROTA RO RM STATE MOUNTPOINT
  446. sda 1 0 0 running
  447. sda1 1 0 0 /
  448. sda2 1 0 0
  449. sda5 1 0 0 [SWAP]
  450. sr0 1 0 1 running
  451. =================== mount:
  452. sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
  453. proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
  454. udev on /dev type devtmpfs (rw,nosuid,relatime,size=1004444k,nr_inodes=210776,mode=755)
  455. devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
  456. tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=204400k,mode=755)
  457. /dev/sda1 on / type ext4 (rw,relatime,errors=remount-ro,data=ordered)
  458. securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
  459. tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
  460. tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
  461. tmpfs on /sys/fs/cgroup type tmpfs (rw,mode=755)
  462. cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd)
  463. pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
  464. cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
  465. cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb,release_agent=/run/cgmanager/agents/cgm-release-agent.hugetlb)
  466. cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset,clone_children)
  467. cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
  468. cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
  469. cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
  470. cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids,release_agent=/run/cgmanager/agents/cgm-release-agent.pids)
  471. cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
  472. cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
  473. 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)
  474. systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=31,pgrp=1,timeout=0,minproto=5,maxproto=5,direct)
  475. debugfs on /sys/kernel/debug type debugfs (rw,relatime)
  476. hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
  477. mqueue on /dev/mqueue type mqueue (rw,relatime)
  478. fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
  479. tracefs on /sys/kernel/debug/tracing type tracefs (rw,relatime)
  480. binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,relatime)
  481. cgmfs on /run/cgmanager/fs type tmpfs (rw,relatime,size=100k,mode=755)
  482. tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=204400k,mode=700,uid=1000,gid=1000)
  483. gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)
  484. =================== ls:
  485. /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
  486. /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
  487. /dev (filtered): autofs block bsg btrfs-control bus cdrom cdrw char console core cpu cpu_dma_latency cuse disk dri dvd dvdrw ecryptfs fd full fuse fw0 hidraw0 hidraw1 hpet hugepages hwrng i2c-0 i2c-1 i2c-2 i2c-3 i2c-4 i2c-5 initctl input kmsg kvm lightnvm lirc0 log mapper mcelog media0 mem memory_bandwidth mqueue net network_latency network_throughput null nvidia0 nvidiactl nvidia-uvm port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sda2 sda5 sg0 sg1 shm snapshot snd sr0 stderr stdin stdout uhid uinput urandom usb userio v4l vboxdrv vboxdrvu vboxnetctl vboxusb vfio vga_arbiter vhci vhost-net video0 zero
  488. ls /dev/mapper: control
  489. ls: impossible d'accéder à '': Aucun fichier ou dossier de ce type
  490. Partition 2 does not start on physical sector boundary.
  491. =================== df -Th:
  492. Filesystem Type Size Used Avail Use% Mounted on
  493. udev devtmpfs 981M 0 981M 0% /dev
  494. tmpfs tmpfs 200M 6.8M 193M 4% /run
  495. /dev/sda1 ext4 457G 327G 107G 76% /
  496. tmpfs tmpfs 999M 21M 978M 3% /dev/shm
  497. tmpfs tmpfs 5.0M 4.0K 5.0M 1% /run/lock
  498. tmpfs tmpfs 999M 0 999M 0% /sys/fs/cgroup
  499. cgmfs tmpfs 100K 0 100K 0% /run/cgmanager/fs
  500. tmpfs tmpfs 200M 72K 200M 1% /run/user/1000
  501. =================== fdisk -l:
  502. Disk /dev/ram0: 64 MiB, 67108864 bytes, 131072 sectors
  503. Units: sectors of 1 * 512 = 512 bytes
  504. Sector size (logical/physical): 512 bytes / 4096 bytes
  505. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  506. Disk /dev/ram1: 64 MiB, 67108864 bytes, 131072 sectors
  507. Units: sectors of 1 * 512 = 512 bytes
  508. Sector size (logical/physical): 512 bytes / 4096 bytes
  509. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  510. Disk /dev/ram2: 64 MiB, 67108864 bytes, 131072 sectors
  511. Units: sectors of 1 * 512 = 512 bytes
  512. Sector size (logical/physical): 512 bytes / 4096 bytes
  513. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  514. Disk /dev/ram3: 64 MiB, 67108864 bytes, 131072 sectors
  515. Units: sectors of 1 * 512 = 512 bytes
  516. Sector size (logical/physical): 512 bytes / 4096 bytes
  517. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  518. Disk /dev/ram4: 64 MiB, 67108864 bytes, 131072 sectors
  519. Units: sectors of 1 * 512 = 512 bytes
  520. Sector size (logical/physical): 512 bytes / 4096 bytes
  521. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  522. Disk /dev/ram5: 64 MiB, 67108864 bytes, 131072 sectors
  523. Units: sectors of 1 * 512 = 512 bytes
  524. Sector size (logical/physical): 512 bytes / 4096 bytes
  525. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  526. Disk /dev/ram6: 64 MiB, 67108864 bytes, 131072 sectors
  527. Units: sectors of 1 * 512 = 512 bytes
  528. Sector size (logical/physical): 512 bytes / 4096 bytes
  529. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  530. Disk /dev/ram7: 64 MiB, 67108864 bytes, 131072 sectors
  531. Units: sectors of 1 * 512 = 512 bytes
  532. Sector size (logical/physical): 512 bytes / 4096 bytes
  533. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  534. Disk /dev/ram8: 64 MiB, 67108864 bytes, 131072 sectors
  535. Units: sectors of 1 * 512 = 512 bytes
  536. Sector size (logical/physical): 512 bytes / 4096 bytes
  537. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  538. Disk /dev/ram9: 64 MiB, 67108864 bytes, 131072 sectors
  539. Units: sectors of 1 * 512 = 512 bytes
  540. Sector size (logical/physical): 512 bytes / 4096 bytes
  541. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  542. Disk /dev/ram10: 64 MiB, 67108864 bytes, 131072 sectors
  543. Units: sectors of 1 * 512 = 512 bytes
  544. Sector size (logical/physical): 512 bytes / 4096 bytes
  545. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  546. Disk /dev/ram11: 64 MiB, 67108864 bytes, 131072 sectors
  547. Units: sectors of 1 * 512 = 512 bytes
  548. Sector size (logical/physical): 512 bytes / 4096 bytes
  549. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  550. Disk /dev/ram12: 64 MiB, 67108864 bytes, 131072 sectors
  551. Units: sectors of 1 * 512 = 512 bytes
  552. Sector size (logical/physical): 512 bytes / 4096 bytes
  553. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  554. Disk /dev/ram13: 64 MiB, 67108864 bytes, 131072 sectors
  555. Units: sectors of 1 * 512 = 512 bytes
  556. Sector size (logical/physical): 512 bytes / 4096 bytes
  557. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  558. Disk /dev/ram14: 64 MiB, 67108864 bytes, 131072 sectors
  559. Units: sectors of 1 * 512 = 512 bytes
  560. Sector size (logical/physical): 512 bytes / 4096 bytes
  561. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  562. Disk /dev/ram15: 64 MiB, 67108864 bytes, 131072 sectors
  563. Units: sectors of 1 * 512 = 512 bytes
  564. Sector size (logical/physical): 512 bytes / 4096 bytes
  565. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  566. Disk /dev/sda: 465.8 GiB, 500107862016 bytes, 976773168 sectors
  567. Units: sectors of 1 * 512 = 512 bytes
  568. Sector size (logical/physical): 512 bytes / 4096 bytes
  569. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  570. Disklabel type: dos
  571. Disk identifier: 0x000c182d
  572. Device Boot Start End Sectors Size Id Type
  573. /dev/sda1 * 2048 972615679 972613632 463.8G 83 Linux
  574. /dev/sda2 972617726 976771071 4153346 2G 5 Extended
  575. /dev/sda5 972617728 976771071 4153344 2G 82 Linux swap / Solaris
  576. =================== Default settings of Boot Repair
  577. The default repair of the Boot-Repair utility would purge (in order to) and reinstall the grub2 of sda1 into the MBR of sda.
  578. Additional repair would be performed: unhide-bootmenu-10s
  579. =================== Final advice in case of suggested repair
  580. Les fichiers de démarrage de [L'OS actuellement utilisé - Ubuntu 16.04.1 LTS] sont loin du début du disque. Votre BIOS pourrait ne pas les détecter. Vous voudrez peut-être re-essayer après avoir créé une partition /boot (EXT4, >200MB, en début de disque). Cela peut être réalisé via des outils tels que gParted. Puis sélectionnez cette partition via l'option [Partition /boot séparée :] de [Réparateur de démarrage]. (http://doc.ubuntu-fr.org/tutoriel/partition_boot)
  581. =================== User settings
  582. The settings chosen by the user will purge (in order to) and reinstall the grub2 of sda1 into the MBR of sda.
  583. apt-get -y --force-yes update
  584. Purge the GRUB of sda1
  585. grub-pc available
  586. Lecture des listes de paquets…SET@_progressbar1.pulse()
  587. Construction de l'arbre des dépendances…SET@_progressbar1.pulse()
  588. Lecture des informations d'état…
  589. 0 mis à jour, 0 nouvellement installés, 1 réinstallés, 0 à enlever et 0 non mis à jour.
  590. Il est nécessaire de prendre 197 ko dans les archives.
  591. Après cette opération, 0 o d'espace disque supplémentaires seront utilisés.
  592. Réception de:1 http://fr.archive.ubuntu.com/ubuntu xenial-updates/main i386 grub-pc i386 2.02~beta2-36ubuntu3.2 [197 kB]
  593. 197 ko réceptionnés en 0s (2 759 ko/s)
  594. Téléchargement achevé et dans le mode téléchargement uniquement
  595. W: --force-yes is deprecated, use one of the options starting with --allow instead.
  596. DEBCHECK debOK, grub-pc
  597. DEBCHECK debOK
  598. shim-signed NOT available (apt-cache policy problem)
  599. linux-signed-generic NOT available (apt-cache policy problem)
  600. Please type: sudo dpkg --configure -ansudo apt-get install -fynsudo apt-get purge -y --force-yes grub*-common grub-common:i386
  601. =================== /etc/grub.d/ :
  602. drwxr-xr-x 2 root root 4096 sept. 1 18:37 grub.d
  603. total 4
  604. -rwxr-xr-x 1 root root 1992 mars 12 2014 20_memtest86+
  605. Then type: sudo apt-get install -y --force-yes grub-pc
  606. =================== /etc/grub.d/ :
  607. drwxr-xr-x 2 root root 4096 sept. 1 18:38 grub.d
  608. drwxr-xr-x 2 root root 4096 sept. 1 18:37 grub.d.bak
  609. total 72
  610. -rwxr-xr-x 1 root root 9791 juil. 23 02:09 00_header
  611. -rwxr-xr-x 1 root root 6258 mars 15 19:08 05_debian_theme
  612. -rwxr-xr-x 1 root root 12261 juil. 23 02:09 10_linux
  613. -rwxr-xr-x 1 root root 11082 juil. 23 02:09 20_linux_xen
  614. -rwxr-xr-x 1 root root 11692 juil. 23 02:09 30_os-prober
  615. -rwxr-xr-x 1 root root 1418 juil. 23 02:09 30_uefi-firmware
  616. -rwxr-xr-x 1 root root 214 juil. 23 02:09 40_custom
  617. -rwxr-xr-x 1 root root 216 juil. 23 02:09 41_custom
  618. -rw-r--r-- 1 root root 483 juil. 23 02:09 README
  619. =================== /etc/default/grub :
  620. # If you change this file, run 'update-grub' afterwards to update
  621. # /boot/grub/grub.cfg.
  622. # For full documentation of the options in this file, see:
  623. # info -f grub -n 'Simple configuration'
  624. GRUB_DEFAULT=0
  625. GRUB_HIDDEN_TIMEOUT=0
  626. GRUB_HIDDEN_TIMEOUT_QUIET=true
  627. GRUB_TIMEOUT=10
  628. GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
  629. GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
  630. GRUB_CMDLINE_LINUX=""
  631. # Uncomment to enable BadRAM filtering, modify to suit your needs
  632. # This works with Linux (no patch required) and with any kernel that obtains
  633. # the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
  634. #GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
  635. # Uncomment to disable graphical terminal (grub-pc only)
  636. #GRUB_TERMINAL=console
  637. # The resolution used on graphical terminal
  638. # note that you can use only modes which your graphic card supports via VBE
  639. # you can see them in real GRUB with the command `vbeinfo'
  640. #GRUB_GFXMODE=640x480
  641. # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
  642. #GRUB_DISABLE_LINUX_UUID=true
  643. # Uncomment to disable generation of recovery mode menu entries
  644. #GRUB_DISABLE_RECOVERY="true"
  645. # Uncomment to get a beep at grub start
  646. #GRUB_INIT_TUNE="480 440 1"
  647. =================== /etc/grub.d/ :
  648. drwxr-xr-x 2 root root 4096 sept. 1 18:38 grub.d
  649. drwxr-xr-x 2 root root 4096 sept. 1 18:37 grub.d.bak
  650. total 72
  651. -rwxr-xr-x 1 root root 9791 juil. 23 02:09 00_header
  652. -rwxr-xr-x 1 root root 6258 mars 15 19:08 05_debian_theme
  653. -rwxr-xr-x 1 root root 12261 juil. 23 02:09 10_linux
  654. -rwxr-xr-x 1 root root 11082 juil. 23 02:09 20_linux_xen
  655. -rwxr-xr-x 1 root root 11692 juil. 23 02:09 30_os-prober
  656. -rwxr-xr-x 1 root root 1418 juil. 23 02:09 30_uefi-firmware
  657. -rwxr-xr-x 1 root root 214 juil. 23 02:09 40_custom
  658. -rwxr-xr-x 1 root root 216 juil. 23 02:09 41_custom
  659. -rw-r--r-- 1 root root 483 juil. 23 02:09 README
  660. =================== /etc/default/grub :
  661. # If you change this file, run 'update-grub' afterwards to update
  662. # /boot/grub/grub.cfg.
  663. # For full documentation of the options in this file, see:
  664. # info -f grub -n 'Simple configuration'
  665. GRUB_DEFAULT=0
  666. GRUB_HIDDEN_TIMEOUT=0
  667. GRUB_HIDDEN_TIMEOUT_QUIET=true
  668. GRUB_TIMEOUT=10
  669. GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
  670. GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
  671. GRUB_CMDLINE_LINUX=""
  672. # Uncomment to enable BadRAM filtering, modify to suit your needs
  673. # This works with Linux (no patch required) and with any kernel that obtains
  674. # the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
  675. #GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
  676. # Uncomment to disable graphical terminal (grub-pc only)
  677. #GRUB_TERMINAL=console
  678. # The resolution used on graphical terminal
  679. # note that you can use only modes which your graphic card supports via VBE
  680. # you can see them in real GRUB with the command `vbeinfo'
  681. #GRUB_GFXMODE=640x480
  682. # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
  683. #GRUB_DISABLE_LINUX_UUID=true
  684. # Uncomment to disable generation of recovery mode menu entries
  685. #GRUB_DISABLE_RECOVERY="true"
  686. # Uncomment to get a beep at grub start
  687. #GRUB_INIT_TUNE="480 440 1"
  688. *******lspci -nnk | grep -iA3 vga
  689. 01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GT215M [GeForce GTS 250M] [10de:0ca9] (rev a2)
  690. Subsystem: Micro-Star International Co., Ltd. [MSI] GT215M [GeForce GTS 250M] [1462:102f]
  691. Kernel driver in use: nvidia
  692. Kernel modules: nvidiafb, nouveau, nvidia_340
  693. *******
  694. grub-install --version
  695. grub-install (GRUB) 2.02~beta2-36ubuntu3.2,grub-install (GRUB) 2.
  696. Reinstall the GRUB of sda1 into the MBR of sda
  697. Installing for i386-pc platform.
  698. Installation finished. No error reported.
  699. grub-install /dev/sda: exit code of grub-install /dev/sda:0
  700. update-grub
  701. Generating grub configuration file ...
  702. Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported.
  703. Found linux image: /boot/vmlinuz-4.4.0-36-generic
  704. Found initrd image: /boot/initrd.img-4.4.0-36-generic
  705. Found linux image: /boot/vmlinuz-4.4.0-34-generic
  706. Found initrd image: /boot/initrd.img-4.4.0-34-generic
  707. Le démarrage de l'ordinateur a été correctement réparé.
  708. Vous pouvez maintenant redémarrer votre ordinateur.
  709. Les fichiers de démarrage de [L'OS actuellement utilisé - Ubuntu 16.04.1 LTS] sont loin du début du disque. Votre BIOS pourrait ne pas les détecter. Vous voudrez peut-être re-essayer après avoir créé une partition /boot (EXT4, >200MB, en début de disque). Cela peut être réalisé via des outils tels que gParted. Puis sélectionnez cette partition via l'option [Partition /boot séparée :] de [Réparateur de démarrage]. (http://doc.ubuntu-fr.org/tutoriel/partition_boot)
  710. paste.ubuntu.com ko (), using paste.debian
  711. paste.debian.net ko (), using paste2