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: Grub2 (v1.99-2.00)
  13. Boot sector info: Grub2 (v2.00) is installed in the boot sector of sda1
  14. and looks at sector 948651720 of the same hard drive
  15. for core.img. core.img is at this location and looks
  16. for (,msdos1)/boot/grub. It also embeds following
  17. components:
  18. modules
  19. -------------------------------------------------------
  20. fshelp ext2 part_msdos biosdisk
  21. -------------------------------------------------------
  22. Operating System: Ubuntu 16.04.1 LTS
  23. Boot files: /boot/grub/grub.cfg /etc/fstab
  24. /boot/grub/i386-pc/core.img
  25. sda2: __________________________________________________________________________
  26. File system: Extended Partition
  27. Boot sector type: Unknown
  28. Boot sector info:
  29. sda5: __________________________________________________________________________
  30. File system: swap
  31. Boot sector type: -
  32. Boot sector info:
  33. ============================ Drive/Partition Info: =============================
  34. Drive: sda _____________________________________________________________________
  35. Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
  36. Units: sectors of 1 * 512 = 512 bytes
  37. Sector size (logical/physical): 512 bytes / 512 bytes
  38. I/O size (minimum/optimal): 512 bytes / 512 bytes
  39. Disklabel type: dos
  40. Partition Boot Start Sector End Sector # of Sectors Id System
  41. /dev/sda1 * 2,048 1,945,137,151 1,945,135,104 83 Linux
  42. /dev/sda2 1,945,139,198 1,953,523,711 8,384,514 5 Extended
  43. /dev/sda5 1,945,139,200 1,953,523,711 8,384,512 82 Linux swap / Solaris
  44. "blkid" output: ________________________________________________________________
  45. Device UUID TYPE LABEL
  46. /dev/sda1 9c8aecb7-8486-4671-bea5-f0f5f583eaeb ext4
  47. /dev/sda5 c8c10c24-6c6f-4290-9900-07f4f03808c2 swap
  48. ========================= "ls -l /dev/disk/by-id" output: ======================
  49. total 0
  50. lrwxrwxrwx 1 root root 9 Nov 26 09:39 ata-SAMSUNG_HD103SJ_S2QPJ9AB601216 -> ../../sda
  51. lrwxrwxrwx 1 root root 10 Nov 26 09:39 ata-SAMSUNG_HD103SJ_S2QPJ9AB601216-part1 -> ../../sda1
  52. lrwxrwxrwx 1 root root 10 Nov 26 09:39 ata-SAMSUNG_HD103SJ_S2QPJ9AB601216-part2 -> ../../sda2
  53. lrwxrwxrwx 1 root root 10 Nov 26 09:39 ata-SAMSUNG_HD103SJ_S2QPJ9AB601216-part5 -> ../../sda5
  54. lrwxrwxrwx 1 root root 9 Nov 26 09:10 ata-hp_DVD_A_DH16ABLH_3H8119903807 -> ../../sr0
  55. lrwxrwxrwx 1 root root 9 Nov 26 09:10 usb-Multiple_Card_Reader_058F63666433-0:0 -> ../../sdb
  56. lrwxrwxrwx 1 root root 9 Nov 26 09:39 wwn-0x50024e92055843be -> ../../sda
  57. lrwxrwxrwx 1 root root 10 Nov 26 09:39 wwn-0x50024e92055843be-part1 -> ../../sda1
  58. lrwxrwxrwx 1 root root 10 Nov 26 09:39 wwn-0x50024e92055843be-part2 -> ../../sda2
  59. lrwxrwxrwx 1 root root 10 Nov 26 09:39 wwn-0x50024e92055843be-part5 -> ../../sda5
  60. ================================ Mount points: =================================
  61. Device Mount_Point Type Options
  62. /dev/sda1 / ext4 (rw,relatime,errors=remount-ro,data=ordered)
  63. =========================== sda1/boot/grub/grub.cfg: ===========================
  64. --------------------------------------------------------------------------------
  65. #
  66. # DO NOT EDIT THIS FILE
  67. #
  68. # It is automatically generated by grub-mkconfig using templates
  69. # from /etc/grub.d and settings from /etc/default/grub
  70. #
  71. ### BEGIN /etc/grub.d/00_header ###
  72. if [ -s $prefix/grubenv ]; then
  73. set have_grubenv=true
  74. load_env
  75. fi
  76. if [ "${next_entry}" ] ; then
  77. set default="${next_entry}"
  78. set next_entry=
  79. save_env next_entry
  80. set boot_once=true
  81. else
  82. set default="0"
  83. fi
  84. if [ x"${feature_menuentry_id}" = xy ]; then
  85. menuentry_id_option="--id"
  86. else
  87. menuentry_id_option=""
  88. fi
  89. export menuentry_id_option
  90. if [ "${prev_saved_entry}" ]; then
  91. set saved_entry="${prev_saved_entry}"
  92. save_env saved_entry
  93. set prev_saved_entry=
  94. save_env prev_saved_entry
  95. set boot_once=true
  96. fi
  97. function savedefault {
  98. if [ -z "${boot_once}" ]; then
  99. saved_entry="${chosen}"
  100. save_env saved_entry
  101. fi
  102. }
  103. function recordfail {
  104. set recordfail=1
  105. if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
  106. }
  107. function load_video {
  108. if [ x$feature_all_video_module = xy ]; then
  109. insmod all_video
  110. else
  111. insmod efi_gop
  112. insmod efi_uga
  113. insmod ieee1275_fb
  114. insmod vbe
  115. insmod vga
  116. insmod video_bochs
  117. insmod video_cirrus
  118. fi
  119. }
  120. if [ x$feature_default_font_path = xy ] ; then
  121. font=unicode
  122. else
  123. insmod part_msdos
  124. insmod ext2
  125. set root='hd0,msdos1'
  126. if [ x$feature_platform_search_hint = xy ]; then
  127. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 9c8aecb7-8486-4671-bea5-f0f5f583eaeb
  128. else
  129. search --no-floppy --fs-uuid --set=root 9c8aecb7-8486-4671-bea5-f0f5f583eaeb
  130. fi
  131. font="/usr/share/grub/unicode.pf2"
  132. fi
  133. if loadfont $font ; then
  134. set gfxmode=auto
  135. load_video
  136. insmod gfxterm
  137. set locale_dir=$prefix/locale
  138. set lang=fr_FR
  139. insmod gettext
  140. fi
  141. terminal_output gfxterm
  142. if [ "${recordfail}" = 1 ] ; then
  143. set timeout=10
  144. else
  145. if [ x$feature_timeout_style = xy ] ; then
  146. set timeout_style=menu
  147. set timeout=10
  148. # Fallback normal timeout code in case the timeout_style feature is
  149. # unavailable.
  150. else
  151. set timeout=10
  152. fi
  153. fi
  154. ### END /etc/grub.d/00_header ###
  155. ### BEGIN /etc/grub.d/05_debian_theme ###
  156. set menu_color_normal=white/black
  157. set menu_color_highlight=black/light-gray
  158. if background_color 44,0,30,0; then
  159. clear
  160. fi
  161. ### END /etc/grub.d/05_debian_theme ###
  162. ### BEGIN /etc/grub.d/10_linux ###
  163. function gfxmode {
  164. set gfxpayload="${1}"
  165. if [ "${1}" = "keep" ]; then
  166. set vt_handoff=vt.handoff=7
  167. else
  168. set vt_handoff=
  169. fi
  170. }
  171. if [ "${recordfail}" != 1 ]; then
  172. if [ -e ${prefix}/gfxblacklist.txt ]; then
  173. if hwmatch ${prefix}/gfxblacklist.txt 3; then
  174. if [ ${match} = 0 ]; then
  175. set linux_gfx_mode=keep
  176. else
  177. set linux_gfx_mode=text
  178. fi
  179. else
  180. set linux_gfx_mode=text
  181. fi
  182. else
  183. set linux_gfx_mode=keep
  184. fi
  185. else
  186. set linux_gfx_mode=text
  187. fi
  188. export linux_gfx_mode
  189. menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-9c8aecb7-8486-4671-bea5-f0f5f583eaeb' {
  190. recordfail
  191. load_video
  192. gfxmode $linux_gfx_mode
  193. insmod gzio
  194. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  195. insmod part_msdos
  196. insmod ext2
  197. set root='hd0,msdos1'
  198. if [ x$feature_platform_search_hint = xy ]; then
  199. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 9c8aecb7-8486-4671-bea5-f0f5f583eaeb
  200. else
  201. search --no-floppy --fs-uuid --set=root 9c8aecb7-8486-4671-bea5-f0f5f583eaeb
  202. fi
  203. linux /boot/vmlinuz-4.4.0-47-generic root=UUID=9c8aecb7-8486-4671-bea5-f0f5f583eaeb ro quiet splash $vt_handoff
  204. initrd /boot/initrd.img-4.4.0-47-generic
  205. }
  206. submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-9c8aecb7-8486-4671-bea5-f0f5f583eaeb' {
  207. menuentry 'Ubuntu, with Linux 4.4.0-47-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-47-generic-advanced-9c8aecb7-8486-4671-bea5-f0f5f583eaeb' {
  208. recordfail
  209. load_video
  210. gfxmode $linux_gfx_mode
  211. insmod gzio
  212. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  213. insmod part_msdos
  214. insmod ext2
  215. set root='hd0,msdos1'
  216. if [ x$feature_platform_search_hint = xy ]; then
  217. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 9c8aecb7-8486-4671-bea5-f0f5f583eaeb
  218. else
  219. search --no-floppy --fs-uuid --set=root 9c8aecb7-8486-4671-bea5-f0f5f583eaeb
  220. fi
  221. echo 'Loading Linux 4.4.0-47-generic ...'
  222. linux /boot/vmlinuz-4.4.0-47-generic root=UUID=9c8aecb7-8486-4671-bea5-f0f5f583eaeb ro quiet splash $vt_handoff
  223. echo 'Loading initial ramdisk ...'
  224. initrd /boot/initrd.img-4.4.0-47-generic
  225. }
  226. menuentry 'Ubuntu, with Linux 4.4.0-47-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-47-generic-init-upstart-9c8aecb7-8486-4671-bea5-f0f5f583eaeb' {
  227. recordfail
  228. load_video
  229. gfxmode $linux_gfx_mode
  230. insmod gzio
  231. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  232. insmod part_msdos
  233. insmod ext2
  234. set root='hd0,msdos1'
  235. if [ x$feature_platform_search_hint = xy ]; then
  236. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 9c8aecb7-8486-4671-bea5-f0f5f583eaeb
  237. else
  238. search --no-floppy --fs-uuid --set=root 9c8aecb7-8486-4671-bea5-f0f5f583eaeb
  239. fi
  240. echo 'Loading Linux 4.4.0-47-generic ...'
  241. linux /boot/vmlinuz-4.4.0-47-generic root=UUID=9c8aecb7-8486-4671-bea5-f0f5f583eaeb ro quiet splash $vt_handoff init=/sbin/upstart
  242. echo 'Loading initial ramdisk ...'
  243. initrd /boot/initrd.img-4.4.0-47-generic
  244. }
  245. menuentry 'Ubuntu, with Linux 4.4.0-47-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-47-generic-recovery-9c8aecb7-8486-4671-bea5-f0f5f583eaeb' {
  246. recordfail
  247. load_video
  248. insmod gzio
  249. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  250. insmod part_msdos
  251. insmod ext2
  252. set root='hd0,msdos1'
  253. if [ x$feature_platform_search_hint = xy ]; then
  254. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 9c8aecb7-8486-4671-bea5-f0f5f583eaeb
  255. else
  256. search --no-floppy --fs-uuid --set=root 9c8aecb7-8486-4671-bea5-f0f5f583eaeb
  257. fi
  258. echo 'Loading Linux 4.4.0-47-generic ...'
  259. linux /boot/vmlinuz-4.4.0-47-generic root=UUID=9c8aecb7-8486-4671-bea5-f0f5f583eaeb ro recovery nomodeset
  260. echo 'Loading initial ramdisk ...'
  261. initrd /boot/initrd.img-4.4.0-47-generic
  262. }
  263. menuentry 'Ubuntu, with Linux 4.4.0-21-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-21-generic-advanced-9c8aecb7-8486-4671-bea5-f0f5f583eaeb' {
  264. recordfail
  265. load_video
  266. gfxmode $linux_gfx_mode
  267. insmod gzio
  268. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  269. insmod part_msdos
  270. insmod ext2
  271. set root='hd0,msdos1'
  272. if [ x$feature_platform_search_hint = xy ]; then
  273. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 9c8aecb7-8486-4671-bea5-f0f5f583eaeb
  274. else
  275. search --no-floppy --fs-uuid --set=root 9c8aecb7-8486-4671-bea5-f0f5f583eaeb
  276. fi
  277. echo 'Loading Linux 4.4.0-21-generic ...'
  278. linux /boot/vmlinuz-4.4.0-21-generic root=UUID=9c8aecb7-8486-4671-bea5-f0f5f583eaeb ro quiet splash $vt_handoff
  279. echo 'Loading initial ramdisk ...'
  280. initrd /boot/initrd.img-4.4.0-21-generic
  281. }
  282. menuentry 'Ubuntu, with Linux 4.4.0-21-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-21-generic-init-upstart-9c8aecb7-8486-4671-bea5-f0f5f583eaeb' {
  283. recordfail
  284. load_video
  285. gfxmode $linux_gfx_mode
  286. insmod gzio
  287. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  288. insmod part_msdos
  289. insmod ext2
  290. set root='hd0,msdos1'
  291. if [ x$feature_platform_search_hint = xy ]; then
  292. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 9c8aecb7-8486-4671-bea5-f0f5f583eaeb
  293. else
  294. search --no-floppy --fs-uuid --set=root 9c8aecb7-8486-4671-bea5-f0f5f583eaeb
  295. fi
  296. echo 'Loading Linux 4.4.0-21-generic ...'
  297. linux /boot/vmlinuz-4.4.0-21-generic root=UUID=9c8aecb7-8486-4671-bea5-f0f5f583eaeb ro quiet splash $vt_handoff init=/sbin/upstart
  298. echo 'Loading initial ramdisk ...'
  299. initrd /boot/initrd.img-4.4.0-21-generic
  300. }
  301. menuentry 'Ubuntu, with Linux 4.4.0-21-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-21-generic-recovery-9c8aecb7-8486-4671-bea5-f0f5f583eaeb' {
  302. recordfail
  303. load_video
  304. insmod gzio
  305. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  306. insmod part_msdos
  307. insmod ext2
  308. set root='hd0,msdos1'
  309. if [ x$feature_platform_search_hint = xy ]; then
  310. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 9c8aecb7-8486-4671-bea5-f0f5f583eaeb
  311. else
  312. search --no-floppy --fs-uuid --set=root 9c8aecb7-8486-4671-bea5-f0f5f583eaeb
  313. fi
  314. echo 'Loading Linux 4.4.0-21-generic ...'
  315. linux /boot/vmlinuz-4.4.0-21-generic root=UUID=9c8aecb7-8486-4671-bea5-f0f5f583eaeb ro recovery nomodeset
  316. echo 'Loading initial ramdisk ...'
  317. initrd /boot/initrd.img-4.4.0-21-generic
  318. }
  319. }
  320. ### END /etc/grub.d/10_linux ###
  321. ### BEGIN /etc/grub.d/20_linux_xen ###
  322. ### END /etc/grub.d/20_linux_xen ###
  323. ### BEGIN /etc/grub.d/30_os-prober ###
  324. ### END /etc/grub.d/30_os-prober ###
  325. ### BEGIN /etc/grub.d/30_uefi-firmware ###
  326. ### END /etc/grub.d/30_uefi-firmware ###
  327. ### BEGIN /etc/grub.d/40_custom ###
  328. # This file provides an easy way to add custom menu entries. Simply type the
  329. # menu entries you want to add after this comment. Be careful not to change
  330. # the 'exec tail' line above.
  331. ### END /etc/grub.d/40_custom ###
  332. ### BEGIN /etc/grub.d/41_custom ###
  333. if [ -f ${config_directory}/custom.cfg ]; then
  334. source ${config_directory}/custom.cfg
  335. elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
  336. source $prefix/custom.cfg;
  337. fi
  338. ### END /etc/grub.d/41_custom ###
  339. --------------------------------------------------------------------------------
  340. =============================== sda1/etc/fstab: ================================
  341. --------------------------------------------------------------------------------
  342. # /etc/fstab: static file system information.
  343. #
  344. # Use 'blkid' to print the universally unique identifier for a
  345. # device; this may be used with UUID= as a more robust way to name devices
  346. # that works even if disks are added and removed. See fstab(5).
  347. #
  348. # <file system> <mount point> <type> <options> <dump> <pass>
  349. # / was on /dev/sda1 during installation
  350. UUID=9c8aecb7-8486-4671-bea5-f0f5f583eaeb / ext4 errors=remount-ro 0 1
  351. # swap was on /dev/sda5 during installation
  352. UUID=c8c10c24-6c6f-4290-9900-07f4f03808c2 none swap sw 0 0
  353. --------------------------------------------------------------------------------
  354. =================== sda1: Location of files loaded by Grub: ====================
  355. GiB - GB File Fragment(s)
  356. 454.132530212 = 487.621091328 boot/grub/grub.cfg 1
  357. 708.141517639 = 760.361164800 boot/grub/i386-pc/core.img 1
  358. 1.558288574 = 1.673199616 boot/vmlinuz-4.4.0-21-generic 2
  359. 3.507549286 = 3.766202368 boot/vmlinuz-4.4.0-47-generic 1
  360. 3.507549286 = 3.766202368 vmlinuz 1
  361. 1.558288574 = 1.673199616 vmlinuz.old 2
  362. 2.036739349 = 2.186932224 boot/initrd.img-4.4.0-21-generic 2
  363. 2.598579407 = 2.790203392 boot/initrd.img-4.4.0-47-generic 1
  364. 2.598579407 = 2.790203392 initrd.img 1
  365. 2.036739349 = 2.186932224 initrd.img.old 2
  366. ======================== Unknown MBRs/Boot Sectors/etc: ========================
  367. Unknown BootLoader on sda2
  368. ========= Devices which don't seem to have a corresponding hard drive: =========
  369. sdb
  370. =============================== StdErr Messages: ===============================
  371. hexdump: /dev/sda2: No such device or address
  372. hexdump: /dev/sda2: No such device or address
  373. ADDITIONAL INFORMATION :
  374. =================== log of boot-repair 2016-11-26__09h36 ===================
  375. boot-repair version : 4ppa40
  376. boot-sav version : 4ppa40
  377. glade2script version : 3.2.3~ppa1
  378. boot-sav-extra version : 4ppa40
  379. boot-repair is executed in installed-session (Ubuntu 16.04.1 LTS, xenial, Ubuntu, x86_64)
  380. CPU op-mode(s): 32-bit, 64-bit
  381. BOOT_IMAGE=/boot/vmlinuz-4.4.0-47-generic root=UUID=9c8aecb7-8486-4671-bea5-f0f5f583eaeb ro quiet splash vt.handoff=7
  382. =================== os-prober:
  383. /dev/sda1:L'OS actuellement utilisé - Ubuntu 16.04.1 LTS CurrentSession:linux
  384. =================== blkid:
  385. /dev/sda1: UUID="9c8aecb7-8486-4671-bea5-f0f5f583eaeb" TYPE="ext4" PARTUUID="cbef39fa-01"
  386. /dev/sda5: UUID="c8c10c24-6c6f-4290-9900-07f4f03808c2" TYPE="swap" PARTUUID="cbef39fa-05"
  387. 1 disks with OS, 1 OS : 1 Linux, 0 MacOS, 0 Windows, 0 unknown type OS.
  388. =================== /etc/grub.d/ :
  389. drwxr-xr-x 2 root root 4096 nov. 24 15:05 grub.d
  390. drwxr-xr-x 2 root root 4096 nov. 24 15:04 grub.d.bak
  391. total 72
  392. -rwxr-xr-x 1 root root 9791 juil. 23 02:09 00_header
  393. -rwxr-xr-x 1 root root 6258 mars 15 2016 05_debian_theme
  394. -rwxr-xr-x 1 root root 12261 juil. 23 02:09 10_linux
  395. -rwxr-xr-x 1 root root 11082 juil. 23 02:09 20_linux_xen
  396. -rwxr-xr-x 1 root root 11692 juil. 23 02:09 30_os-prober
  397. -rwxr-xr-x 1 root root 1418 juil. 23 02:09 30_uefi-firmware
  398. -rwxr-xr-x 1 root root 214 juil. 23 02:09 40_custom
  399. -rwxr-xr-x 1 root root 216 juil. 23 02:09 41_custom
  400. -rw-r--r-- 1 root root 483 juil. 23 02:09 README
  401. =================== /etc/default/grub :
  402. # If you change this file, run 'update-grub' afterwards to update
  403. # /boot/grub/grub.cfg.
  404. # For full documentation of the options in this file, see:
  405. # info -f grub -n 'Simple configuration'
  406. GRUB_DEFAULT=0
  407. #GRUB_HIDDEN_TIMEOUT=0
  408. GRUB_HIDDEN_TIMEOUT_QUIET=true
  409. GRUB_TIMEOUT=10
  410. GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
  411. GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
  412. GRUB_CMDLINE_LINUX=""
  413. # Uncomment to enable BadRAM filtering, modify to suit your needs
  414. # This works with Linux (no patch required) and with any kernel that obtains
  415. # the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
  416. #GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
  417. # Uncomment to disable graphical terminal (grub-pc only)
  418. #GRUB_TERMINAL=console
  419. # The resolution used on graphical terminal
  420. # note that you can use only modes which your graphic card supports via VBE
  421. # you can see them in real GRUB with the command `vbeinfo'
  422. #GRUB_GFXMODE=640x480
  423. # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
  424. #GRUB_DISABLE_LINUX_UUID=true
  425. # Uncomment to disable generation of recovery mode menu entries
  426. #GRUB_DISABLE_RECOVERY="true"
  427. # Uncomment to get a beep at grub start
  428. #GRUB_INIT_TUNE="480 440 1"
  429. =================== UEFI/Legacy mode:
  430. This installed-session is not in EFI-mode.
  431. SecureBoot disabled.
  432. =================== PARTITIONS & DISKS:
  433. 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, .
  434. sda : not-GPT, BIOSboot-not-needed, has-no-EFIpart, not-usb, has-os, 2048 sectors * 512 bytes
  435. =================== parted -l:
  436. Model: ATA SAMSUNG HD103SJ (scsi)
  437. Disk /dev/sda: 1000GB
  438. Sector size (logical/physical): 512B/512B
  439. Partition Table: msdos
  440. Disk Flags:
  441. Number Start End Size Type File system Flags
  442. 1 1049kB 996GB 996GB primary ext4 boot
  443. 2 996GB 1000GB 4293MB extended
  444. 5 996GB 1000GB 4293MB logical linux-swap(v1)
  445. =================== parted -lm:
  446. BYT;
  447. /dev/sda:1000GB:scsi:512:512:msdos:ATA SAMSUNG HD103SJ:;
  448. 1:1049kB:996GB:996GB:ext4::boot;
  449. 2:996GB:1000GB:4293MB:::;
  450. 5:996GB:1000GB:4293MB:linux-swap(v1)::;
  451. =================== lsblk:
  452. KNAME TYPE FSTYPE SIZE LABEL
  453. sda disk 931,5G
  454. sda1 part ext4 927,5G
  455. sda5 part swap 4G
  456. sr0 rom 1024M
  457. KNAME ROTA RO RM STATE MOUNTPOINT
  458. sda 1 0 0 running
  459. sda1 1 0 0 /
  460. sda5 1 0 0 [SWAP]
  461. sr0 1 0 1 running
  462. =================== mount:
  463. sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
  464. proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
  465. udev on /dev type devtmpfs (rw,nosuid,relatime,size=1970036k,nr_inodes=492509,mode=755)
  466. devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
  467. tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=404628k,mode=755)
  468. /dev/sda1 on / type ext4 (rw,relatime,errors=remount-ro,data=ordered)
  469. securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
  470. tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
  471. tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
  472. tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
  473. cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd)
  474. pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
  475. cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
  476. cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
  477. cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
  478. cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
  479. cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
  480. cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
  481. cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
  482. cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb)
  483. cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
  484. cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
  485. systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=33,pgrp=1,timeout=0,minproto=5,maxproto=5,direct)
  486. hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
  487. debugfs on /sys/kernel/debug type debugfs (rw,relatime)
  488. mqueue on /dev/mqueue type mqueue (rw,relatime)
  489. fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
  490. tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=404628k,mode=700,uid=1000,gid=1000)
  491. gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)
  492. =================== ls:
  493. /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
  494. /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 size slaves stat subsystem trace uevent
  495. /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
  496. /dev (filtered): autofs block bsg btrfs-control bus cdrom cdrw char console core cpu cpu_dma_latency cuse disk dri dvd dvdrw ecryptfs fb0 fd full fuse hidraw0 hidraw1 hidraw2 hpet hplj1018-0 hplj1018-5 hugepages hwrng i2c-0 i2c-1 i2c-2 i2c-3 i2c-4 i2c-5 i2c-6 i2c-7 i2c-8 i2c-9 initctl input kfd kmsg lightnvm log mapper mcelog mem memory_bandwidth mqueue net network_latency network_throughput null port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sda2 sda5 sdb sg0 sg1 sg2 shm snapshot snd sr0 stderr stdin stdout uhid uinput urandom usb userio vfio vga_arbiter vhci vhost-net zero
  497. ls /dev/mapper: control
  498. ls: impossible d'accéder à '': Aucun fichier ou dossier de ce type
  499. =================== df -Th:
  500. Filesystem Type Size Used Avail Use% Mounted on
  501. udev devtmpfs 1.9G 0 1.9G 0% /dev
  502. tmpfs tmpfs 396M 6.3M 389M 2% /run
  503. /dev/sda1 ext4 913G 29G 838G 4% /
  504. tmpfs tmpfs 2.0G 200K 2.0G 1% /dev/shm
  505. tmpfs tmpfs 5.0M 4.0K 5.0M 1% /run/lock
  506. tmpfs tmpfs 2.0G 0 2.0G 0% /sys/fs/cgroup
  507. tmpfs tmpfs 396M 64K 396M 1% /run/user/1000
  508. =================== fdisk -l:
  509. Disk /dev/ram0: 64 MiB, 67108864 bytes, 131072 sectors
  510. Units: sectors of 1 * 512 = 512 bytes
  511. Sector size (logical/physical): 512 bytes / 4096 bytes
  512. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  513. Disk /dev/ram1: 64 MiB, 67108864 bytes, 131072 sectors
  514. Units: sectors of 1 * 512 = 512 bytes
  515. Sector size (logical/physical): 512 bytes / 4096 bytes
  516. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  517. Disk /dev/ram2: 64 MiB, 67108864 bytes, 131072 sectors
  518. Units: sectors of 1 * 512 = 512 bytes
  519. Sector size (logical/physical): 512 bytes / 4096 bytes
  520. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  521. Disk /dev/ram3: 64 MiB, 67108864 bytes, 131072 sectors
  522. Units: sectors of 1 * 512 = 512 bytes
  523. Sector size (logical/physical): 512 bytes / 4096 bytes
  524. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  525. Disk /dev/ram4: 64 MiB, 67108864 bytes, 131072 sectors
  526. Units: sectors of 1 * 512 = 512 bytes
  527. Sector size (logical/physical): 512 bytes / 4096 bytes
  528. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  529. Disk /dev/ram5: 64 MiB, 67108864 bytes, 131072 sectors
  530. Units: sectors of 1 * 512 = 512 bytes
  531. Sector size (logical/physical): 512 bytes / 4096 bytes
  532. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  533. Disk /dev/ram6: 64 MiB, 67108864 bytes, 131072 sectors
  534. Units: sectors of 1 * 512 = 512 bytes
  535. Sector size (logical/physical): 512 bytes / 4096 bytes
  536. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  537. Disk /dev/ram7: 64 MiB, 67108864 bytes, 131072 sectors
  538. Units: sectors of 1 * 512 = 512 bytes
  539. Sector size (logical/physical): 512 bytes / 4096 bytes
  540. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  541. Disk /dev/ram8: 64 MiB, 67108864 bytes, 131072 sectors
  542. Units: sectors of 1 * 512 = 512 bytes
  543. Sector size (logical/physical): 512 bytes / 4096 bytes
  544. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  545. Disk /dev/ram9: 64 MiB, 67108864 bytes, 131072 sectors
  546. Units: sectors of 1 * 512 = 512 bytes
  547. Sector size (logical/physical): 512 bytes / 4096 bytes
  548. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  549. Disk /dev/ram10: 64 MiB, 67108864 bytes, 131072 sectors
  550. Units: sectors of 1 * 512 = 512 bytes
  551. Sector size (logical/physical): 512 bytes / 4096 bytes
  552. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  553. Disk /dev/ram11: 64 MiB, 67108864 bytes, 131072 sectors
  554. Units: sectors of 1 * 512 = 512 bytes
  555. Sector size (logical/physical): 512 bytes / 4096 bytes
  556. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  557. Disk /dev/ram12: 64 MiB, 67108864 bytes, 131072 sectors
  558. Units: sectors of 1 * 512 = 512 bytes
  559. Sector size (logical/physical): 512 bytes / 4096 bytes
  560. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  561. Disk /dev/ram13: 64 MiB, 67108864 bytes, 131072 sectors
  562. Units: sectors of 1 * 512 = 512 bytes
  563. Sector size (logical/physical): 512 bytes / 4096 bytes
  564. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  565. Disk /dev/ram14: 64 MiB, 67108864 bytes, 131072 sectors
  566. Units: sectors of 1 * 512 = 512 bytes
  567. Sector size (logical/physical): 512 bytes / 4096 bytes
  568. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  569. Disk /dev/ram15: 64 MiB, 67108864 bytes, 131072 sectors
  570. Units: sectors of 1 * 512 = 512 bytes
  571. Sector size (logical/physical): 512 bytes / 4096 bytes
  572. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  573. Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
  574. Units: sectors of 1 * 512 = 512 bytes
  575. Sector size (logical/physical): 512 bytes / 512 bytes
  576. I/O size (minimum/optimal): 512 bytes / 512 bytes
  577. Disklabel type: dos
  578. Disk identifier: 0xcbef39fa
  579. Device Boot Start End Sectors Size Id Type
  580. /dev/sda1 * 2048 1945137151 1945135104 927.5G 83 Linux
  581. /dev/sda2 1945139198 1953523711 8384514 4G 5 Extended
  582. /dev/sda5 1945139200 1953523711 8384512 4G 82 Linux swap / Solaris
  583. =================== Recommended repair
  584. The default repair of the Boot-Repair utility will purge (in order to) and reinstall the grub2 of sda1 into the MBR of sda.
  585. Additional repair will be performed: unhide-bootmenu-10s
  586. apt-get -y --force-yes update
  587. AppStream cache update completed, but some metadata was ignored due to errors.
  588. Purge the GRUB of sda1
  589. grub-pc available
  590. Lecture des listes de paquets…
  591. Construction de l'arbre des dépendances…SET@_progressbar1.pulse()
  592. Lecture des informations d'état…
  593. Les paquets suivants ont été installés automatiquement et ne sont plus nécessaires :
  594. kde-l10n-engb kde-l10n-fr python3-pexpect python3-pil python3-ptyprocess
  595. python3-renderpm python3-reportlab python3-reportlab-accel
  596. Veuillez utiliser « sudo apt autoremove » pour les supprimer.
  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.2 [197 kB]
  601. 197 ko réceptionnés en 0s (508 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 nov. 26 09:37 grub.d
  612. drwxr-xr-x 2 root root 4096 nov. 24 15:04 grub.d.bak
  613. total 72
  614. -rwxr-xr-x 1 root root 9791 juil. 23 02:09 00_header
  615. -rwxr-xr-x 1 root root 6258 mars 15 2016 05_debian_theme
  616. -rwxr-xr-x 1 root root 12261 juil. 23 02:09 10_linux
  617. -rwxr-xr-x 1 root root 11082 juil. 23 02:09 20_linux_xen
  618. -rwxr-xr-x 1 root root 11692 juil. 23 02:09 30_os-prober
  619. -rwxr-xr-x 1 root root 1418 juil. 23 02:09 30_uefi-firmware
  620. -rwxr-xr-x 1 root root 214 juil. 23 02:09 40_custom
  621. -rwxr-xr-x 1 root root 216 juil. 23 02:09 41_custom
  622. -rw-r--r-- 1 root root 483 juil. 23 02:09 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 nov. 26 09:37 grub.d
  654. drwxr-xr-x 2 root root 4096 nov. 24 15:04 grub.d.bak
  655. total 72
  656. -rwxr-xr-x 1 root root 9791 juil. 23 02:09 00_header
  657. -rwxr-xr-x 1 root root 6258 mars 15 2016 05_debian_theme
  658. -rwxr-xr-x 1 root root 12261 juil. 23 02:09 10_linux
  659. -rwxr-xr-x 1 root root 11082 juil. 23 02:09 20_linux_xen
  660. -rwxr-xr-x 1 root root 11692 juil. 23 02:09 30_os-prober
  661. -rwxr-xr-x 1 root root 1418 juil. 23 02:09 30_uefi-firmware
  662. -rwxr-xr-x 1 root root 214 juil. 23 02:09 40_custom
  663. -rwxr-xr-x 1 root root 216 juil. 23 02:09 41_custom
  664. -rw-r--r-- 1 root root 483 juil. 23 02:09 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. 02:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Caicos [Radeon HD 6450/7450/8450 / R5 230 OEM] [1002:6779]
  695. Subsystem: Pegatron Radeon HD 6450 [1b0a:9097]
  696. Kernel driver in use: radeon
  697. Kernel modules: radeon
  698. *******
  699. grub-install --version
  700. grub-install (GRUB) 2.02~beta2-36ubuntu3.2,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-47-generic
  708. Found initrd image: /boot/initrd.img-4.4.0-47-generic
  709. Found linux image: /boot/vmlinuz-4.4.0-21-generic
  710. Found initrd image: /boot/initrd.img-4.4.0-21-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