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