1. Boot Info Script 0.61.full + Boot-Repair extra info [Boot-Info November 20th 2012]
  2. ============================= Boot Info Summary: ===============================
  3. => Grub2 (v1.99) 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 on this drive.
  6. => Grub2 (v1.99) is installed in the MBR of /dev/sdb and looks at sector 1 of
  7. the same hard drive for core.img. core.img is at this location and looks
  8. in partition 1 for /boot/grub.
  9. sda1: __________________________________________________________________________
  10. File system: ext3
  11. Boot sector type: Grub Legacy
  12. Boot sector info: Grub Legacy (v0.97) is installed in the boot sector
  13. of sda1 and looks at sector 5512831 of the same hard
  14. drive for the stage2 file. A stage2 file is at this
  15. location on /dev/sda. Stage2 looks on partition #1
  16. for /boot/grub/menu.lst.
  17. Operating System: Ubuntu 12.04.1 LTS
  18. Boot files: /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img
  19. sda2: __________________________________________________________________________
  20. File system: swap
  21. Boot sector type: -
  22. Boot sector info:
  23. sda3: __________________________________________________________________________
  24. File system: ext3
  25. Boot sector type: -
  26. Boot sector info:
  27. Operating System:
  28. Boot files:
  29. sda4: __________________________________________________________________________
  30. File system: Extended Partition
  31. Boot sector type: -
  32. Boot sector info:
  33. sda5: __________________________________________________________________________
  34. File system: ext3
  35. Boot sector type: -
  36. Boot sector info:
  37. Operating System:
  38. Boot files:
  39. sda6: __________________________________________________________________________
  40. File system: ext3
  41. Boot sector type: -
  42. Boot sector info:
  43. Operating System:
  44. Boot files:
  45. sda7: __________________________________________________________________________
  46. File system: ntfs
  47. Boot sector type: Windows Vista/7: NTFS
  48. Boot sector info: No errors found in the Boot Parameter Block.
  49. Operating System:
  50. Boot files:
  51. sda8: __________________________________________________________________________
  52. File system: ext3
  53. Boot sector type: -
  54. Boot sector info:
  55. Operating System:
  56. Boot files:
  57. sda9: __________________________________________________________________________
  58. File system: ext3
  59. Boot sector type: -
  60. Boot sector info:
  61. Operating System:
  62. Boot files:
  63. sdb1: __________________________________________________________________________
  64. File system: Extended Partition
  65. Boot sector type: -
  66. Boot sector info:
  67. sdb5: __________________________________________________________________________
  68. File system: ext3
  69. Boot sector type: -
  70. Boot sector info:
  71. Operating System:
  72. Boot files:
  73. ============================ Drive/Partition Info: =============================
  74. Drive: sda _____________________________________________________________________
  75. Disk /dev/sda: 1000.2 GB, 1000203804160 bytes
  76. 255 heads, 63 sectors/track, 121601 cylinders, total 1953523055 sectors
  77. Units = sectors of 1 * 512 = 512 bytes
  78. Sector size (logical/physical): 512 bytes / 512 bytes
  79. Partition Boot Start Sector End Sector # of Sectors Id System
  80. /dev/sda1 63 102,398,309 102,398,247 83 Linux
  81. /dev/sda2 102,398,310 110,318,354 7,920,045 82 Linux swap / Solaris
  82. /dev/sda3 * 110,318,355 929,520,899 819,202,545 83 Linux
  83. /dev/sda4 929,520,900 1,953,520,064 1,023,999,165 5 Extended
  84. /dev/sda5 929,520,963 980,720,054 51,199,092 83 Linux
  85. /dev/sda6 980,720,118 1,001,202,929 20,482,812 83 Linux
  86. /dev/sda7 1,001,202,993 1,021,685,804 20,482,812 7 NTFS / exFAT / HPFS
  87. /dev/sda8 1,021,685,868 1,840,888,349 819,202,482 83 Linux
  88. /dev/sda9 1,840,888,413 1,953,520,064 112,631,652 83 Linux
  89. Drive: sdb _____________________________________________________________________
  90. Disk /dev/sdb: 500.1 GB, 500106780160 bytes
  91. 255 heads, 63 sectors/track, 60801 cylinders, total 976771055 sectors
  92. Units = sectors of 1 * 512 = 512 bytes
  93. Sector size (logical/physical): 512 bytes / 512 bytes
  94. Partition Boot Start Sector End Sector # of Sectors Id System
  95. /dev/sdb1 63 976,768,064 976,768,002 5 Extended
  96. /dev/sdb5 126 976,768,064 976,767,939 83 Linux
  97. "blkid" output: ________________________________________________________________
  98. Device UUID TYPE LABEL
  99. /dev/loop0 squashfs
  100. /dev/sda1 a5e6c540-e1b3-46a2-bb1a-914c1ed4caff ext3 Systeme
  101. /dev/sda2 dda0cb11-7dda-4017-ac99-c7a50214269d swap
  102. /dev/sda3 259534d1-21c2-4400-8e99-f898b1fc6573 ext3 home
  103. /dev/sda5 1326b6d5-97e7-4ad8-a3a9-e4f5982ba1da ext3 Sites
  104. /dev/sda6 262acaf0-1d8b-44e8-b230-8ae2b0ff21ea ext3 tmp
  105. /dev/sda7 2715A5C332343536 ntfs Mails
  106. /dev/sda8 1c272295-8ab5-4ede-b69e-cd6f3601e486 ext3 Stockage
  107. /dev/sda9 1f6962b7-5955-4bfe-a2fb-6e92f828b08f ext3 usr
  108. /dev/sdb5 c8080319-3730-4865-83c0-44306ccc4320 ext3 sdb1
  109. ================================ Mount points: =================================
  110. Device Mount_Point Type Options
  111. /dev/sr0 /live/image iso9660 (ro,noatime)
  112. =========================== sda1/boot/grub/grub.cfg: ===========================
  113. --------------------------------------------------------------------------------
  114. #
  115. # DO NOT EDIT THIS FILE
  116. #
  117. # It is automatically generated by grub-mkconfig using templates
  118. # from /etc/grub.d and settings from /etc/default/grub
  119. #
  120. ### BEGIN /etc/grub.d/00_header ###
  121. if [ -s $prefix/grubenv ]; then
  122. set have_grubenv=true
  123. load_env
  124. fi
  125. set default="0"
  126. if [ "${prev_saved_entry}" ]; then
  127. set saved_entry="${prev_saved_entry}"
  128. save_env saved_entry
  129. set prev_saved_entry=
  130. save_env prev_saved_entry
  131. set boot_once=true
  132. fi
  133. function savedefault {
  134. if [ -z "${boot_once}" ]; then
  135. saved_entry="${chosen}"
  136. save_env saved_entry
  137. fi
  138. }
  139. function recordfail {
  140. set recordfail=1
  141. if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
  142. }
  143. function load_video {
  144. insmod vbe
  145. insmod vga
  146. insmod video_bochs
  147. insmod video_cirrus
  148. }
  149. insmod part_msdos
  150. insmod ext2
  151. set root='(hd0,msdos9)'
  152. search --no-floppy --fs-uuid --set=root 1f6962b7-5955-4bfe-a2fb-6e92f828b08f
  153. if loadfont /share/grub/unicode.pf2 ; then
  154. set gfxmode=auto
  155. load_video
  156. insmod gfxterm
  157. insmod part_msdos
  158. insmod ext2
  159. set root='(hd0,msdos1)'
  160. search --no-floppy --fs-uuid --set=root a5e6c540-e1b3-46a2-bb1a-914c1ed4caff
  161. set locale_dir=($root)/boot/grub/locale
  162. set lang=en_US
  163. insmod gettext
  164. fi
  165. terminal_output gfxterm
  166. if [ "${recordfail}" = 1 ]; then
  167. set timeout=10
  168. else
  169. set timeout=10
  170. fi
  171. ### END /etc/grub.d/00_header ###
  172. ### BEGIN /etc/grub.d/05_debian_theme ###
  173. set menu_color_normal=white/black
  174. set menu_color_highlight=black/light-gray
  175. if background_color 44,0,30; then
  176. clear
  177. fi
  178. ### END /etc/grub.d/05_debian_theme ###
  179. ### BEGIN /etc/grub.d/10_linux ###
  180. function gfxmode {
  181. set gfxpayload="${1}"
  182. if [ "${1}" = "keep" ]; then
  183. set vt_handoff=vt.handoff=7
  184. else
  185. set vt_handoff=
  186. fi
  187. }
  188. if [ "${recordfail}" != 1 ]; then
  189. if [ -e ${prefix}/gfxblacklist.txt ]; then
  190. if hwmatch ${prefix}/gfxblacklist.txt 3; then
  191. if [ ${match} = 0 ]; then
  192. set linux_gfx_mode=keep
  193. else
  194. set linux_gfx_mode=text
  195. fi
  196. else
  197. set linux_gfx_mode=text
  198. fi
  199. else
  200. set linux_gfx_mode=keep
  201. fi
  202. else
  203. set linux_gfx_mode=text
  204. fi
  205. export linux_gfx_mode
  206. if [ "${linux_gfx_mode}" != "text" ]; then load_video; fi
  207. menuentry 'Ubuntu, with Linux 3.2.0-35-generic-pae' --class ubuntu --class gnu-linux --class gnu --class os {
  208. recordfail
  209. gfxmode $linux_gfx_mode
  210. insmod gzio
  211. insmod part_msdos
  212. insmod ext2
  213. set root='(hd0,msdos1)'
  214. search --no-floppy --fs-uuid --set=root a5e6c540-e1b3-46a2-bb1a-914c1ed4caff
  215. linux /boot/vmlinuz-3.2.0-35-generic-pae root=UUID=a5e6c540-e1b3-46a2-bb1a-914c1ed4caff ro quiet splash $vt_handoff
  216. initrd /boot/initrd.img-3.2.0-35-generic-pae
  217. }
  218. menuentry 'Ubuntu, with Linux 3.2.0-35-generic-pae (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
  219. recordfail
  220. insmod gzio
  221. insmod part_msdos
  222. insmod ext2
  223. set root='(hd0,msdos1)'
  224. search --no-floppy --fs-uuid --set=root a5e6c540-e1b3-46a2-bb1a-914c1ed4caff
  225. echo 'Loading Linux 3.2.0-35-generic-pae ...'
  226. linux /boot/vmlinuz-3.2.0-35-generic-pae root=UUID=a5e6c540-e1b3-46a2-bb1a-914c1ed4caff ro recovery nomodeset
  227. echo 'Loading initial ramdisk ...'
  228. initrd /boot/initrd.img-3.2.0-35-generic-pae
  229. }
  230. submenu "Previous Linux versions" {
  231. menuentry 'Ubuntu, with Linux 3.2.0-35-generic' --class ubuntu --class gnu-linux --class gnu --class os {
  232. recordfail
  233. gfxmode $linux_gfx_mode
  234. insmod gzio
  235. insmod part_msdos
  236. insmod ext2
  237. set root='(hd0,msdos1)'
  238. search --no-floppy --fs-uuid --set=root a5e6c540-e1b3-46a2-bb1a-914c1ed4caff
  239. linux /boot/vmlinuz-3.2.0-35-generic root=UUID=a5e6c540-e1b3-46a2-bb1a-914c1ed4caff ro quiet splash $vt_handoff
  240. initrd /boot/initrd.img-3.2.0-35-generic
  241. }
  242. menuentry 'Ubuntu, with Linux 3.2.0-35-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
  243. recordfail
  244. insmod gzio
  245. insmod part_msdos
  246. insmod ext2
  247. set root='(hd0,msdos1)'
  248. search --no-floppy --fs-uuid --set=root a5e6c540-e1b3-46a2-bb1a-914c1ed4caff
  249. echo 'Loading Linux 3.2.0-35-generic ...'
  250. linux /boot/vmlinuz-3.2.0-35-generic root=UUID=a5e6c540-e1b3-46a2-bb1a-914c1ed4caff ro recovery nomodeset
  251. echo 'Loading initial ramdisk ...'
  252. initrd /boot/initrd.img-3.2.0-35-generic
  253. }
  254. menuentry 'Ubuntu, with Linux 2.6.32-29-generic' --class ubuntu --class gnu-linux --class gnu --class os {
  255. recordfail
  256. gfxmode $linux_gfx_mode
  257. insmod gzio
  258. insmod part_msdos
  259. insmod ext2
  260. set root='(hd0,msdos1)'
  261. search --no-floppy --fs-uuid --set=root a5e6c540-e1b3-46a2-bb1a-914c1ed4caff
  262. linux /boot/vmlinuz-2.6.32-29-generic root=UUID=a5e6c540-e1b3-46a2-bb1a-914c1ed4caff ro quiet splash $vt_handoff
  263. initrd /boot/initrd.img-2.6.32-29-generic
  264. }
  265. menuentry 'Ubuntu, with Linux 2.6.32-29-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
  266. recordfail
  267. insmod gzio
  268. insmod part_msdos
  269. insmod ext2
  270. set root='(hd0,msdos1)'
  271. search --no-floppy --fs-uuid --set=root a5e6c540-e1b3-46a2-bb1a-914c1ed4caff
  272. echo 'Loading Linux 2.6.32-29-generic ...'
  273. linux /boot/vmlinuz-2.6.32-29-generic root=UUID=a5e6c540-e1b3-46a2-bb1a-914c1ed4caff ro recovery nomodeset
  274. echo 'Loading initial ramdisk ...'
  275. initrd /boot/initrd.img-2.6.32-29-generic
  276. }
  277. }
  278. ### END /etc/grub.d/10_linux ###
  279. ### BEGIN /etc/grub.d/20_linux_xen ###
  280. ### END /etc/grub.d/20_linux_xen ###
  281. ### BEGIN /etc/grub.d/30_os-prober ###
  282. ### END /etc/grub.d/30_os-prober ###
  283. ### BEGIN /etc/grub.d/30_uefi-firmware ###
  284. ### END /etc/grub.d/30_uefi-firmware ###
  285. ### BEGIN /etc/grub.d/40_custom ###
  286. # This file provides an easy way to add custom menu entries. Simply type the
  287. # menu entries you want to add after this comment. Be careful not to change
  288. # the 'exec tail' line above.
  289. ### END /etc/grub.d/40_custom ###
  290. ### BEGIN /etc/grub.d/41_custom ###
  291. if [ -f $prefix/custom.cfg ]; then
  292. source $prefix/custom.cfg;
  293. fi
  294. ### END /etc/grub.d/41_custom ###
  295. --------------------------------------------------------------------------------
  296. =============================== sda1/etc/fstab: ================================
  297. --------------------------------------------------------------------------------
  298. UUID=259534d1-21c2-4400-8e99-f898b1fc6573 /home ext3 defaults 0 2
  299. UUID=dda0cb11-7dda-4017-ac99-c7a50214269d swap swap sw 0 0
  300. UUID=1326b6d5-97e7-4ad8-a3a9-e4f5982ba1da /media/sites ext3 defaults 0 2
  301. UUID=a5e6c540-e1b3-46a2-bb1a-914c1ed4caff / ext3 defaults 0 1
  302. UUID=2715A5C332343536 /media/Mails ntfs-3g defaults 0 0
  303. UUID=1c272295-8ab5-4ede-b69e-cd6f3601e486 /home/sylvain/stockage ext3 defaults 0 2
  304. #UUID=1f6962b7-5955-4bfe-a2fb-6e92f828b08f /usr ext3 defaults 0 2
  305. # //192.168.1.30/memup80 /mnt/disk cifs _netdev,guest 0 0 EXEMPLE voir http://forum.ubuntu-fr.org/viewtopic.php?pid=10009891#p10009891
  306. # //192.168.1.50/disque /media/nas cifs noauto,rw,_netdev,user,credentials=/root/.smbcredentials 0 0
  307. # Hubic, voir http://www.openwebtech.fr/2012/01/08/hubic-is-your-friend-on-linux-with-davfs2/
  308. # https://cloudnas1.ovh.com/ed4f6f9344c9b2cebca156db9ff0eeb4/ /media/hubic davfs noauto,rw,_netdev,user,gid=davfs2,credentials=/root/.hubiccredentials 0 0
  309. # //192.168.1.50/disque /media/nas cifs _netdev,guest 0 0
  310. # https://cloudnas1.ovh.com/ed4f6f9344c9b2cebca156db9ff0eeb4/ /media/hubic davfs user,rw,noauto 0 0
  311. # mount point for Acer Iconia A500
  312. # mtpfs /media/a500 fuse user,noauto,allow_other 0 0
  313. UUID=1f6962b7-5955-4bfe-a2fb-6e92f828b08f /usr ext3 defaults 0 2
  314. --------------------------------------------------------------------------------
  315. =================== sda1: Location of files loaded by Grub: ====================
  316. GiB - GB File Fragment(s)
  317. 2.323840618 = 2.495204864 boot/grub/core.img 1
  318. 2.312652111 = 2.483191296 boot/grub/grub.cfg 1
  319. 14.529147625 = 15.600553472 boot/initrd.img-2.6.32-29-generic 19
  320. 3.314532757 = 3.558952448 boot/initrd.img-3.2.0-35-generic 67
  321. 14.729030132 = 15.815175680 boot/initrd.img-3.2.0-35-generic-pae 89
  322. 2.631030560 = 2.825047552 boot/vmlinuz-2.6.32-29-generic 5
  323. 3.660705090 = 3.930652160 boot/vmlinuz-3.2.0-35-generic 447
  324. 12.402877331 = 13.317488128 boot/vmlinuz-3.2.0-35-generic-pae 7
  325. 12.402877331 = 13.317488128 vmlinuz 7
  326. 3.660705090 = 3.930652160 vmlinuz.old 447
  327. ========= Devices which don't seem to have a corresponding hard drive: =========
  328. sdc sdd sde sdf sdg sdh sdi sdj
  329. =============================== StdErr Messages: ===============================
  330. File descriptor 7 (pipe:[10184]) leaked on lvscan invocation. Parent PID 23333: bash
  331. File descriptor 8 (pipe:[10184]) leaked on lvscan invocation. Parent PID 23333: bash
  332. No volume groups found
  333. mdadm: No arrays found in config file or automatically
  334. ADDITIONAL INFORMATION :
  335. =================== log of boot-repair 2013-01-04__19h34 ===================
  336. boot-repair version : 3.195~ppa11~lucid
  337. boot-sav version : 3.195~ppa11~lucid
  338. glade2script-gtk2 version : 3.2.2~ppa45~lucid
  339. boot-sav-extra version : 3.195~ppa11~lucid
  340. File descriptor 7 (pipe:[10184]) leaked on lvs invocation. Parent PID 6537: /bin/sh
  341. File descriptor 8 (pipe:[10184]) leaked on lvs invocation. Parent PID 6537: /bin/sh
  342. No volume groups found
  343. boot-repair is executed in live-session (Boot-Repair-Disk 29nov2012, squeeze, Debian, i686)
  344. CPU op-mode(s): 32-bit, 64-bit
  345. initrd=/live/initrd.img boot=live config quiet BOOT_IMAGE=/live/vmlinuz
  346. =================== os-prober:
  347. /dev/sda1:Ubuntu 12.04.1 LTS (12.04):Ubuntu:linux
  348. =================== blkid:
  349. /dev/sda1: LABEL="Systeme" UUID="a5e6c540-e1b3-46a2-bb1a-914c1ed4caff" SEC_TYPE="ext2" TYPE="ext3"
  350. /dev/sda2: UUID="dda0cb11-7dda-4017-ac99-c7a50214269d" TYPE="swap"
  351. /dev/sda3: LABEL="home" UUID="259534d1-21c2-4400-8e99-f898b1fc6573" SEC_TYPE="ext2" TYPE="ext3"
  352. /dev/sda5: LABEL="Sites" UUID="1326b6d5-97e7-4ad8-a3a9-e4f5982ba1da" SEC_TYPE="ext2" TYPE="ext3"
  353. /dev/sda6: LABEL="tmp" UUID="262acaf0-1d8b-44e8-b230-8ae2b0ff21ea" SEC_TYPE="ext2" TYPE="ext3"
  354. /dev/sda7: LABEL="Mails" UUID="2715A5C332343536" TYPE="ntfs"
  355. /dev/sda8: LABEL="Stockage" UUID="1c272295-8ab5-4ede-b69e-cd6f3601e486" SEC_TYPE="ext2" TYPE="ext3"
  356. /dev/sda9: LABEL="usr" UUID="1f6962b7-5955-4bfe-a2fb-6e92f828b08f" SEC_TYPE="ext2" TYPE="ext3"
  357. /dev/sdb5: LABEL="sdb1" UUID="c8080319-3730-4865-83c0-44306ccc4320" SEC_TYPE="ext2" TYPE="ext3"
  358. /dev/loop0: TYPE="squashfs"
  359. 1 disks with OS, 1 OS : 1 Linux, 0 MacOS, 0 Windows, 0 unknown type OS.
  360. Warning: extended partition does not start at a cylinder boundary.
  361. DOS and Linux will interpret the contents differently.
  362. =================== sda1/etc/grub.d/ :
  363. drwxr-xr-x 2 root root 4096 Jan 4 14:31 grub.d
  364. total 60
  365. -rwxr-xr-x 1 root root 6743 Dec 10 12:16 00_header
  366. -rwxr-xr-x 1 root root 5522 Dec 10 12:02 05_debian_theme
  367. -rwxr-xr-x 1 root root 7780 Dec 10 12:16 10_linux
  368. -rwxr-xr-x 1 root root 6335 Dec 10 12:16 20_linux_xen
  369. -rwxr-xr-x 1 root root 1588 Nov 27 2011 20_memtest86+
  370. -rwxr-xr-x 1 root root 7603 Dec 10 12:16 30_os-prober
  371. -rwxr-xr-x 1 root root 1388 Dec 10 12:16 30_uefi-firmware
  372. -rwxr-xr-x 1 root root 214 Oct 24 2009 40_custom
  373. -rwxr-xr-x 1 root root 95 Dec 10 12:16 41_custom
  374. -rw-r--r-- 1 root root 483 Oct 24 2009 README
  375. No sda1/etc/default/grub
  376. /usr detected in the fstab of sda1: UUID=1f6962b7-5955-4bfe-a2fb-6e92f828b08f (sda9)
  377. /mnt/boot-sav/sda1/grub/menu.lst detected
  378. =================== UEFI/Legacy mode:
  379. This live-session is not EFI-compatible.
  380. SecureBoot maybe enabled.
  381. =================== PARTITIONS & DISKS:
  382. sda1 : sda, not-sepboot, grubenv-ok grub1, no-docgrub, update-grub, 32, with-boot, is-os, not--efi--part, fstab-without-boot, fstab-without-efi, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, nopakmgr, grub-install, emptyusr, fstab-has-goodUSR, not-sep-usr, standard, not-far, /mnt/boot-sav/sda1.
  383. 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.
  384. sda5 : 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/sda5.
  385. sda6 : 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/sda6.
  386. sda7 : 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, farbios, /mnt/boot-sav/sda7.
  387. sda8 : 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/sda8.
  388. sda9 : sda, maybesepboot, no-grubenv grub2, no-docgrub, 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, apt-get, grub-install, no---usr, part-has-no-fstab, is-sep-usr, standard, farbios, /mnt/boot-sav/sda9.
  389. sdb5 : sdb, maybesepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-boot, no-os, not--efi--part, part-has-no-fstab, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, farbios, /mnt/boot-sav/sdb5.
  390. sda : not-GPT, BIOSboot-not-needed, has-no-EFIpart, not-usb, has-os, 63 sectors * 512 bytes
  391. sdb : not-GPT, BIOSboot-not-needed, has-no-EFIpart, not-usb, no-os, 63 sectors * 512 bytes
  392. =================== parted -l:
  393. Model: ATA ST31000340AS (scsi)
  394. Disk /dev/sda: 1000GB
  395. Sector size (logical/physical): 512B/512B
  396. Partition Table: msdos
  397. Number Start End Size Type File system Flags
  398. 1 32.3kB 52.4GB 52.4GB primary ext3
  399. 2 52.4GB 56.5GB 4055MB primary linux-swap(v1)
  400. 3 56.5GB 476GB 419GB primary ext3
  401. 4 476GB 1000GB 524GB extended
  402. 5 476GB 502GB 26.2GB logical ext3
  403. 6 502GB 513GB 10.5GB logical ext3
  404. 7 513GB 523GB 10.5GB logical ntfs
  405. 8 523GB 943GB 419GB logical ext3
  406. 9 943GB 1000GB 57.7GB logical ext3
  407. Model: ATA ST3500320AS (scsi)
  408. Disk /dev/sdb: 500GB
  409. Sector size (logical/physical): 512B/512B
  410. Partition Table: msdos
  411. Number Start End Size Type File system Flags
  412. 1 32.3kB 500GB 500GB extended
  413. 5 64.5kB 500GB 500GB logical ext3
  414. Warning: Unable to open /dev/sr0 read-write (Read-only file system). /dev/sr0
  415. has been opened read-only.
  416. Error: /dev/sr0: unrecognised disk label
  417. =================== parted -lm:
  418. BYT;
  419. /dev/sda:1000GB:scsi:512:512:msdos:ATA ST31000340AS;
  420. 1:32.3kB:52.4GB:52.4GB:ext3::;
  421. 2:52.4GB:56.5GB:4055MB:linux-swap(v1)::;
  422. 3:56.5GB:476GB:419GB:ext3::;
  423. 4:476GB:1000GB:524GB:::;
  424. 5:476GB:502GB:26.2GB:ext3::;
  425. 6:502GB:513GB:10.5GB:ext3::;
  426. 7:513GB:523GB:10.5GB:ntfs::;
  427. 8:523GB:943GB:419GB:ext3::;
  428. 9:943GB:1000GB:57.7GB:ext3::;
  429. BYT;
  430. /dev/sdb:500GB:scsi:512:512:msdos:ATA ST3500320AS;
  431. 1:32.3kB:500GB:500GB:::;
  432. 5:64.5kB:500GB:500GB:ext3::;
  433. Warning: Unable to open /dev/sr0 read-write (Read-only file system). /dev/sr0
  434. has been opened read-only.
  435. Error: /dev/sr0: unrecognised disk label
  436. =================== mount:
  437. aufs on / type aufs (rw)
  438. tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
  439. proc on /proc type proc (rw,noexec,nosuid,nodev)
  440. sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
  441. udev on /dev type tmpfs (rw,mode=0755)
  442. tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
  443. devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
  444. /dev/sr0 on /live/image type iso9660 (ro,noatime)
  445. tmpfs on /live/cow type tmpfs (rw,noatime,mode=755)
  446. tmpfs on /live type tmpfs (rw,relatime)
  447. tmpfs on /tmp type tmpfs (rw,nosuid,nodev)
  448. fusectl on /sys/fs/fuse/connections type fusectl (rw)
  449. /dev/sda1 on /mnt/boot-sav/sda1 type ext3 (rw)
  450. /dev/sda3 on /mnt/boot-sav/sda3 type ext3 (rw)
  451. /dev/sda5 on /mnt/boot-sav/sda5 type ext3 (rw)
  452. /dev/sda6 on /mnt/boot-sav/sda6 type ext3 (rw)
  453. /dev/sda7 on /mnt/boot-sav/sda7 type fuseblk (rw,allow_other,blksize=4096)
  454. /dev/sda8 on /mnt/boot-sav/sda8 type ext3 (rw)
  455. /dev/sda9 on /mnt/boot-sav/sda9 type ext3 (rw)
  456. /dev/sdb5 on /mnt/boot-sav/sdb5 type ext3 (rw)
  457. =================== ls:
  458. /sys/block/sda (filtered): alignment_offset bdi capability dev device ext_range holders inflight power queue range removable ro sda1 sda2 sda3 sda4 sda5 sda6 sda7 sda8 sda9 size slaves stat subsystem trace uevent
  459. /sys/block/sdb (filtered): alignment_offset bdi capability dev device ext_range holders inflight power queue range removable ro sdb1 sdb5 size slaves stat subsystem trace uevent
  460. /sys/block/sdc (filtered): alignment_offset bdi capability dev device ext_range holders inflight power queue range removable ro size slaves stat subsystem trace uevent
  461. /sys/block/sdd (filtered): alignment_offset bdi capability dev device ext_range holders inflight power queue range removable ro size slaves stat subsystem trace uevent
  462. /sys/block/sde (filtered): alignment_offset bdi capability dev device ext_range holders inflight power queue range removable ro size slaves stat subsystem trace uevent
  463. /sys/block/sdf (filtered): alignment_offset bdi capability dev device ext_range holders inflight power queue range removable ro size slaves stat subsystem trace uevent
  464. /sys/block/sdg (filtered): alignment_offset bdi capability dev device ext_range holders inflight power queue range removable ro size slaves stat subsystem trace uevent
  465. /sys/block/sdh (filtered): alignment_offset bdi capability dev device ext_range holders inflight power queue range removable ro size slaves stat subsystem trace uevent
  466. /sys/block/sdi (filtered): alignment_offset bdi capability dev device ext_range holders inflight power queue range removable ro size slaves stat subsystem trace uevent
  467. /sys/block/sdj (filtered): alignment_offset bdi capability dev device ext_range holders inflight power queue range removable ro size slaves stat subsystem trace uevent
  468. /sys/block/sr0 (filtered): alignment_offset bdi capability dev device ext_range holders inflight power queue range removable ro size slaves stat subsystem trace uevent
  469. /sys/block/sr1 (filtered): alignment_offset bdi capability dev device ext_range holders inflight power queue range removable ro size slaves stat subsystem trace uevent
  470. /dev (filtered): block bsg btrfs-control bus cdrom cdrom1 cdrw cdrw1 char console core cpu_dma_latency disk dri dvd dvd1 dvdrw dvdrw1 fb0 fd full fuse hidraw0 hidraw1 hidraw2 hidraw3 hpet initctl input kmsg log MAKEDEV md mem net network_latency network_throughput null port ppp psaux ptmx pts random rtc rtc0 scd0 scd1 sda sda1 sda2 sda3 sda4 sda5 sda6 sda7 sda8 sda9 sdb sdb1 sdb5 sdc sdd sde sdf sdg sdh sdi sdj sg0 sg1 sg10 sg11 sg2 sg3 sg4 sg5 sg6 sg7 sg8 sg9 shm snapshot snd sndstat sr0 sr1 stderr stdin stdout urandom vga_arbiter xconsole zero
  471. ls /dev/md:
  472. =================== df -Th:
  473. Filesystem Type Size Used Avail Use% Mounted on
  474. aufs aufs 1.8G 7.4M 1.8G 1% /
  475. tmpfs tmpfs 1.8G 0 1.8G 0% /lib/init/rw
  476. udev tmpfs 1.8G 284K 1.8G 1% /dev
  477. tmpfs tmpfs 1.8G 0 1.8G 0% /dev/shm
  478. /dev/sr0 iso9660 340M 340M 0 100% /live/image
  479. tmpfs tmpfs 1.8G 7.4M 1.8G 1% /live/cow
  480. tmpfs tmpfs 1.8G 0 1.8G 0% /live
  481. tmpfs tmpfs 1.8G 8.0K 1.8G 1% /tmp
  482. /dev/sda1 ext3 49G 19G 28G 41% /mnt/boot-sav/sda1
  483. /dev/sda3 ext3 388G 152G 217G 42% /mnt/boot-sav/sda3
  484. /dev/sda5 ext3 25G 5.7G 18G 25% /mnt/boot-sav/sda5
  485. /dev/sda6 ext3 9.7G 151M 9.0G 2% /mnt/boot-sav/sda6
  486. /dev/sda7 fuseblk 9.8G 1.6G 8.2G 17% /mnt/boot-sav/sda7
  487. /dev/sda8 ext3 385G 319G 47G 88% /mnt/boot-sav/sda8
  488. /dev/sda9 ext3 53G 12G 39G 24% /mnt/boot-sav/sda9
  489. /dev/sdb5 ext3 459G 304G 132G 70% /mnt/boot-sav/sdb5
  490. =================== fdisk -l:
  491. Disk /dev/sda: 1000.2 GB, 1000203804160 bytes
  492. 255 heads, 63 sectors/track, 121601 cylinders
  493. Units = cylinders of 16065 * 512 = 8225280 bytes
  494. Sector size (logical/physical): 512 bytes / 512 bytes
  495. I/O size (minimum/optimal): 512 bytes / 512 bytes
  496. Disk identifier: 0x98899889
  497. Device Boot Start End Blocks Id System
  498. /dev/sda1 1 6374 51199123+ 83 Linux
  499. /dev/sda2 6375 6867 3960022+ 82 Linux swap / Solaris
  500. /dev/sda3 6868 57860 409601272+ 83 Linux
  501. /dev/sda4 57861 121601 511999582+ 5 Extended
  502. /dev/sda5 57861 61047 25599546 83 Linux
  503. /dev/sda6 61048 62322 10241406 83 Linux
  504. /dev/sda7 62323 63597 10241406 7 HPFS/NTFS
  505. /dev/sda8 63598 114590 409601241 83 Linux
  506. /dev/sda9 114591 121601 56315826 83 Linux
  507. Disk /dev/sdb: 500.1 GB, 500106780160 bytes
  508. 255 heads, 63 sectors/track, 60801 cylinders
  509. Units = cylinders of 16065 * 512 = 8225280 bytes
  510. Sector size (logical/physical): 512 bytes / 512 bytes
  511. I/O size (minimum/optimal): 512 bytes / 512 bytes
  512. Disk identifier: 0x000221f7
  513. Device Boot Start End Blocks Id System
  514. /dev/sdb1 1 60801 488384001 5 Extended
  515. /dev/sdb5 1 60801 488383969+ 83 Linux
  516. =================== Recommended repair
  517. Recommended-Repair
  518. This setting will purge (in order to fix packages fix legacy files) and reinstall the grub2 of sda1 into the MBRs of all disks (except USB without OS), using the following options: sda9/usr,
  519. The boot flag will be placed on sda3.
  520. Additional repair will be performed: unhide-bootmenu-10s
  521. parted /dev/sda set 3 boot on
  522. Information: You may need to update /etc/fstab.
  523. sda1/fstab changed for /usr
  524. mount: special device /run does not exist
  525. Mount sda9 on /mnt/boot-sav/sda1/usr
  526. chroot /mnt/boot-sav/sda1 apt-get -y --force-yes update
  527. W: Failed to fetch http://ppa.launchpad.net/akirad/akirad/ubuntu/dists/precise/main/binary-i386/Packages 404 Not Found
  528. W: Failed to fetch http://ppa.launchpad.net/akirad/ppa/ubuntu/dists/precise/main/binary-i386/Packages 404 Not Found
  529. E: Some index files failed to download. They have been ignored, or old ones used instead.
  530. Purge the GRUB of sda1
  531. cp: cannot stat `/mnt/boot-sav/sda1/etc/default/grub': No such file or directory
  532. W: Duplicate sources.list entry http://archive.canonical.com/ubuntu/ precise/partner i386 Packages (/var/lib/apt/lists/archive.canonical.com_ubuntu_dists_precise_partner_binary-i386_Packages)
  533. W: You may want to run apt-get update to correct these problems
  534. grub-pc available
  535. The following packages were automatically installed and are no longer required:
  536. tesseract-ocr-equ libkldap4 libktnef4 libcolamd2.7.1 chromium-bsu lp-solve
  537. tesseract-ocr libkpimtextedit4 libkcalutils4 libkimproxy4
  538. libgoffice-0.8-8-common tesseract-ocr-osd libmicroblog4 kdelibs5
  539. libkxmlrpcclient4 libchm1 akonadi-backend-mysql libkalarmcal2
  540. gnumeric-common create-resources libwebp2 gnumeric-doc libmono-cairo2.0-cil
  541. fonts-uralic libgoffice-0.8-8 libtesseract3 libkcalcore4 libqgpgme1
  542. libmailtransport4 libakonadi-kde4 libkabc4 ttf-uralic libkresources4
  543. libkpimutils4 chromium-bsu-data libkprintutils4 libtaglib2.0-cil
  544. libleptonica libkrossui4 libkpimidentities4 libkcal4 libknewstuff2-4
  545. libkblog4 libkimap4 kdepimlibs5 libkmime4 libavahi1.0-cil libakonadi-kabc4
  546. libkholidays4 gnumeric akonadi-server libakonadiprotocolinternals1
  547. libsyndication4 libakonadi-kmime4 kdepimlibs-kio-plugins libkutils4
  548. libgpgme++2 tesseract-ocr-eng
  549. Use 'apt-get autoremove' to remove them.
  550. The following extra packages will be installed:
  551. grub-gfxpayload-lists grub-pc-bin grub2-common
  552. Suggested packages:
  553. desktop-base
  554. The following packages will be REMOVED:
  555. grub
  556. The following NEW packages will be installed:
  557. grub-gfxpayload-lists grub-pc grub-pc-bin grub2-common
  558. 0 upgraded, 4 newly installed, 1 to remove and 1 not upgraded.
  559. DEBCHECK debOK, grub-pc
  560. DEBCHECK debOK
  561. shim-signed NOT available (apt-cache policy problem)
  562. linux-signed-generic NOT available (apt-cache policy problem)
  563. 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
  564. =================== sda1/etc/grub.d/ :
  565. drwxr-xr-x 2 root root 4096 Jan 4 19:36 grub.d
  566. total 4
  567. -rwxr-xr-x 1 root root 1588 Nov 27 2011 20_memtest86+
  568. /usr detected in the fstab of sda1: UUID=1f6962b7-5955-4bfe-a2fb-6e92f828b08f (sda9)
  569. /mnt/boot-sav/sda1/grub/menu.lst detected
  570. Then type: sudo chroot "/mnt/boot-sav/sda1" apt-get install -y --force-yes grub-pc
  571. =================== sda1/etc/default/grub :
  572. # If you change this file, run 'update-grub' afterwards to update
  573. # /boot/grub/grub.cfg.
  574. # For full documentation of the options in this file, see:
  575. # info -f grub -n 'Simple configuration'
  576. GRUB_DEFAULT=0
  577. GRUB_HIDDEN_TIMEOUT=0
  578. GRUB_HIDDEN_TIMEOUT_QUIET=true
  579. GRUB_TIMEOUT=10
  580. GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
  581. GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
  582. GRUB_CMDLINE_LINUX=""
  583. # Uncomment to enable BadRAM filtering, modify to suit your needs
  584. # This works with Linux (no patch required) and with any kernel that obtains
  585. # the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
  586. #GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
  587. # Uncomment to disable graphical terminal (grub-pc only)
  588. #GRUB_TERMINAL=console
  589. # The resolution used on graphical terminal
  590. # note that you can use only modes which your graphic card supports via VBE
  591. # you can see them in real GRUB with the command `vbeinfo'
  592. #GRUB_GFXMODE=640x480
  593. # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
  594. #GRUB_DISABLE_LINUX_UUID=true
  595. # Uncomment to disable generation of recovery mode menu entries
  596. #GRUB_DISABLE_RECOVERY="true"
  597. # Uncomment to get a beep at grub start
  598. #GRUB_INIT_TUNE="480 440 1"
  599. =================== sda1/etc/grub.d/ :
  600. drwxr-xr-x 2 root root 4096 Jan 4 19:37 grub.d
  601. drwxr-xr-x 2 root root 4096 Jan 4 19:36 grub.d.bak
  602. total 56
  603. -rwxr-xr-x 1 root root 6743 Dec 10 12:16 00_header
  604. -rwxr-xr-x 1 root root 5522 Dec 10 12:02 05_debian_theme
  605. -rwxr-xr-x 1 root root 7780 Dec 10 12:16 10_linux
  606. -rwxr-xr-x 1 root root 6335 Dec 10 12:16 20_linux_xen
  607. -rwxr-xr-x 1 root root 7603 Dec 10 12:16 30_os-prober
  608. -rwxr-xr-x 1 root root 1388 Dec 10 12:16 30_uefi-firmware
  609. -rwxr-xr-x 1 root root 214 Dec 10 12:16 40_custom
  610. -rwxr-xr-x 1 root root 95 Dec 10 12:16 41_custom
  611. -rw-r--r-- 1 root root 483 Dec 10 12:16 README
  612. /usr detected in the fstab of sda1: UUID=1f6962b7-5955-4bfe-a2fb-6e92f828b08f (sda9)
  613. Unhide GRUB boot menu in sda1/etc/default/grub
  614. =================== sda1/etc/default/grub :
  615. # If you change this file, run 'update-grub' afterwards to update
  616. # /boot/grub/grub.cfg.
  617. # For full documentation of the options in this file, see:
  618. # info -f grub -n 'Simple configuration'
  619. GRUB_DEFAULT=0
  620. #GRUB_HIDDEN_TIMEOUT=0
  621. GRUB_HIDDEN_TIMEOUT_QUIET=true
  622. GRUB_TIMEOUT=10
  623. GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
  624. GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
  625. GRUB_CMDLINE_LINUX=""
  626. # Uncomment to enable BadRAM filtering, modify to suit your needs
  627. # This works with Linux (no patch required) and with any kernel that obtains
  628. # the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
  629. #GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
  630. # Uncomment to disable graphical terminal (grub-pc only)
  631. #GRUB_TERMINAL=console
  632. # The resolution used on graphical terminal
  633. # note that you can use only modes which your graphic card supports via VBE
  634. # you can see them in real GRUB with the command `vbeinfo'
  635. #GRUB_GFXMODE=640x480
  636. # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
  637. #GRUB_DISABLE_LINUX_UUID=true
  638. # Uncomment to disable generation of recovery mode menu entries
  639. #GRUB_DISABLE_RECOVERY="true"
  640. # Uncomment to get a beep at grub start
  641. #GRUB_INIT_TUNE="480 440 1"
  642. =================== sda1/etc/grub.d/ :
  643. drwxr-xr-x 2 root root 4096 Jan 4 19:37 grub.d
  644. drwxr-xr-x 2 root root 4096 Jan 4 19:36 grub.d.bak
  645. total 56
  646. -rwxr-xr-x 1 root root 6743 Dec 10 12:16 00_header
  647. -rwxr-xr-x 1 root root 5522 Dec 10 12:02 05_debian_theme
  648. -rwxr-xr-x 1 root root 7780 Dec 10 12:16 10_linux
  649. -rwxr-xr-x 1 root root 6335 Dec 10 12:16 20_linux_xen
  650. -rwxr-xr-x 1 root root 7603 Dec 10 12:16 30_os-prober
  651. -rwxr-xr-x 1 root root 1388 Dec 10 12:16 30_uefi-firmware
  652. -rwxr-xr-x 1 root root 214 Dec 10 12:16 40_custom
  653. -rwxr-xr-x 1 root root 95 Dec 10 12:16 41_custom
  654. -rw-r--r-- 1 root root 483 Dec 10 12:16 README
  655. /usr detected in the fstab of sda1: UUID=1f6962b7-5955-4bfe-a2fb-6e92f828b08f (sda9)
  656. Reinstall the GRUB of sda1 into all MBRs of disks with OS or not-USB
  657. grub-install (GRUB) 1.99-21ubuntu3.7,grub-install (GRUB) 1.
  658. Reinstall the GRUB of sda1 into the MBR of sdb
  659. grub-install /dev/sdb: Installation finished. No error reported.
  660. exit code of grub-install /dev/sdb:0
  661. grub-install (GRUB) 1.99-21ubuntu3.7,grub-install (GRUB) 1.
  662. Reinstall the GRUB of sda1 into the MBR of sda
  663. grub-install /dev/sda: Installation finished. No error reported.
  664. exit code of grub-install /dev/sda:0
  665. chroot /mnt/boot-sav/sda1 update-grub
  666. Generating grub.cfg ...
  667. Found linux image: /boot/vmlinuz-3.2.0-35-generic-pae
  668. Found initrd image: /boot/initrd.img-3.2.0-35-generic-pae
  669. Found linux image: /boot/vmlinuz-3.2.0-35-generic
  670. Found initrd image: /boot/initrd.img-3.2.0-35-generic
  671. Found linux image: /boot/vmlinuz-2.6.32-29-generic
  672. Found initrd image: /boot/initrd.img-2.6.32-29-generic
  673. umount: /mnt/boot-sav/sda1/run: not mounted
  674. Unhide GRUB boot menu in sda1/boot/grub/grub.cfg
  675. Boot successfully repaired.
  676. You can now reboot your computer.
  677. Please do not forget to make your BIOS boot on sda (1000GB) disk!