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. => Syslinux MBR (5.00 and higher) is installed in the MBR of /dev/sdb.
  11. sda1: __________________________________________________________________________
  12. File system: ext4
  13. Boot sector type: Grub2 (v1.99-2.00)
  14. Boot sector info: Grub2 (v2.00) is installed in the boot sector of sda1
  15. and looks at sector 650819016 of the same hard drive
  16. for core.img. core.img is at this location and looks
  17. for (,msdos1)/boot/grub. It also embeds following
  18. components:
  19. modules
  20. -------------------------------------------------------
  21. fshelp ext2 part_msdos biosdisk
  22. -------------------------------------------------------
  23. Operating System: Ubuntu 16.04.2 LTS
  24. Boot files: /boot/grub/grub.cfg /etc/fstab
  25. /boot/grub/i386-pc/core.img
  26. sda2: __________________________________________________________________________
  27. File system: Extended Partition
  28. Boot sector type: -
  29. Boot sector info:
  30. sda5: __________________________________________________________________________
  31. File system: swap
  32. Boot sector type: -
  33. Boot sector info:
  34. sda3: __________________________________________________________________________
  35. File system: ext4
  36. Boot sector type: -
  37. Boot sector info:
  38. Operating System:
  39. Boot files:
  40. sda4: __________________________________________________________________________
  41. File system: vfat
  42. Boot sector type: FAT16
  43. Boot sector info: No errors found in the Boot Parameter Block.
  44. Operating System:
  45. Boot files:
  46. sdb1: __________________________________________________________________________
  47. File system: vfat
  48. Boot sector type: SYSLINUX 6.03
  49. Boot sector info: Syslinux looks at sector 32792 of /dev/sdb1 for its
  50. second stage. The integrity check of Syslinux failed.
  51. No errors found in the Boot Parameter Block.
  52. Operating System:
  53. Boot files: /boot/grub/grub.cfg /syslinux.cfg /casper/vmlinuz.efi
  54. /EFI/BOOT/grubx64.efi /ldlinux.sys
  55. ============================ Drive/Partition Info: =============================
  56. Drive: sda _____________________________________________________________________
  57. Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
  58. Units: sectors of 1 * 512 = 512 bytes
  59. Sector size (logical/physical): 512 bytes / 4096 bytes
  60. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  61. Disklabel type: dos
  62. Partition Boot Start Sector End Sector # of Sectors Id System
  63. /dev/sda1 * 104,448 1,322,606,591 1,322,502,144 83 Linux
  64. /dev/sda2 1,937,008,638 1,953,523,711 16,515,074 5 Extended
  65. /dev/sda5 1,937,008,640 1,953,523,711 16,515,072 82 Linux swap / Solaris
  66. /dev/sda3 1,322,606,592 1,937,006,591 614,400,000 83 Linux
  67. /dev/sda4 2,048 104,447 102,400 6 FAT16
  68. Drive: sdb _____________________________________________________________________
  69. Disk /dev/sdb: 7.5 GiB, 8036286464 bytes, 15695872 sectors
  70. Units: sectors of 1 * 512 = 512 bytes
  71. Sector size (logical/physical): 512 bytes / 512 bytes
  72. I/O size (minimum/optimal): 512 bytes / 512 bytes
  73. Disklabel type: dos
  74. Partition Boot Start Sector End Sector # of Sectors Id System
  75. /dev/sdb1 * 2,048 15,695,871 15,693,824 c W95 FAT32 (LBA)
  76. "blkid" output: ________________________________________________________________
  77. Device UUID TYPE LABEL
  78. /dev/loop0 squashfs
  79. /dev/sda1 d43f719d-b04e-4da9-9c39-91af6eb3da5c ext4
  80. /dev/sda3 cc027c97-a986-4e12-85d1-b1df811ff0aa ext4 POP2-Sauvegarde
  81. /dev/sda4 FDB6-AB73 vfat
  82. /dev/sda5 818c8e6c-a0ac-45bd-b021-2f2f724b9aef swap
  83. /dev/sdb1 A0CE-4C14 vfat UBUNTU 16_0
  84. ========================= "ls -l /dev/disk/by-id" output: ======================
  85. total 0
  86. lrwxrwxrwx 1 root root 9 Apr 13 17:47 ata-TOSHIBA_MQ01ABD100_76RAPZ7BT -> ../../sda
  87. lrwxrwxrwx 1 root root 10 Apr 13 17:47 ata-TOSHIBA_MQ01ABD100_76RAPZ7BT-part1 -> ../../sda1
  88. lrwxrwxrwx 1 root root 10 Apr 13 17:47 ata-TOSHIBA_MQ01ABD100_76RAPZ7BT-part2 -> ../../sda2
  89. lrwxrwxrwx 1 root root 10 Apr 13 17:47 ata-TOSHIBA_MQ01ABD100_76RAPZ7BT-part3 -> ../../sda3
  90. lrwxrwxrwx 1 root root 10 Apr 13 17:47 ata-TOSHIBA_MQ01ABD100_76RAPZ7BT-part4 -> ../../sda4
  91. lrwxrwxrwx 1 root root 10 Apr 13 17:47 ata-TOSHIBA_MQ01ABD100_76RAPZ7BT-part5 -> ../../sda5
  92. lrwxrwxrwx 1 root root 9 Apr 13 17:28 usb-JetFlash_Transcend_8GB_Y9IJQET5-0:0 -> ../../sdb
  93. lrwxrwxrwx 1 root root 10 Apr 13 17:28 usb-JetFlash_Transcend_8GB_Y9IJQET5-0:0-part1 -> ../../sdb1
  94. lrwxrwxrwx 1 root root 9 Apr 13 17:47 wwn-0x500003972260a209 -> ../../sda
  95. lrwxrwxrwx 1 root root 10 Apr 13 17:47 wwn-0x500003972260a209-part1 -> ../../sda1
  96. lrwxrwxrwx 1 root root 10 Apr 13 17:47 wwn-0x500003972260a209-part2 -> ../../sda2
  97. lrwxrwxrwx 1 root root 10 Apr 13 17:47 wwn-0x500003972260a209-part3 -> ../../sda3
  98. lrwxrwxrwx 1 root root 10 Apr 13 17:47 wwn-0x500003972260a209-part4 -> ../../sda4
  99. lrwxrwxrwx 1 root root 10 Apr 13 17:47 wwn-0x500003972260a209-part5 -> ../../sda5
  100. ================================ Mount points: =================================
  101. Device Mount_Point Type Options
  102. /dev/loop0 /rofs squashfs (ro,noatime)
  103. /dev/sdb1 /cdrom vfat (ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
  104. =========================== sda1/boot/grub/grub.cfg: ===========================
  105. --------------------------------------------------------------------------------
  106. #
  107. # DO NOT EDIT THIS FILE
  108. #
  109. # It is automatically generated by grub-mkconfig using templates
  110. # from /etc/grub.d and settings from /etc/default/grub
  111. #
  112. ### BEGIN /etc/grub.d/00_header ###
  113. if [ -s $prefix/grubenv ]; then
  114. set have_grubenv=true
  115. load_env
  116. fi
  117. if [ "${next_entry}" ] ; then
  118. set default="${next_entry}"
  119. set next_entry=
  120. save_env next_entry
  121. set boot_once=true
  122. else
  123. set default="0"
  124. fi
  125. if [ x"${feature_menuentry_id}" = xy ]; then
  126. menuentry_id_option="--id"
  127. else
  128. menuentry_id_option=""
  129. fi
  130. export menuentry_id_option
  131. if [ "${prev_saved_entry}" ]; then
  132. set saved_entry="${prev_saved_entry}"
  133. save_env saved_entry
  134. set prev_saved_entry=
  135. save_env prev_saved_entry
  136. set boot_once=true
  137. fi
  138. function savedefault {
  139. if [ -z "${boot_once}" ]; then
  140. saved_entry="${chosen}"
  141. save_env saved_entry
  142. fi
  143. }
  144. function recordfail {
  145. set recordfail=1
  146. if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
  147. }
  148. function load_video {
  149. if [ x$feature_all_video_module = xy ]; then
  150. insmod all_video
  151. else
  152. insmod efi_gop
  153. insmod efi_uga
  154. insmod ieee1275_fb
  155. insmod vbe
  156. insmod vga
  157. insmod video_bochs
  158. insmod video_cirrus
  159. fi
  160. }
  161. if [ x$feature_default_font_path = xy ] ; then
  162. font=unicode
  163. else
  164. insmod part_msdos
  165. insmod ext2
  166. set root='hd0,msdos1'
  167. if [ x$feature_platform_search_hint = xy ]; then
  168. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 d43f719d-b04e-4da9-9c39-91af6eb3da5c
  169. else
  170. search --no-floppy --fs-uuid --set=root d43f719d-b04e-4da9-9c39-91af6eb3da5c
  171. fi
  172. font="/usr/share/grub/unicode.pf2"
  173. fi
  174. if loadfont $font ; then
  175. set gfxmode=auto
  176. load_video
  177. insmod gfxterm
  178. set locale_dir=$prefix/locale
  179. set lang=fr_FR
  180. insmod gettext
  181. fi
  182. terminal_output gfxterm
  183. if [ "${recordfail}" = 1 ] ; then
  184. set timeout=10
  185. else
  186. if [ x$feature_timeout_style = xy ] ; then
  187. set timeout_style=menu
  188. set timeout=10
  189. # Fallback normal timeout code in case the timeout_style feature is
  190. # unavailable.
  191. else
  192. set timeout=10
  193. fi
  194. fi
  195. ### END /etc/grub.d/00_header ###
  196. ### BEGIN /etc/grub.d/05_debian_theme ###
  197. set menu_color_normal=white/black
  198. set menu_color_highlight=black/light-gray
  199. if background_color 44,0,30,0; then
  200. clear
  201. fi
  202. ### END /etc/grub.d/05_debian_theme ###
  203. ### BEGIN /etc/grub.d/10_linux ###
  204. function gfxmode {
  205. set gfxpayload="${1}"
  206. if [ "${1}" = "keep" ]; then
  207. set vt_handoff=vt.handoff=7
  208. else
  209. set vt_handoff=
  210. fi
  211. }
  212. if [ "${recordfail}" != 1 ]; then
  213. if [ -e ${prefix}/gfxblacklist.txt ]; then
  214. if hwmatch ${prefix}/gfxblacklist.txt 3; then
  215. if [ ${match} = 0 ]; then
  216. set linux_gfx_mode=keep
  217. else
  218. set linux_gfx_mode=text
  219. fi
  220. else
  221. set linux_gfx_mode=text
  222. fi
  223. else
  224. set linux_gfx_mode=keep
  225. fi
  226. else
  227. set linux_gfx_mode=text
  228. fi
  229. export linux_gfx_mode
  230. menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-d43f719d-b04e-4da9-9c39-91af6eb3da5c' {
  231. recordfail
  232. load_video
  233. gfxmode $linux_gfx_mode
  234. insmod gzio
  235. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  236. insmod part_msdos
  237. insmod ext2
  238. set root='hd0,msdos1'
  239. if [ x$feature_platform_search_hint = xy ]; then
  240. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 d43f719d-b04e-4da9-9c39-91af6eb3da5c
  241. else
  242. search --no-floppy --fs-uuid --set=root d43f719d-b04e-4da9-9c39-91af6eb3da5c
  243. fi
  244. linux /boot/vmlinuz-4.8.0-36-generic root=UUID=d43f719d-b04e-4da9-9c39-91af6eb3da5c ro quiet splash $vt_handoff
  245. initrd /boot/initrd.img-4.8.0-36-generic
  246. }
  247. submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-d43f719d-b04e-4da9-9c39-91af6eb3da5c' {
  248. menuentry 'Ubuntu, with Linux 4.8.0-36-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.8.0-36-generic-advanced-d43f719d-b04e-4da9-9c39-91af6eb3da5c' {
  249. recordfail
  250. load_video
  251. gfxmode $linux_gfx_mode
  252. insmod gzio
  253. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  254. insmod part_msdos
  255. insmod ext2
  256. set root='hd0,msdos1'
  257. if [ x$feature_platform_search_hint = xy ]; then
  258. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 d43f719d-b04e-4da9-9c39-91af6eb3da5c
  259. else
  260. search --no-floppy --fs-uuid --set=root d43f719d-b04e-4da9-9c39-91af6eb3da5c
  261. fi
  262. echo 'Loading Linux 4.8.0-36-generic ...'
  263. linux /boot/vmlinuz-4.8.0-36-generic root=UUID=d43f719d-b04e-4da9-9c39-91af6eb3da5c ro quiet splash $vt_handoff
  264. echo 'Loading initial ramdisk ...'
  265. initrd /boot/initrd.img-4.8.0-36-generic
  266. }
  267. menuentry 'Ubuntu, with Linux 4.8.0-36-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.8.0-36-generic-init-upstart-d43f719d-b04e-4da9-9c39-91af6eb3da5c' {
  268. recordfail
  269. load_video
  270. gfxmode $linux_gfx_mode
  271. insmod gzio
  272. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  273. insmod part_msdos
  274. insmod ext2
  275. set root='hd0,msdos1'
  276. if [ x$feature_platform_search_hint = xy ]; then
  277. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 d43f719d-b04e-4da9-9c39-91af6eb3da5c
  278. else
  279. search --no-floppy --fs-uuid --set=root d43f719d-b04e-4da9-9c39-91af6eb3da5c
  280. fi
  281. echo 'Loading Linux 4.8.0-36-generic ...'
  282. linux /boot/vmlinuz-4.8.0-36-generic root=UUID=d43f719d-b04e-4da9-9c39-91af6eb3da5c ro quiet splash $vt_handoff init=/sbin/upstart
  283. echo 'Loading initial ramdisk ...'
  284. initrd /boot/initrd.img-4.8.0-36-generic
  285. }
  286. menuentry 'Ubuntu, with Linux 4.8.0-36-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.8.0-36-generic-recovery-d43f719d-b04e-4da9-9c39-91af6eb3da5c' {
  287. recordfail
  288. load_video
  289. insmod gzio
  290. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  291. insmod part_msdos
  292. insmod ext2
  293. set root='hd0,msdos1'
  294. if [ x$feature_platform_search_hint = xy ]; then
  295. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 d43f719d-b04e-4da9-9c39-91af6eb3da5c
  296. else
  297. search --no-floppy --fs-uuid --set=root d43f719d-b04e-4da9-9c39-91af6eb3da5c
  298. fi
  299. echo 'Loading Linux 4.8.0-36-generic ...'
  300. linux /boot/vmlinuz-4.8.0-36-generic root=UUID=d43f719d-b04e-4da9-9c39-91af6eb3da5c ro recovery nomodeset
  301. echo 'Loading initial ramdisk ...'
  302. initrd /boot/initrd.img-4.8.0-36-generic
  303. }
  304. menuentry 'Ubuntu, with Linux 4.4.0-72-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-72-generic-advanced-d43f719d-b04e-4da9-9c39-91af6eb3da5c' {
  305. recordfail
  306. load_video
  307. gfxmode $linux_gfx_mode
  308. insmod gzio
  309. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  310. insmod part_msdos
  311. insmod ext2
  312. set root='hd0,msdos1'
  313. if [ x$feature_platform_search_hint = xy ]; then
  314. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 d43f719d-b04e-4da9-9c39-91af6eb3da5c
  315. else
  316. search --no-floppy --fs-uuid --set=root d43f719d-b04e-4da9-9c39-91af6eb3da5c
  317. fi
  318. echo 'Loading Linux 4.4.0-72-generic ...'
  319. linux /boot/vmlinuz-4.4.0-72-generic root=UUID=d43f719d-b04e-4da9-9c39-91af6eb3da5c ro quiet splash $vt_handoff
  320. echo 'Loading initial ramdisk ...'
  321. initrd /boot/initrd.img-4.4.0-72-generic
  322. }
  323. menuentry 'Ubuntu, with Linux 4.4.0-72-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-72-generic-init-upstart-d43f719d-b04e-4da9-9c39-91af6eb3da5c' {
  324. recordfail
  325. load_video
  326. gfxmode $linux_gfx_mode
  327. insmod gzio
  328. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  329. insmod part_msdos
  330. insmod ext2
  331. set root='hd0,msdos1'
  332. if [ x$feature_platform_search_hint = xy ]; then
  333. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 d43f719d-b04e-4da9-9c39-91af6eb3da5c
  334. else
  335. search --no-floppy --fs-uuid --set=root d43f719d-b04e-4da9-9c39-91af6eb3da5c
  336. fi
  337. echo 'Loading Linux 4.4.0-72-generic ...'
  338. linux /boot/vmlinuz-4.4.0-72-generic root=UUID=d43f719d-b04e-4da9-9c39-91af6eb3da5c ro quiet splash $vt_handoff init=/sbin/upstart
  339. echo 'Loading initial ramdisk ...'
  340. initrd /boot/initrd.img-4.4.0-72-generic
  341. }
  342. menuentry 'Ubuntu, with Linux 4.4.0-72-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-72-generic-recovery-d43f719d-b04e-4da9-9c39-91af6eb3da5c' {
  343. recordfail
  344. load_video
  345. insmod gzio
  346. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  347. insmod part_msdos
  348. insmod ext2
  349. set root='hd0,msdos1'
  350. if [ x$feature_platform_search_hint = xy ]; then
  351. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 d43f719d-b04e-4da9-9c39-91af6eb3da5c
  352. else
  353. search --no-floppy --fs-uuid --set=root d43f719d-b04e-4da9-9c39-91af6eb3da5c
  354. fi
  355. echo 'Loading Linux 4.4.0-72-generic ...'
  356. linux /boot/vmlinuz-4.4.0-72-generic root=UUID=d43f719d-b04e-4da9-9c39-91af6eb3da5c ro recovery nomodeset
  357. echo 'Loading initial ramdisk ...'
  358. initrd /boot/initrd.img-4.4.0-72-generic
  359. }
  360. menuentry 'Ubuntu, with Linux 4.4.0-64-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-64-generic-advanced-d43f719d-b04e-4da9-9c39-91af6eb3da5c' {
  361. recordfail
  362. load_video
  363. gfxmode $linux_gfx_mode
  364. insmod gzio
  365. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  366. insmod part_msdos
  367. insmod ext2
  368. set root='hd0,msdos1'
  369. if [ x$feature_platform_search_hint = xy ]; then
  370. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 d43f719d-b04e-4da9-9c39-91af6eb3da5c
  371. else
  372. search --no-floppy --fs-uuid --set=root d43f719d-b04e-4da9-9c39-91af6eb3da5c
  373. fi
  374. echo 'Loading Linux 4.4.0-64-generic ...'
  375. linux /boot/vmlinuz-4.4.0-64-generic root=UUID=d43f719d-b04e-4da9-9c39-91af6eb3da5c ro quiet splash $vt_handoff
  376. echo 'Loading initial ramdisk ...'
  377. initrd /boot/initrd.img-4.4.0-64-generic
  378. }
  379. menuentry 'Ubuntu, with Linux 4.4.0-64-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-64-generic-init-upstart-d43f719d-b04e-4da9-9c39-91af6eb3da5c' {
  380. recordfail
  381. load_video
  382. gfxmode $linux_gfx_mode
  383. insmod gzio
  384. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  385. insmod part_msdos
  386. insmod ext2
  387. set root='hd0,msdos1'
  388. if [ x$feature_platform_search_hint = xy ]; then
  389. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 d43f719d-b04e-4da9-9c39-91af6eb3da5c
  390. else
  391. search --no-floppy --fs-uuid --set=root d43f719d-b04e-4da9-9c39-91af6eb3da5c
  392. fi
  393. echo 'Loading Linux 4.4.0-64-generic ...'
  394. linux /boot/vmlinuz-4.4.0-64-generic root=UUID=d43f719d-b04e-4da9-9c39-91af6eb3da5c ro quiet splash $vt_handoff init=/sbin/upstart
  395. echo 'Loading initial ramdisk ...'
  396. initrd /boot/initrd.img-4.4.0-64-generic
  397. }
  398. menuentry 'Ubuntu, with Linux 4.4.0-64-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-64-generic-recovery-d43f719d-b04e-4da9-9c39-91af6eb3da5c' {
  399. recordfail
  400. load_video
  401. insmod gzio
  402. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  403. insmod part_msdos
  404. insmod ext2
  405. set root='hd0,msdos1'
  406. if [ x$feature_platform_search_hint = xy ]; then
  407. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 d43f719d-b04e-4da9-9c39-91af6eb3da5c
  408. else
  409. search --no-floppy --fs-uuid --set=root d43f719d-b04e-4da9-9c39-91af6eb3da5c
  410. fi
  411. echo 'Loading Linux 4.4.0-64-generic ...'
  412. linux /boot/vmlinuz-4.4.0-64-generic root=UUID=d43f719d-b04e-4da9-9c39-91af6eb3da5c ro recovery nomodeset
  413. echo 'Loading initial ramdisk ...'
  414. initrd /boot/initrd.img-4.4.0-64-generic
  415. }
  416. menuentry 'Ubuntu, with Linux 4.4.0-43-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-43-generic-advanced-d43f719d-b04e-4da9-9c39-91af6eb3da5c' {
  417. recordfail
  418. load_video
  419. gfxmode $linux_gfx_mode
  420. insmod gzio
  421. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  422. insmod part_msdos
  423. insmod ext2
  424. set root='hd0,msdos1'
  425. if [ x$feature_platform_search_hint = xy ]; then
  426. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 d43f719d-b04e-4da9-9c39-91af6eb3da5c
  427. else
  428. search --no-floppy --fs-uuid --set=root d43f719d-b04e-4da9-9c39-91af6eb3da5c
  429. fi
  430. echo 'Loading Linux 4.4.0-43-generic ...'
  431. linux /boot/vmlinuz-4.4.0-43-generic root=UUID=d43f719d-b04e-4da9-9c39-91af6eb3da5c ro quiet splash $vt_handoff
  432. echo 'Loading initial ramdisk ...'
  433. initrd /boot/initrd.img-4.4.0-43-generic
  434. }
  435. menuentry 'Ubuntu, with Linux 4.4.0-43-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-43-generic-init-upstart-d43f719d-b04e-4da9-9c39-91af6eb3da5c' {
  436. recordfail
  437. load_video
  438. gfxmode $linux_gfx_mode
  439. insmod gzio
  440. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  441. insmod part_msdos
  442. insmod ext2
  443. set root='hd0,msdos1'
  444. if [ x$feature_platform_search_hint = xy ]; then
  445. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 d43f719d-b04e-4da9-9c39-91af6eb3da5c
  446. else
  447. search --no-floppy --fs-uuid --set=root d43f719d-b04e-4da9-9c39-91af6eb3da5c
  448. fi
  449. echo 'Loading Linux 4.4.0-43-generic ...'
  450. linux /boot/vmlinuz-4.4.0-43-generic root=UUID=d43f719d-b04e-4da9-9c39-91af6eb3da5c ro quiet splash $vt_handoff init=/sbin/upstart
  451. echo 'Loading initial ramdisk ...'
  452. initrd /boot/initrd.img-4.4.0-43-generic
  453. }
  454. menuentry 'Ubuntu, with Linux 4.4.0-43-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-43-generic-recovery-d43f719d-b04e-4da9-9c39-91af6eb3da5c' {
  455. recordfail
  456. load_video
  457. insmod gzio
  458. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  459. insmod part_msdos
  460. insmod ext2
  461. set root='hd0,msdos1'
  462. if [ x$feature_platform_search_hint = xy ]; then
  463. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 d43f719d-b04e-4da9-9c39-91af6eb3da5c
  464. else
  465. search --no-floppy --fs-uuid --set=root d43f719d-b04e-4da9-9c39-91af6eb3da5c
  466. fi
  467. echo 'Loading Linux 4.4.0-43-generic ...'
  468. linux /boot/vmlinuz-4.4.0-43-generic root=UUID=d43f719d-b04e-4da9-9c39-91af6eb3da5c ro recovery nomodeset
  469. echo 'Loading initial ramdisk ...'
  470. initrd /boot/initrd.img-4.4.0-43-generic
  471. }
  472. }
  473. ### END /etc/grub.d/10_linux ###
  474. ### BEGIN /etc/grub.d/20_linux_xen ###
  475. ### END /etc/grub.d/20_linux_xen ###
  476. ### BEGIN /etc/grub.d/30_os-prober ###
  477. ### END /etc/grub.d/30_os-prober ###
  478. ### BEGIN /etc/grub.d/30_uefi-firmware ###
  479. ### END /etc/grub.d/30_uefi-firmware ###
  480. ### BEGIN /etc/grub.d/40_custom ###
  481. # This file provides an easy way to add custom menu entries. Simply type the
  482. # menu entries you want to add after this comment. Be careful not to change
  483. # the 'exec tail' line above.
  484. ### END /etc/grub.d/40_custom ###
  485. ### BEGIN /etc/grub.d/41_custom ###
  486. if [ -f ${config_directory}/custom.cfg ]; then
  487. source ${config_directory}/custom.cfg
  488. elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
  489. source $prefix/custom.cfg;
  490. fi
  491. ### END /etc/grub.d/41_custom ###
  492. --------------------------------------------------------------------------------
  493. =============================== sda1/etc/fstab: ================================
  494. --------------------------------------------------------------------------------
  495. # /etc/fstab: static file system information.
  496. #
  497. # Use 'blkid' to print the universally unique identifier for a
  498. # device; this may be used with UUID= as a more robust way to name devices
  499. # that works even if disks are added and removed. See fstab(5).
  500. #
  501. # <file system> <mount point> <type> <options> <dump> <pass>
  502. # / was on /dev/sda1 during installation
  503. UUID=d43f719d-b04e-4da9-9c39-91af6eb3da5c / ext4 errors=remount-ro 0 1
  504. # swap was on /dev/sda5 during installation
  505. UUID=818c8e6c-a0ac-45bd-b021-2f2f724b9aef none swap sw 0 0
  506. --------------------------------------------------------------------------------
  507. =================== sda1: Location of files loaded by Grub: ====================
  508. GiB - GB File Fragment(s)
  509. 310.188198090 = 333.062041600 boot/grub/grub.cfg 1
  510. 310.334823608 = 333.219479552 boot/grub/i386-pc/core.img 1
  511. 276.025123596 = 296.379719680 boot/vmlinuz-4.4.0-43-generic 1
  512. 17.556404114 = 18.851045376 boot/vmlinuz-4.4.0-64-generic 1
  513. 275.743900299 = 296.077758464 boot/vmlinuz-4.4.0-72-generic 1
  514. 1.943317413 = 2.086621184 boot/vmlinuz-4.8.0-36-generic 2
  515. 275.743900299 = 296.077758464 vmlinuz 1
  516. 1.943317413 = 2.086621184 vmlinuz.old 2
  517. 297.578384399 = 319.522357248 boot/initrd.img-4.4.0-43-generic 2
  518. 298.334987640 = 320.334753792 boot/initrd.img-4.4.0-64-generic 4
  519. 275.557533264 = 295.877648384 boot/initrd.img-4.4.0-72-generic 5
  520. 274.855674744 = 295.124033536 boot/initrd.img-4.8.0-36-generic 3
  521. 275.557533264 = 295.877648384 initrd.img 5
  522. 274.855674744 = 295.124033536 initrd.img.old 3
  523. =========================== sdb1/boot/grub/grub.cfg: ===========================
  524. --------------------------------------------------------------------------------
  525. if loadfont /boot/grub/font.pf2 ; then
  526. set gfxmode=auto
  527. insmod efi_gop
  528. insmod efi_uga
  529. insmod gfxterm
  530. terminal_output gfxterm
  531. fi
  532. set menu_color_normal=white/black
  533. set menu_color_highlight=black/light-gray
  534. menuentry "Try Ubuntu without installing" {
  535. set gfxpayload=keep
  536. linux /casper/vmlinuz.efi file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash ---
  537. initrd /casper/initrd.lz
  538. }
  539. menuentry "Install Ubuntu" {
  540. set gfxpayload=keep
  541. linux /casper/vmlinuz.efi file=/cdrom/preseed/ubuntu.seed boot=casper only-ubiquity quiet splash ---
  542. initrd /casper/initrd.lz
  543. }
  544. menuentry "OEM install (for manufacturers)" {
  545. set gfxpayload=keep
  546. linux /casper/vmlinuz.efi file=/cdrom/preseed/ubuntu.seed boot=casper only-ubiquity quiet splash oem-config/enable=true ---
  547. initrd /casper/initrd.lz
  548. }
  549. menuentry "Check disc for defects" {
  550. set gfxpayload=keep
  551. linux /casper/vmlinuz.efi boot=casper integrity-check quiet splash ---
  552. initrd /casper/initrd.lz
  553. }
  554. --------------------------------------------------------------------------------
  555. ============================== sdb1/syslinux.cfg: ==============================
  556. --------------------------------------------------------------------------------
  557. DEFAULT loadconfig
  558. LABEL loadconfig
  559. CONFIG /isolinux/isolinux.cfg
  560. APPEND /isolinux/
  561. --------------------------------------------------------------------------------
  562. =================== sdb1: Location of files loaded by Grub: ====================
  563. GiB - GB File Fragment(s)
  564. ?? = ?? boot/grub/grub.cfg 1
  565. ================= sdb1: Location of files loaded by Syslinux: ==================
  566. GiB - GB File Fragment(s)
  567. ?? = ?? syslinux.cfg 1
  568. ?? = ?? ldlinux.sys 1
  569. =============================== StdErr Messages: ===============================
  570. File descriptor 9 (/proc/7671/mounts) leaked on lvs invocation. Parent PID 2553: bash
  571. File descriptor 63 (pipe:[40720]) leaked on lvs invocation. Parent PID 2553: bash
  572. ADDITIONAL INFORMATION :
  573. =================== log of boot-repair 2017-04-13__17h28 ===================
  574. boot-repair version : 4ppa40
  575. boot-sav version : 4ppa40
  576. glade2script version : 3.2.3~ppa1
  577. boot-sav-extra version : 4ppa40
  578. boot-repair is executed in live-session (Ubuntu 16.04.2 LTS, xenial, Ubuntu, x86_64)
  579. CPU op-mode(s): 32-bit, 64-bit
  580. file=/cdrom/preseed/ubuntu.seed boot=casper initrd=/casper/initrd.lz quiet splash --- maybe-ubiquity
  581. ls: impossible d'accéder à '/home/usr/.config': Aucun fichier ou dossier de ce type
  582. Partition 2 does not start on physical sector boundary.
  583. =================== os-prober:
  584. /dev/sda1:Ubuntu 16.04.2 LTS (16.04):Ubuntu:linux
  585. =================== blkid:
  586. /dev/sda1: UUID="d43f719d-b04e-4da9-9c39-91af6eb3da5c" TYPE="ext4" PTTYPE="dos" PARTUUID="58ee9296-01"
  587. /dev/sda3: LABEL="POP2-Sauvegarde" UUID="cc027c97-a986-4e12-85d1-b1df811ff0aa" TYPE="ext4" PARTUUID="58ee9296-03"
  588. /dev/sda4: SEC_TYPE="msdos" UUID="FDB6-AB73" TYPE="vfat" PARTUUID="58ee9296-04"
  589. /dev/sdb1: LABEL="UBUNTU 16_0" UUID="A0CE-4C14" TYPE="vfat" PARTUUID="32332ba8-01"
  590. /dev/loop0: TYPE="squashfs"
  591. /dev/sda5: UUID="818c8e6c-a0ac-45bd-b021-2f2f724b9aef" TYPE="swap" PARTUUID="58ee9296-05"
  592. 1 disks with OS, 1 OS : 1 Linux, 0 MacOS, 0 Windows, 0 unknown type OS.
  593. Partition 2 does not start on physical sector boundary.
  594. Partition 2 does not start on physical sector boundary.
  595. =================== sda1/etc/grub.d/ :
  596. drwxr-xr-x 2 root root 4096 févr. 15 20:36 grub.d
  597. total 76
  598. -rwxr-xr-x 1 root root 9791 janv. 13 16:26 00_header
  599. -rwxr-xr-x 1 root root 6258 mars 15 2016 05_debian_theme
  600. -rwxr-xr-x 1 root root 12261 janv. 13 16:26 10_linux
  601. -rwxr-xr-x 1 root root 11082 janv. 13 16:26 20_linux_xen
  602. -rwxr-xr-x 1 root root 1992 janv. 28 2016 20_memtest86+
  603. -rwxr-xr-x 1 root root 11692 janv. 13 16:26 30_os-prober
  604. -rwxr-xr-x 1 root root 1418 janv. 13 16:26 30_uefi-firmware
  605. -rwxr-xr-x 1 root root 214 janv. 13 16:26 40_custom
  606. -rwxr-xr-x 1 root root 216 janv. 13 16:26 41_custom
  607. -rw-r--r-- 1 root root 483 janv. 13 16:26 README
  608. =================== sda1/etc/default/grub :
  609. # If you change this file, run 'update-grub' afterwards to update
  610. # /boot/grub/grub.cfg.
  611. # For full documentation of the options in this file, see:
  612. # info -f grub -n 'Simple configuration'
  613. GRUB_DEFAULT=0
  614. GRUB_HIDDEN_TIMEOUT=0
  615. GRUB_HIDDEN_TIMEOUT_QUIET=true
  616. GRUB_TIMEOUT=10
  617. GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
  618. GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
  619. GRUB_CMDLINE_LINUX=""
  620. # Uncomment to enable BadRAM filtering, modify to suit your needs
  621. # This works with Linux (no patch required) and with any kernel that obtains
  622. # the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
  623. #GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
  624. # Uncomment to disable graphical terminal (grub-pc only)
  625. #GRUB_TERMINAL=console
  626. # The resolution used on graphical terminal
  627. # note that you can use only modes which your graphic card supports via VBE
  628. # you can see them in real GRUB with the command `vbeinfo'
  629. #GRUB_GFXMODE=640x480
  630. # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
  631. #GRUB_DISABLE_LINUX_UUID=true
  632. # Uncomment to disable generation of recovery mode menu entries
  633. #GRUB_DISABLE_RECOVERY="true"
  634. # Uncomment to get a beep at grub start
  635. #GRUB_INIT_TUNE="480 440 1"
  636. =================== sda1recordfail=1/grub/grubenv :
  637. recordfail=1
  638. =================== UEFI/Legacy mode:
  639. This live-session is not in EFI-mode.
  640. EFI in dmesg.
  641. [ 0.000000] ACPI: UEFI 0x00000000933EA458 000042 (v01 00000000 00000000)
  642. SecureBoot maybe enabled.
  643. =================== PARTITIONS & DISKS:
  644. sda1 : sda, not-sepboot, grubenv-ng 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, /mnt/boot-sav/sda1.
  645. sda3 : sda, maybesepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-boot, no-os, not--efi--part, part-has-no-fstab, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, farbios, /mnt/boot-sav/sda3.
  646. sda4 : sda, not-sepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-boot, no-os, not--efi--part, part-has-no-fstab, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, not-far, /mnt/boot-sav/sda4.
  647. sda : not-GPT, BIOSboot-not-needed, has-no-EFIpart, not-usb, has-os, 2048 sectors * 512 bytes
  648. =================== parted -l:
  649. Model: ATA TOSHIBA MQ01ABD1 (scsi)
  650. Disk /dev/sda: 1000GB
  651. Sector size (logical/physical): 512B/4096B
  652. Partition Table: msdos
  653. Disk Flags:
  654. Number Start End Size Type File system Flags
  655. 4 1049kB 53.5MB 52.4MB primary fat16
  656. 1 53.5MB 677GB 677GB primary ext4 boot
  657. 3 677GB 992GB 315GB primary ext4
  658. 2 992GB 1000GB 8456MB extended
  659. 5 992GB 1000GB 8456MB logical linux-swap(v1)
  660. Model: JetFlash Transcend 8GB (scsi)
  661. Disk /dev/sdb: 8036MB
  662. Sector size (logical/physical): 512B/512B
  663. Partition Table: msdos
  664. Disk Flags:
  665. Number Start End Size Type File system Flags
  666. 1 1049kB 8036MB 8035MB primary fat32 boot, lba
  667. =================== parted -lm:
  668. BYT;
  669. /dev/sda:1000GB:scsi:512:4096:msdos:ATA TOSHIBA MQ01ABD1:;
  670. 4:1049kB:53.5MB:52.4MB:fat16::;
  671. 1:53.5MB:677GB:677GB:ext4::boot;
  672. 3:677GB:992GB:315GB:ext4::;
  673. 2:992GB:1000GB:8456MB:::;
  674. 5:992GB:1000GB:8456MB:linux-swap(v1)::;
  675. BYT;
  676. /dev/sdb:8036MB:scsi:512:512:msdos:JetFlash Transcend 8GB:;
  677. 1:1049kB:8036MB:8035MB:fat32::boot, lba;
  678. =================== lsblk:
  679. KNAME TYPE FSTYPE SIZE LABEL
  680. sdb disk 7,5G
  681. sdb1 part vfat 7,5G UBUNTU 16_0
  682. loop0 loop squashfs 1,4G
  683. sda disk 931,5G
  684. sda4 part vfat 50M
  685. sda2 part 1K
  686. sda5 part swap 7,9G
  687. sda3 part ext4 293G POP2-Sauvegarde
  688. sda1 part ext4 630,6G
  689. KNAME ROTA RO RM STATE MOUNTPOINT
  690. sdb 1 0 1 running
  691. sdb1 1 0 1 /cdrom
  692. loop0 1 1 0 /rofs
  693. sda 1 0 0 running
  694. sda4 1 0 0 /mnt/boot-sav/sda4
  695. sda2 1 0 0
  696. sda5 1 0 0 [SWAP]
  697. sda3 1 0 0 /mnt/boot-sav/sda3
  698. sda1 1 0 0 /mnt/boot-sav/sda1
  699. =================== mount:
  700. sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
  701. proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
  702. udev on /dev type devtmpfs (rw,nosuid,relatime,size=4019816k,nr_inodes=1004954,mode=755)
  703. devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
  704. tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=807080k,mode=755)
  705. /dev/sdb1 on /cdrom type vfat (ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
  706. /dev/loop0 on /rofs type squashfs (ro,noatime)
  707. aufs on / type aufs (rw,noatime,si=e0ebff77be13a40f)
  708. securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
  709. tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
  710. tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
  711. tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
  712. cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd)
  713. pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
  714. cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
  715. cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
  716. cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
  717. cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb)
  718. cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
  719. cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
  720. cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
  721. cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
  722. cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
  723. cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
  724. systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=27,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=9184)
  725. mqueue on /dev/mqueue type mqueue (rw,relatime)
  726. hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
  727. debugfs on /sys/kernel/debug type debugfs (rw,relatime)
  728. tracefs on /sys/kernel/debug/tracing type tracefs (rw,relatime)
  729. fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
  730. tmpfs on /tmp type tmpfs (rw,nosuid,nodev,relatime)
  731. tmpfs on /run/user/999 type tmpfs (rw,nosuid,nodev,relatime,size=807080k,mode=700,uid=999,gid=999)
  732. gvfsd-fuse on /run/user/999/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=999,group_id=999)
  733. /dev/sda1 on /mnt/boot-sav/sda1 type ext4 (rw,relatime,data=ordered)
  734. /dev/sda3 on /mnt/boot-sav/sda3 type ext4 (rw,relatime,data=ordered)
  735. /dev/sda4 on /mnt/boot-sav/sda4 type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
  736. =================== ls:
  737. /sys/block/sda (filtered): alignment_offset badblocks bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight integrity power queue range removable ro sda1 sda2 sda3 sda4 sda5 size slaves stat subsystem trace uevent
  738. /sys/block/sdb (filtered): alignment_offset badblocks bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight integrity power queue range removable ro sdb1 size slaves stat subsystem trace uevent
  739. /dev (filtered): acpi_thermal_rel autofs block bsg btrfs-control bus char console core cpu cpu_dma_latency cuse disk dri drm_dp_aux0 drm_dp_aux1 ecryptfs fb0 fd full fuse gpiochip0 hpet hugepages hwrng i2c-0 i2c-1 i2c-10 i2c-11 i2c-12 i2c-13 i2c-14 i2c-15 i2c-16 i2c-17 i2c-18 i2c-19 i2c-2 i2c-3 i2c-4 i2c-5 i2c-6 i2c-7 i2c-8 i2c-9 initctl input kmsg kvm lightnvm log mapper mcelog media0 mei0 mem memory_bandwidth mqueue net network_latency network_throughput null port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sda2 sda3 sda4 sda5 sdb sdb1 sg0 sg1 shm snapshot snd stderr stdin stdout uhid uinput urandom userio v4l vfio vga_arbiter vhci vhost-net video0 zero
  740. ls /dev/mapper: control
  741. =================== hexdump -n512 -C /dev/sda4
  742. 00000000 eb 3c 90 6d 6b 66 73 2e 66 61 74 00 02 04 01 00 |.<.mkfs.fat.....|
  743. 00000010 02 00 02 00 00 f8 64 00 3f 00 ff 00 00 08 00 00 |......d.?.......|
  744. 00000020 00 90 01 00 80 01 29 73 ab b6 fd 20 20 20 20 20 |......)s... |
  745. 00000030 20 20 20 20 20 20 46 41 54 31 36 20 20 20 0e 1f | FAT16 ..|
  746. 00000040 be 5b 7c ac 22 c0 74 0b 56 b4 0e bb 07 00 cd 10 |.[|.".t.V.......|
  747. 00000050 5e eb f0 32 e4 cd 16 cd 19 eb fe 54 68 69 73 20 |^..2.......This |
  748. 00000060 69 73 20 6e 6f 74 20 61 20 62 6f 6f 74 61 62 6c |is not a bootabl|
  749. 00000070 65 20 64 69 73 6b 2e 20 20 50 6c 65 61 73 65 20 |e disk. Please |
  750. 00000080 69 6e 73 65 72 74 20 61 20 62 6f 6f 74 61 62 6c |insert a bootabl|
  751. 00000090 65 20 66 6c 6f 70 70 79 20 61 6e 64 0d 0a 70 72 |e floppy and..pr|
  752. 000000a0 65 73 73 20 61 6e 79 20 6b 65 79 20 74 6f 20 74 |ess any key to t|
  753. 000000b0 72 79 20 61 67 61 69 6e 20 2e 2e 2e 20 0d 0a 00 |ry again ... ...|
  754. 000000c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  755. *
  756. 000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.|
  757. 00000200
  758. Partition 2 does not start on physical sector boundary.
  759. =================== df -Th:
  760. Filesystem Type Size Used Avail Use% Mounted on
  761. udev devtmpfs 3.9G 0 3.9G 0% /dev
  762. tmpfs tmpfs 789M 9.6M 779M 2% /run
  763. /dev/sdb1 vfat 7.5G 1.5G 6.1G 20% /cdrom
  764. /dev/loop0 squashfs 1.4G 1.4G 0 100% /rofs
  765. aufs aufs 3.9G 111M 3.8G 3% /
  766. tmpfs tmpfs 3.9G 25M 3.9G 1% /dev/shm
  767. tmpfs tmpfs 5.0M 8.0K 5.0M 1% /run/lock
  768. tmpfs tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup
  769. tmpfs tmpfs 3.9G 288K 3.9G 1% /tmp
  770. tmpfs tmpfs 789M 88K 789M 1% /run/user/999
  771. /dev/sda1 ext4 621G 186G 404G 32% /mnt/boot-sav/sda1
  772. /dev/sda3 ext4 289G 135M 274G 1% /mnt/boot-sav/sda3
  773. /dev/sda4 vfat 50M 10K 50M 1% /mnt/boot-sav/sda4
  774. =================== fdisk -l:
  775. Disk /dev/ram0: 64 MiB, 67108864 bytes, 131072 sectors
  776. Units: sectors of 1 * 512 = 512 bytes
  777. Sector size (logical/physical): 512 bytes / 4096 bytes
  778. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  779. Disk /dev/ram1: 64 MiB, 67108864 bytes, 131072 sectors
  780. Units: sectors of 1 * 512 = 512 bytes
  781. Sector size (logical/physical): 512 bytes / 4096 bytes
  782. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  783. Disk /dev/ram2: 64 MiB, 67108864 bytes, 131072 sectors
  784. Units: sectors of 1 * 512 = 512 bytes
  785. Sector size (logical/physical): 512 bytes / 4096 bytes
  786. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  787. Disk /dev/ram3: 64 MiB, 67108864 bytes, 131072 sectors
  788. Units: sectors of 1 * 512 = 512 bytes
  789. Sector size (logical/physical): 512 bytes / 4096 bytes
  790. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  791. Disk /dev/ram4: 64 MiB, 67108864 bytes, 131072 sectors
  792. Units: sectors of 1 * 512 = 512 bytes
  793. Sector size (logical/physical): 512 bytes / 4096 bytes
  794. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  795. Disk /dev/ram5: 64 MiB, 67108864 bytes, 131072 sectors
  796. Units: sectors of 1 * 512 = 512 bytes
  797. Sector size (logical/physical): 512 bytes / 4096 bytes
  798. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  799. Disk /dev/ram6: 64 MiB, 67108864 bytes, 131072 sectors
  800. Units: sectors of 1 * 512 = 512 bytes
  801. Sector size (logical/physical): 512 bytes / 4096 bytes
  802. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  803. Disk /dev/ram7: 64 MiB, 67108864 bytes, 131072 sectors
  804. Units: sectors of 1 * 512 = 512 bytes
  805. Sector size (logical/physical): 512 bytes / 4096 bytes
  806. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  807. Disk /dev/ram8: 64 MiB, 67108864 bytes, 131072 sectors
  808. Units: sectors of 1 * 512 = 512 bytes
  809. Sector size (logical/physical): 512 bytes / 4096 bytes
  810. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  811. Disk /dev/ram9: 64 MiB, 67108864 bytes, 131072 sectors
  812. Units: sectors of 1 * 512 = 512 bytes
  813. Sector size (logical/physical): 512 bytes / 4096 bytes
  814. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  815. Disk /dev/ram10: 64 MiB, 67108864 bytes, 131072 sectors
  816. Units: sectors of 1 * 512 = 512 bytes
  817. Sector size (logical/physical): 512 bytes / 4096 bytes
  818. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  819. Disk /dev/ram11: 64 MiB, 67108864 bytes, 131072 sectors
  820. Units: sectors of 1 * 512 = 512 bytes
  821. Sector size (logical/physical): 512 bytes / 4096 bytes
  822. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  823. Disk /dev/ram12: 64 MiB, 67108864 bytes, 131072 sectors
  824. Units: sectors of 1 * 512 = 512 bytes
  825. Sector size (logical/physical): 512 bytes / 4096 bytes
  826. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  827. Disk /dev/ram13: 64 MiB, 67108864 bytes, 131072 sectors
  828. Units: sectors of 1 * 512 = 512 bytes
  829. Sector size (logical/physical): 512 bytes / 4096 bytes
  830. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  831. Disk /dev/ram14: 64 MiB, 67108864 bytes, 131072 sectors
  832. Units: sectors of 1 * 512 = 512 bytes
  833. Sector size (logical/physical): 512 bytes / 4096 bytes
  834. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  835. Disk /dev/ram15: 64 MiB, 67108864 bytes, 131072 sectors
  836. Units: sectors of 1 * 512 = 512 bytes
  837. Sector size (logical/physical): 512 bytes / 4096 bytes
  838. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  839. Disk /dev/loop0: 1.4 GiB, 1497772032 bytes, 2925336 sectors
  840. Units: sectors of 1 * 512 = 512 bytes
  841. Sector size (logical/physical): 512 bytes / 512 bytes
  842. I/O size (minimum/optimal): 512 bytes / 512 bytes
  843. Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
  844. Units: sectors of 1 * 512 = 512 bytes
  845. Sector size (logical/physical): 512 bytes / 4096 bytes
  846. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  847. Disklabel type: dos
  848. Disk identifier: 0x58ee9296
  849. Device Boot Start End Sectors Size Id Type
  850. /dev/sda1 * 104448 1322606591 1322502144 630.6G 83 Linux
  851. /dev/sda2 1937008638 1953523711 16515074 7.9G 5 Extended
  852. /dev/sda3 1322606592 1937006591 614400000 293G 83 Linux
  853. /dev/sda4 2048 104447 102400 50M 6 FAT16
  854. /dev/sda5 1937008640 1953523711 16515072 7.9G 82 Linux swap / Solaris
  855. Partition table entries are not in disk order.
  856. Disk /dev/sdb: 7.5 GiB, 8036286464 bytes, 15695872 sectors
  857. Units: sectors of 1 * 512 = 512 bytes
  858. Sector size (logical/physical): 512 bytes / 512 bytes
  859. I/O size (minimum/optimal): 512 bytes / 512 bytes
  860. Disklabel type: dos
  861. Disk identifier: 0x32332ba8
  862. Device Boot Start End Sectors Size Id Type
  863. /dev/sdb1 * 2048 15695871 15693824 7.5G c W95 FAT32 (LBA)
  864. =================== Recommended repair
  865. The default repair of the Boot-Repair utility will purge (in order to) and reinstall the grub2 of sda1 into the MBR of sda.
  866. Additional repair will be performed: unhide-bootmenu-10s
  867. chroot /mnt/boot-sav/sda1 apt-get -y --force-yes update
  868. Purge the GRUB of sda1
  869. grub-pc available
  870. Lecture des listes de paquets…
  871. Construction de l'arbre des dépendances…SET@_progressbar1.pulse()
  872. Lecture des informations d'état…
  873. The following additional packages will be installed:
  874. grub-common grub-pc-bin grub2-common
  875. Paquets suggérés :
  876. multiboot-doc grub-emu xorriso desktop-base
  877. Les paquets suivants seront mis à jour :
  878. grub-common grub-pc grub-pc-bin grub2-common
  879. 4 mis à jour, 0 nouvellement installés, 0 à enlever et 131 non mis à jour.
  880. Il est nécessaire de prendre 3 301 ko dans les archives.
  881. Après cette opération, 5 120 o d'espace disque supplémentaires seront utilisés.
  882. Réception de:1 http://fr.archive.ubuntu.com/ubuntu xenial-updates/main amd64 grub-pc amd64 2.02~beta2-36ubuntu3.9 [197 kB]
  883. Réception de:2 http://fr.archive.ubuntu.com/ubuntu xenial-updates/main amd64 grub-pc-bin amd64 2.02~beta2-36ubuntu3.9 [888 kB]
  884. Réception de:3 http://fr.archive.ubuntu.com/ubuntu xenial-updates/main amd64 grub2-common amd64 2.02~beta2-36ubuntu3.9 [510 kB]
  885. Réception de:4 http://fr.archive.ubuntu.com/ubuntu xenial-updates/main amd64 grub-common amd64 2.02~beta2-36ubuntu3.9 [1 706 kB]
  886. 3 301 ko réceptionnés en 5s (574 ko/s)
  887. Téléchargement achevé et dans le mode téléchargement uniquement
  888. W: --force-yes is deprecated, use one of the options starting with --allow instead.
  889. DEBCHECK debOK, grub-pc
  890. DEBCHECK debOK
  891. shim-signed available
  892. linux-signed-generic available
  893. Please type: sudo chroot "/mnt/boot-sav/sda1" dpkg --configure -ansudo chroot "/mnt/boot-sav/sda1" apt-get install -fynsudo chroot "/mnt/boot-sav/sda1" apt-get purge -y --force-yes grub*-common grub-common:i386 shim-signed linux-signed*
  894. =================== sda1/etc/grub.d/ :
  895. drwxr-xr-x 2 root root 4096 avril 13 17:34 grub.d
  896. total 4
  897. -rwxr-xr-x 1 root root 1992 janv. 28 2016 20_memtest86+
  898. Then type: sudo chroot "/mnt/boot-sav/sda1" apt-get install -y --force-yes grub-pc linux-generic
  899. =================== sda1/etc/grub.d/ :
  900. drwxr-xr-x 2 root root 4096 avril 13 17:45 grub.d
  901. drwxr-xr-x 2 root root 4096 avril 13 17:34 grub.d.bak
  902. total 76
  903. -rwxr-xr-x 1 root root 9791 mars 24 06:32 00_header
  904. -rwxr-xr-x 1 root root 6258 mars 15 2016 05_debian_theme
  905. -rwxr-xr-x 1 root root 12512 mars 24 06:32 10_linux
  906. -rwxr-xr-x 1 root root 11082 mars 24 06:32 20_linux_xen
  907. -rwxr-xr-x 1 root root 11692 mars 24 06:32 30_os-prober
  908. -rwxr-xr-x 1 root root 1418 mars 24 06:32 30_uefi-firmware
  909. -rwxr-xr-x 1 root root 214 mars 24 06:32 40_custom
  910. -rwxr-xr-x 1 root root 216 mars 24 06:32 41_custom
  911. -rw-r--r-- 1 root root 483 mars 24 06:32 README
  912. =================== sda1/etc/default/grub :
  913. # If you change this file, run 'update-grub' afterwards to update
  914. # /boot/grub/grub.cfg.
  915. # For full documentation of the options in this file, see:
  916. # info -f grub -n 'Simple configuration'
  917. GRUB_DEFAULT=0
  918. GRUB_HIDDEN_TIMEOUT=0
  919. GRUB_HIDDEN_TIMEOUT_QUIET=true
  920. GRUB_TIMEOUT=10
  921. GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
  922. GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
  923. GRUB_CMDLINE_LINUX=""
  924. # Uncomment to enable BadRAM filtering, modify to suit your needs
  925. # This works with Linux (no patch required) and with any kernel that obtains
  926. # the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
  927. #GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
  928. # Uncomment to disable graphical terminal (grub-pc only)
  929. #GRUB_TERMINAL=console
  930. # The resolution used on graphical terminal
  931. # note that you can use only modes which your graphic card supports via VBE
  932. # you can see them in real GRUB with the command `vbeinfo'
  933. #GRUB_GFXMODE=640x480
  934. # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
  935. #GRUB_DISABLE_LINUX_UUID=true
  936. # Uncomment to disable generation of recovery mode menu entries
  937. #GRUB_DISABLE_RECOVERY="true"
  938. # Uncomment to get a beep at grub start
  939. #GRUB_INIT_TUNE="480 440 1"
  940. Unhide GRUB boot menu in sda1/etc/default/grub
  941. =================== sda1/etc/grub.d/ :
  942. drwxr-xr-x 2 root root 4096 avril 13 17:45 grub.d
  943. drwxr-xr-x 2 root root 4096 avril 13 17:34 grub.d.bak
  944. total 76
  945. -rwxr-xr-x 1 root root 9791 mars 24 06:32 00_header
  946. -rwxr-xr-x 1 root root 6258 mars 15 2016 05_debian_theme
  947. -rwxr-xr-x 1 root root 12512 mars 24 06:32 10_linux
  948. -rwxr-xr-x 1 root root 11082 mars 24 06:32 20_linux_xen
  949. -rwxr-xr-x 1 root root 11692 mars 24 06:32 30_os-prober
  950. -rwxr-xr-x 1 root root 1418 mars 24 06:32 30_uefi-firmware
  951. -rwxr-xr-x 1 root root 214 mars 24 06:32 40_custom
  952. -rwxr-xr-x 1 root root 216 mars 24 06:32 41_custom
  953. -rw-r--r-- 1 root root 483 mars 24 06:32 README
  954. =================== sda1/etc/default/grub :
  955. # If you change this file, run 'update-grub' afterwards to update
  956. # /boot/grub/grub.cfg.
  957. # For full documentation of the options in this file, see:
  958. # info -f grub -n 'Simple configuration'
  959. GRUB_DEFAULT=0
  960. #GRUB_HIDDEN_TIMEOUT=0
  961. GRUB_HIDDEN_TIMEOUT_QUIET=true
  962. GRUB_TIMEOUT=10
  963. GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
  964. GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
  965. GRUB_CMDLINE_LINUX=""
  966. # Uncomment to enable BadRAM filtering, modify to suit your needs
  967. # This works with Linux (no patch required) and with any kernel that obtains
  968. # the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
  969. #GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
  970. # Uncomment to disable graphical terminal (grub-pc only)
  971. #GRUB_TERMINAL=console
  972. # The resolution used on graphical terminal
  973. # note that you can use only modes which your graphic card supports via VBE
  974. # you can see them in real GRUB with the command `vbeinfo'
  975. #GRUB_GFXMODE=640x480
  976. # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
  977. #GRUB_DISABLE_LINUX_UUID=true
  978. # Uncomment to disable generation of recovery mode menu entries
  979. #GRUB_DISABLE_RECOVERY="true"
  980. # Uncomment to get a beep at grub start
  981. #GRUB_INIT_TUNE="480 440 1"
  982. *******lspci -nnk | grep -iA3 vga
  983. 00:02.0 VGA compatible controller [0300]: Intel Corporation Broadwell-U Integrated Graphics [8086:1616] (rev 09)
  984. Subsystem: ASUSTeK Computer Inc. Broadwell-U Integrated Graphics [1043:10d0]
  985. Kernel driver in use: i915
  986. Kernel modules: i915
  987. *******
  988. grub-install --version
  989. grub-install (GRUB) 2.02~beta2-36ubuntu3.9,grub-install (GRUB) 2.
  990. Reinstall the GRUB of sda1 into the MBR of sda
  991. Installing for i386-pc platform.
  992. Installation finished. No error reported.
  993. grub-install /dev/sda: exit code of grub-install /dev/sda:0
  994. chroot /mnt/boot-sav/sda1 update-grub
  995. Generating grub configuration file ...
  996. Found linux image: /boot/vmlinuz-4.8.0-36-generic
  997. Found initrd image: /boot/initrd.img-4.8.0-36-generic
  998. Found linux image: /boot/vmlinuz-4.4.0-72-generic
  999. Found initrd image: /boot/initrd.img-4.4.0-72-generic
  1000. Found linux image: /boot/vmlinuz-4.4.0-64-generic
  1001. Found initrd image: /boot/initrd.img-4.4.0-64-generic
  1002. Found linux image: /boot/vmlinuz-4.4.0-43-generic
  1003. Found initrd image: /boot/initrd.img-4.4.0-43-generic
  1004. Unhide GRUB boot menu in sda1/boot/grub/grub.cfg
  1005. Le démarrage de l'ordinateur a été correctement réparé.
  1006. Vous pouvez maintenant redémarrer votre ordinateur.
  1007. paste.ubuntu.com ko (), using paste.debian
  1008. paste.debian.net ko (), using paste2