- Boot Info Script 0.61.full + Boot-Repair extra info [Boot-Info November 20th 2012]
- ============================= Boot Info Summary: ===============================
- => Grub2 (v1.99) is installed in the MBR of /dev/sda and looks at sector 1 of
- the same hard drive for core.img. core.img is at this location and looks
- for (,msdos1)/boot/grub on this drive.
- => Grub2 (v1.99) is installed in the MBR of /dev/sdb and looks at sector 1 of
- the same hard drive for core.img. core.img is at this location and looks
- in partition 1 for /boot/grub.
- sda1: __________________________________________________________________________
- File system: ext3
- Boot sector type: Grub Legacy
- Boot sector info: Grub Legacy (v0.97) is installed in the boot sector
- of sda1 and looks at sector 5512831 of the same hard
- drive for the stage2 file. A stage2 file is at this
- location on /dev/sda. Stage2 looks on partition #1
- for /boot/grub/menu.lst.
- Operating System: Ubuntu 12.04.1 LTS
- Boot files: /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img
- sda2: __________________________________________________________________________
- File system: swap
- Boot sector type: -
- Boot sector info:
- sda3: __________________________________________________________________________
- File system: ext3
- Boot sector type: -
- Boot sector info:
- Operating System:
- Boot files:
- sda4: __________________________________________________________________________
- File system: Extended Partition
- Boot sector type: -
- Boot sector info:
- sda5: __________________________________________________________________________
- File system: ext3
- Boot sector type: -
- Boot sector info:
- Operating System:
- Boot files:
- sda6: __________________________________________________________________________
- File system: ext3
- Boot sector type: -
- Boot sector info:
- Operating System:
- Boot files:
- sda7: __________________________________________________________________________
- File system: ntfs
- Boot sector type: Windows Vista/7: NTFS
- Boot sector info: No errors found in the Boot Parameter Block.
- Operating System:
- Boot files:
- sda8: __________________________________________________________________________
- File system: ext3
- Boot sector type: -
- Boot sector info:
- Operating System:
- Boot files:
- sda9: __________________________________________________________________________
- File system: ext3
- Boot sector type: -
- Boot sector info:
- Operating System:
- Boot files:
- sdb1: __________________________________________________________________________
- File system: Extended Partition
- Boot sector type: -
- Boot sector info:
- sdb5: __________________________________________________________________________
- File system: ext3
- Boot sector type: -
- Boot sector info:
- Operating System:
- Boot files:
- ============================ Drive/Partition Info: =============================
- Drive: sda _____________________________________________________________________
- Disk /dev/sda: 1000.2 GB, 1000203804160 bytes
- 255 heads, 63 sectors/track, 121601 cylinders, total 1953523055 sectors
- Units = sectors of 1 * 512 = 512 bytes
- Sector size (logical/physical): 512 bytes / 512 bytes
- Partition Boot Start Sector End Sector # of Sectors Id System
- /dev/sda1 63 102,398,309 102,398,247 83 Linux
- /dev/sda2 102,398,310 110,318,354 7,920,045 82 Linux swap / Solaris
- /dev/sda3 * 110,318,355 929,520,899 819,202,545 83 Linux
- /dev/sda4 929,520,900 1,953,520,064 1,023,999,165 5 Extended
- /dev/sda5 929,520,963 980,720,054 51,199,092 83 Linux
- /dev/sda6 980,720,118 1,001,202,929 20,482,812 83 Linux
- /dev/sda7 1,001,202,993 1,021,685,804 20,482,812 7 NTFS / exFAT / HPFS
- /dev/sda8 1,021,685,868 1,840,888,349 819,202,482 83 Linux
- /dev/sda9 1,840,888,413 1,953,520,064 112,631,652 83 Linux
- Drive: sdb _____________________________________________________________________
- Disk /dev/sdb: 500.1 GB, 500106780160 bytes
- 255 heads, 63 sectors/track, 60801 cylinders, total 976771055 sectors
- Units = sectors of 1 * 512 = 512 bytes
- Sector size (logical/physical): 512 bytes / 512 bytes
- Partition Boot Start Sector End Sector # of Sectors Id System
- /dev/sdb1 63 976,768,064 976,768,002 5 Extended
- /dev/sdb5 126 976,768,064 976,767,939 83 Linux
- "blkid" output: ________________________________________________________________
- Device UUID TYPE LABEL
- /dev/loop0 squashfs
- /dev/sda1 a5e6c540-e1b3-46a2-bb1a-914c1ed4caff ext3 Systeme
- /dev/sda2 dda0cb11-7dda-4017-ac99-c7a50214269d swap
- /dev/sda3 259534d1-21c2-4400-8e99-f898b1fc6573 ext3 home
- /dev/sda5 1326b6d5-97e7-4ad8-a3a9-e4f5982ba1da ext3 Sites
- /dev/sda6 262acaf0-1d8b-44e8-b230-8ae2b0ff21ea ext3 tmp
- /dev/sda7 2715A5C332343536 ntfs Mails
- /dev/sda8 1c272295-8ab5-4ede-b69e-cd6f3601e486 ext3 Stockage
- /dev/sda9 1f6962b7-5955-4bfe-a2fb-6e92f828b08f ext3 usr
- /dev/sdb5 c8080319-3730-4865-83c0-44306ccc4320 ext3 sdb1
- ================================ Mount points: =================================
- Device Mount_Point Type Options
- /dev/sr0 /live/image iso9660 (ro,noatime)
- =========================== sda1/boot/grub/grub.cfg: ===========================
- --------------------------------------------------------------------------------
- #
- # DO NOT EDIT THIS FILE
- #
- # It is automatically generated by grub-mkconfig using templates
- # from /etc/grub.d and settings from /etc/default/grub
- #
- ### BEGIN /etc/grub.d/00_header ###
- if [ -s $prefix/grubenv ]; then
- set have_grubenv=true
- load_env
- fi
- set default="0"
- if [ "${prev_saved_entry}" ]; then
- set saved_entry="${prev_saved_entry}"
- save_env saved_entry
- set prev_saved_entry=
- save_env prev_saved_entry
- set boot_once=true
- fi
- function savedefault {
- if [ -z "${boot_once}" ]; then
- saved_entry="${chosen}"
- save_env saved_entry
- fi
- }
- function recordfail {
- set recordfail=1
- if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
- }
- function load_video {
- insmod vbe
- insmod vga
- insmod video_bochs
- insmod video_cirrus
- }
- insmod part_msdos
- insmod ext2
- set root='(hd0,msdos9)'
- search --no-floppy --fs-uuid --set=root 1f6962b7-5955-4bfe-a2fb-6e92f828b08f
- if loadfont /share/grub/unicode.pf2 ; then
- set gfxmode=auto
- load_video
- insmod gfxterm
- insmod part_msdos
- insmod ext2
- set root='(hd0,msdos1)'
- search --no-floppy --fs-uuid --set=root a5e6c540-e1b3-46a2-bb1a-914c1ed4caff
- set locale_dir=($root)/boot/grub/locale
- set lang=en_US
- insmod gettext
- fi
- terminal_output gfxterm
- if [ "${recordfail}" = 1 ]; then
- set timeout=10
- else
- set timeout=10
- fi
- ### END /etc/grub.d/00_header ###
- ### BEGIN /etc/grub.d/05_debian_theme ###
- set menu_color_normal=white/black
- set menu_color_highlight=black/light-gray
- if background_color 44,0,30; then
- clear
- fi
- ### END /etc/grub.d/05_debian_theme ###
- ### BEGIN /etc/grub.d/10_linux ###
- function gfxmode {
- set gfxpayload="${1}"
- if [ "${1}" = "keep" ]; then
- set vt_handoff=vt.handoff=7
- else
- set vt_handoff=
- fi
- }
- if [ "${recordfail}" != 1 ]; then
- if [ -e ${prefix}/gfxblacklist.txt ]; then
- if hwmatch ${prefix}/gfxblacklist.txt 3; then
- if [ ${match} = 0 ]; then
- set linux_gfx_mode=keep
- else
- set linux_gfx_mode=text
- fi
- else
- set linux_gfx_mode=text
- fi
- else
- set linux_gfx_mode=keep
- fi
- else
- set linux_gfx_mode=text
- fi
- export linux_gfx_mode
- if [ "${linux_gfx_mode}" != "text" ]; then load_video; fi
- menuentry 'Ubuntu, with Linux 3.2.0-35-generic-pae' --class ubuntu --class gnu-linux --class gnu --class os {
- recordfail
- gfxmode $linux_gfx_mode
- insmod gzio
- insmod part_msdos
- insmod ext2
- set root='(hd0,msdos1)'
- search --no-floppy --fs-uuid --set=root a5e6c540-e1b3-46a2-bb1a-914c1ed4caff
- linux /boot/vmlinuz-3.2.0-35-generic-pae root=UUID=a5e6c540-e1b3-46a2-bb1a-914c1ed4caff ro quiet splash $vt_handoff
- initrd /boot/initrd.img-3.2.0-35-generic-pae
- }
- menuentry 'Ubuntu, with Linux 3.2.0-35-generic-pae (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
- recordfail
- insmod gzio
- insmod part_msdos
- insmod ext2
- set root='(hd0,msdos1)'
- search --no-floppy --fs-uuid --set=root a5e6c540-e1b3-46a2-bb1a-914c1ed4caff
- echo 'Loading Linux 3.2.0-35-generic-pae ...'
- linux /boot/vmlinuz-3.2.0-35-generic-pae root=UUID=a5e6c540-e1b3-46a2-bb1a-914c1ed4caff ro recovery nomodeset
- echo 'Loading initial ramdisk ...'
- initrd /boot/initrd.img-3.2.0-35-generic-pae
- }
- submenu "Previous Linux versions" {
- menuentry 'Ubuntu, with Linux 3.2.0-35-generic' --class ubuntu --class gnu-linux --class gnu --class os {
- recordfail
- gfxmode $linux_gfx_mode
- insmod gzio
- insmod part_msdos
- insmod ext2
- set root='(hd0,msdos1)'
- search --no-floppy --fs-uuid --set=root a5e6c540-e1b3-46a2-bb1a-914c1ed4caff
- linux /boot/vmlinuz-3.2.0-35-generic root=UUID=a5e6c540-e1b3-46a2-bb1a-914c1ed4caff ro quiet splash $vt_handoff
- initrd /boot/initrd.img-3.2.0-35-generic
- }
- menuentry 'Ubuntu, with Linux 3.2.0-35-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
- recordfail
- insmod gzio
- insmod part_msdos
- insmod ext2
- set root='(hd0,msdos1)'
- search --no-floppy --fs-uuid --set=root a5e6c540-e1b3-46a2-bb1a-914c1ed4caff
- echo 'Loading Linux 3.2.0-35-generic ...'
- linux /boot/vmlinuz-3.2.0-35-generic root=UUID=a5e6c540-e1b3-46a2-bb1a-914c1ed4caff ro recovery nomodeset
- echo 'Loading initial ramdisk ...'
- initrd /boot/initrd.img-3.2.0-35-generic
- }
- menuentry 'Ubuntu, with Linux 2.6.32-29-generic' --class ubuntu --class gnu-linux --class gnu --class os {
- recordfail
- gfxmode $linux_gfx_mode
- insmod gzio
- insmod part_msdos
- insmod ext2
- set root='(hd0,msdos1)'
- search --no-floppy --fs-uuid --set=root a5e6c540-e1b3-46a2-bb1a-914c1ed4caff
- linux /boot/vmlinuz-2.6.32-29-generic root=UUID=a5e6c540-e1b3-46a2-bb1a-914c1ed4caff ro quiet splash $vt_handoff
- initrd /boot/initrd.img-2.6.32-29-generic
- }
- menuentry 'Ubuntu, with Linux 2.6.32-29-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
- recordfail
- insmod gzio
- insmod part_msdos
- insmod ext2
- set root='(hd0,msdos1)'
- search --no-floppy --fs-uuid --set=root a5e6c540-e1b3-46a2-bb1a-914c1ed4caff
- echo 'Loading Linux 2.6.32-29-generic ...'
- linux /boot/vmlinuz-2.6.32-29-generic root=UUID=a5e6c540-e1b3-46a2-bb1a-914c1ed4caff ro recovery nomodeset
- echo 'Loading initial ramdisk ...'
- initrd /boot/initrd.img-2.6.32-29-generic
- }
- }
- ### END /etc/grub.d/10_linux ###
- ### BEGIN /etc/grub.d/20_linux_xen ###
- ### END /etc/grub.d/20_linux_xen ###
- ### BEGIN /etc/grub.d/30_os-prober ###
- ### END /etc/grub.d/30_os-prober ###
- ### BEGIN /etc/grub.d/30_uefi-firmware ###
- ### END /etc/grub.d/30_uefi-firmware ###
- ### BEGIN /etc/grub.d/40_custom ###
- # This file provides an easy way to add custom menu entries. Simply type the
- # menu entries you want to add after this comment. Be careful not to change
- # the 'exec tail' line above.
- ### END /etc/grub.d/40_custom ###
- ### BEGIN /etc/grub.d/41_custom ###
- if [ -f $prefix/custom.cfg ]; then
- source $prefix/custom.cfg;
- fi
- ### END /etc/grub.d/41_custom ###
- --------------------------------------------------------------------------------
- =============================== sda1/etc/fstab: ================================
- --------------------------------------------------------------------------------
- UUID=259534d1-21c2-4400-8e99-f898b1fc6573 /home ext3 defaults 0 2
- UUID=dda0cb11-7dda-4017-ac99-c7a50214269d swap swap sw 0 0
- UUID=1326b6d5-97e7-4ad8-a3a9-e4f5982ba1da /media/sites ext3 defaults 0 2
- UUID=a5e6c540-e1b3-46a2-bb1a-914c1ed4caff / ext3 defaults 0 1
- UUID=2715A5C332343536 /media/Mails ntfs-3g defaults 0 0
- UUID=1c272295-8ab5-4ede-b69e-cd6f3601e486 /home/sylvain/stockage ext3 defaults 0 2
- #UUID=1f6962b7-5955-4bfe-a2fb-6e92f828b08f /usr ext3 defaults 0 2
- # //192.168.1.30/memup80 /mnt/disk cifs _netdev,guest 0 0 EXEMPLE voir http://forum.ubuntu-fr.org/viewtopic.php?pid=10009891#p10009891
- # //192.168.1.50/disque /media/nas cifs noauto,rw,_netdev,user,credentials=/root/.smbcredentials 0 0
- # Hubic, voir http://www.openwebtech.fr/2012/01/08/hubic-is-your-friend-on-linux-with-davfs2/
- # https://cloudnas1.ovh.com/ed4f6f9344c9b2cebca156db9ff0eeb4/ /media/hubic davfs noauto,rw,_netdev,user,gid=davfs2,credentials=/root/.hubiccredentials 0 0
- # //192.168.1.50/disque /media/nas cifs _netdev,guest 0 0
- # https://cloudnas1.ovh.com/ed4f6f9344c9b2cebca156db9ff0eeb4/ /media/hubic davfs user,rw,noauto 0 0
- # mount point for Acer Iconia A500
- # mtpfs /media/a500 fuse user,noauto,allow_other 0 0
- UUID=1f6962b7-5955-4bfe-a2fb-6e92f828b08f /usr ext3 defaults 0 2
- --------------------------------------------------------------------------------
- =================== sda1: Location of files loaded by Grub: ====================
- GiB - GB File Fragment(s)
- 2.323840618 = 2.495204864 boot/grub/core.img 1
- 2.312652111 = 2.483191296 boot/grub/grub.cfg 1
- 14.529147625 = 15.600553472 boot/initrd.img-2.6.32-29-generic 19
- 3.314532757 = 3.558952448 boot/initrd.img-3.2.0-35-generic 67
- 14.729030132 = 15.815175680 boot/initrd.img-3.2.0-35-generic-pae 89
- 2.631030560 = 2.825047552 boot/vmlinuz-2.6.32-29-generic 5
- 3.660705090 = 3.930652160 boot/vmlinuz-3.2.0-35-generic 447
- 12.402877331 = 13.317488128 boot/vmlinuz-3.2.0-35-generic-pae 7
- 12.402877331 = 13.317488128 vmlinuz 7
- 3.660705090 = 3.930652160 vmlinuz.old 447
- ========= Devices which don't seem to have a corresponding hard drive: =========
- sdc sdd sde sdf sdg sdh sdi sdj
- =============================== StdErr Messages: ===============================
- File descriptor 7 (pipe:[10184]) leaked on lvscan invocation. Parent PID 23333: bash
- File descriptor 8 (pipe:[10184]) leaked on lvscan invocation. Parent PID 23333: bash
- No volume groups found
- mdadm: No arrays found in config file or automatically
- ADDITIONAL INFORMATION :
- =================== log of boot-repair 2013-01-04__19h34 ===================
- boot-repair version : 3.195~ppa11~lucid
- boot-sav version : 3.195~ppa11~lucid
- glade2script-gtk2 version : 3.2.2~ppa45~lucid
- boot-sav-extra version : 3.195~ppa11~lucid
- File descriptor 7 (pipe:[10184]) leaked on lvs invocation. Parent PID 6537: /bin/sh
- File descriptor 8 (pipe:[10184]) leaked on lvs invocation. Parent PID 6537: /bin/sh
- No volume groups found
- boot-repair is executed in live-session (Boot-Repair-Disk 29nov2012, squeeze, Debian, i686)
- CPU op-mode(s): 32-bit, 64-bit
- initrd=/live/initrd.img boot=live config quiet BOOT_IMAGE=/live/vmlinuz
- =================== os-prober:
- /dev/sda1:Ubuntu 12.04.1 LTS (12.04):Ubuntu:linux
- =================== blkid:
- /dev/sda1: LABEL="Systeme" UUID="a5e6c540-e1b3-46a2-bb1a-914c1ed4caff" SEC_TYPE="ext2" TYPE="ext3"
- /dev/sda2: UUID="dda0cb11-7dda-4017-ac99-c7a50214269d" TYPE="swap"
- /dev/sda3: LABEL="home" UUID="259534d1-21c2-4400-8e99-f898b1fc6573" SEC_TYPE="ext2" TYPE="ext3"
- /dev/sda5: LABEL="Sites" UUID="1326b6d5-97e7-4ad8-a3a9-e4f5982ba1da" SEC_TYPE="ext2" TYPE="ext3"
- /dev/sda6: LABEL="tmp" UUID="262acaf0-1d8b-44e8-b230-8ae2b0ff21ea" SEC_TYPE="ext2" TYPE="ext3"
- /dev/sda7: LABEL="Mails" UUID="2715A5C332343536" TYPE="ntfs"
- /dev/sda8: LABEL="Stockage" UUID="1c272295-8ab5-4ede-b69e-cd6f3601e486" SEC_TYPE="ext2" TYPE="ext3"
- /dev/sda9: LABEL="usr" UUID="1f6962b7-5955-4bfe-a2fb-6e92f828b08f" SEC_TYPE="ext2" TYPE="ext3"
- /dev/sdb5: LABEL="sdb1" UUID="c8080319-3730-4865-83c0-44306ccc4320" SEC_TYPE="ext2" TYPE="ext3"
- /dev/loop0: TYPE="squashfs"
- 1 disks with OS, 1 OS : 1 Linux, 0 MacOS, 0 Windows, 0 unknown type OS.
- Warning: extended partition does not start at a cylinder boundary.
- DOS and Linux will interpret the contents differently.
- =================== sda1/etc/grub.d/ :
- drwxr-xr-x 2 root root 4096 Jan 4 14:31 grub.d
- total 60
- -rwxr-xr-x 1 root root 6743 Dec 10 12:16 00_header
- -rwxr-xr-x 1 root root 5522 Dec 10 12:02 05_debian_theme
- -rwxr-xr-x 1 root root 7780 Dec 10 12:16 10_linux
- -rwxr-xr-x 1 root root 6335 Dec 10 12:16 20_linux_xen
- -rwxr-xr-x 1 root root 1588 Nov 27 2011 20_memtest86+
- -rwxr-xr-x 1 root root 7603 Dec 10 12:16 30_os-prober
- -rwxr-xr-x 1 root root 1388 Dec 10 12:16 30_uefi-firmware
- -rwxr-xr-x 1 root root 214 Oct 24 2009 40_custom
- -rwxr-xr-x 1 root root 95 Dec 10 12:16 41_custom
- -rw-r--r-- 1 root root 483 Oct 24 2009 README
- No sda1/etc/default/grub
- /usr detected in the fstab of sda1: UUID=1f6962b7-5955-4bfe-a2fb-6e92f828b08f (sda9)
- /mnt/boot-sav/sda1/grub/menu.lst detected
- =================== UEFI/Legacy mode:
- This live-session is not EFI-compatible.
- SecureBoot maybe enabled.
- =================== PARTITIONS & DISKS:
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- sda : not-GPT, BIOSboot-not-needed, has-no-EFIpart, not-usb, has-os, 63 sectors * 512 bytes
- sdb : not-GPT, BIOSboot-not-needed, has-no-EFIpart, not-usb, no-os, 63 sectors * 512 bytes
- =================== parted -l:
- Model: ATA ST31000340AS (scsi)
- Disk /dev/sda: 1000GB
- Sector size (logical/physical): 512B/512B
- Partition Table: msdos
- Number Start End Size Type File system Flags
- 1 32.3kB 52.4GB 52.4GB primary ext3
- 2 52.4GB 56.5GB 4055MB primary linux-swap(v1)
- 3 56.5GB 476GB 419GB primary ext3
- 4 476GB 1000GB 524GB extended
- 5 476GB 502GB 26.2GB logical ext3
- 6 502GB 513GB 10.5GB logical ext3
- 7 513GB 523GB 10.5GB logical ntfs
- 8 523GB 943GB 419GB logical ext3
- 9 943GB 1000GB 57.7GB logical ext3
- Model: ATA ST3500320AS (scsi)
- Disk /dev/sdb: 500GB
- Sector size (logical/physical): 512B/512B
- Partition Table: msdos
- Number Start End Size Type File system Flags
- 1 32.3kB 500GB 500GB extended
- 5 64.5kB 500GB 500GB logical ext3
- Warning: Unable to open /dev/sr0 read-write (Read-only file system). /dev/sr0
- has been opened read-only.
- Error: /dev/sr0: unrecognised disk label
- =================== parted -lm:
- BYT;
- /dev/sda:1000GB:scsi:512:512:msdos:ATA ST31000340AS;
- 1:32.3kB:52.4GB:52.4GB:ext3::;
- 2:52.4GB:56.5GB:4055MB:linux-swap(v1)::;
- 3:56.5GB:476GB:419GB:ext3::;
- 4:476GB:1000GB:524GB:::;
- 5:476GB:502GB:26.2GB:ext3::;
- 6:502GB:513GB:10.5GB:ext3::;
- 7:513GB:523GB:10.5GB:ntfs::;
- 8:523GB:943GB:419GB:ext3::;
- 9:943GB:1000GB:57.7GB:ext3::;
- BYT;
- /dev/sdb:500GB:scsi:512:512:msdos:ATA ST3500320AS;
- 1:32.3kB:500GB:500GB:::;
- 5:64.5kB:500GB:500GB:ext3::;
- Warning: Unable to open /dev/sr0 read-write (Read-only file system). /dev/sr0
- has been opened read-only.
- Error: /dev/sr0: unrecognised disk label
- =================== mount:
- aufs on / type aufs (rw)
- tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
- proc on /proc type proc (rw,noexec,nosuid,nodev)
- sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
- udev on /dev type tmpfs (rw,mode=0755)
- tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
- devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
- /dev/sr0 on /live/image type iso9660 (ro,noatime)
- tmpfs on /live/cow type tmpfs (rw,noatime,mode=755)
- tmpfs on /live type tmpfs (rw,relatime)
- tmpfs on /tmp type tmpfs (rw,nosuid,nodev)
- fusectl on /sys/fs/fuse/connections type fusectl (rw)
- /dev/sda1 on /mnt/boot-sav/sda1 type ext3 (rw)
- /dev/sda3 on /mnt/boot-sav/sda3 type ext3 (rw)
- /dev/sda5 on /mnt/boot-sav/sda5 type ext3 (rw)
- /dev/sda6 on /mnt/boot-sav/sda6 type ext3 (rw)
- /dev/sda7 on /mnt/boot-sav/sda7 type fuseblk (rw,allow_other,blksize=4096)
- /dev/sda8 on /mnt/boot-sav/sda8 type ext3 (rw)
- /dev/sda9 on /mnt/boot-sav/sda9 type ext3 (rw)
- /dev/sdb5 on /mnt/boot-sav/sdb5 type ext3 (rw)
- =================== ls:
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- ls /dev/md:
- =================== df -Th:
- Filesystem Type Size Used Avail Use% Mounted on
- aufs aufs 1.8G 7.4M 1.8G 1% /
- tmpfs tmpfs 1.8G 0 1.8G 0% /lib/init/rw
- udev tmpfs 1.8G 284K 1.8G 1% /dev
- tmpfs tmpfs 1.8G 0 1.8G 0% /dev/shm
- /dev/sr0 iso9660 340M 340M 0 100% /live/image
- tmpfs tmpfs 1.8G 7.4M 1.8G 1% /live/cow
- tmpfs tmpfs 1.8G 0 1.8G 0% /live
- tmpfs tmpfs 1.8G 8.0K 1.8G 1% /tmp
- /dev/sda1 ext3 49G 19G 28G 41% /mnt/boot-sav/sda1
- /dev/sda3 ext3 388G 152G 217G 42% /mnt/boot-sav/sda3
- /dev/sda5 ext3 25G 5.7G 18G 25% /mnt/boot-sav/sda5
- /dev/sda6 ext3 9.7G 151M 9.0G 2% /mnt/boot-sav/sda6
- /dev/sda7 fuseblk 9.8G 1.6G 8.2G 17% /mnt/boot-sav/sda7
- /dev/sda8 ext3 385G 319G 47G 88% /mnt/boot-sav/sda8
- /dev/sda9 ext3 53G 12G 39G 24% /mnt/boot-sav/sda9
- /dev/sdb5 ext3 459G 304G 132G 70% /mnt/boot-sav/sdb5
- =================== fdisk -l:
- Disk /dev/sda: 1000.2 GB, 1000203804160 bytes
- 255 heads, 63 sectors/track, 121601 cylinders
- Units = cylinders of 16065 * 512 = 8225280 bytes
- Sector size (logical/physical): 512 bytes / 512 bytes
- I/O size (minimum/optimal): 512 bytes / 512 bytes
- Disk identifier: 0x98899889
- Device Boot Start End Blocks Id System
- /dev/sda1 1 6374 51199123+ 83 Linux
- /dev/sda2 6375 6867 3960022+ 82 Linux swap / Solaris
- /dev/sda3 6868 57860 409601272+ 83 Linux
- /dev/sda4 57861 121601 511999582+ 5 Extended
- /dev/sda5 57861 61047 25599546 83 Linux
- /dev/sda6 61048 62322 10241406 83 Linux
- /dev/sda7 62323 63597 10241406 7 HPFS/NTFS
- /dev/sda8 63598 114590 409601241 83 Linux
- /dev/sda9 114591 121601 56315826 83 Linux
- Disk /dev/sdb: 500.1 GB, 500106780160 bytes
- 255 heads, 63 sectors/track, 60801 cylinders
- Units = cylinders of 16065 * 512 = 8225280 bytes
- Sector size (logical/physical): 512 bytes / 512 bytes
- I/O size (minimum/optimal): 512 bytes / 512 bytes
- Disk identifier: 0x000221f7
- Device Boot Start End Blocks Id System
- /dev/sdb1 1 60801 488384001 5 Extended
- /dev/sdb5 1 60801 488383969+ 83 Linux
- =================== Recommended repair
- Recommended-Repair
- 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,
- The boot flag will be placed on sda3.
- Additional repair will be performed: unhide-bootmenu-10s
- parted /dev/sda set 3 boot on
- Information: You may need to update /etc/fstab.
- sda1/fstab changed for /usr
- mount: special device /run does not exist
- Mount sda9 on /mnt/boot-sav/sda1/usr
- chroot /mnt/boot-sav/sda1 apt-get -y --force-yes update
- W: Failed to fetch http://ppa.launchpad.net/akirad/akirad/ubuntu/dists/precise/main/binary-i386/Packages 404 Not Found
- W: Failed to fetch http://ppa.launchpad.net/akirad/ppa/ubuntu/dists/precise/main/binary-i386/Packages 404 Not Found
- E: Some index files failed to download. They have been ignored, or old ones used instead.
- Purge the GRUB of sda1
- cp: cannot stat `/mnt/boot-sav/sda1/etc/default/grub': No such file or directory
- 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)
- W: You may want to run apt-get update to correct these problems
- grub-pc available
- The following packages were automatically installed and are no longer required:
- tesseract-ocr-equ libkldap4 libktnef4 libcolamd2.7.1 chromium-bsu lp-solve
- tesseract-ocr libkpimtextedit4 libkcalutils4 libkimproxy4
- libgoffice-0.8-8-common tesseract-ocr-osd libmicroblog4 kdelibs5
- libkxmlrpcclient4 libchm1 akonadi-backend-mysql libkalarmcal2
- gnumeric-common create-resources libwebp2 gnumeric-doc libmono-cairo2.0-cil
- fonts-uralic libgoffice-0.8-8 libtesseract3 libkcalcore4 libqgpgme1
- libmailtransport4 libakonadi-kde4 libkabc4 ttf-uralic libkresources4
- libkpimutils4 chromium-bsu-data libkprintutils4 libtaglib2.0-cil
- libleptonica libkrossui4 libkpimidentities4 libkcal4 libknewstuff2-4
- libkblog4 libkimap4 kdepimlibs5 libkmime4 libavahi1.0-cil libakonadi-kabc4
- libkholidays4 gnumeric akonadi-server libakonadiprotocolinternals1
- libsyndication4 libakonadi-kmime4 kdepimlibs-kio-plugins libkutils4
- libgpgme++2 tesseract-ocr-eng
- Use 'apt-get autoremove' to remove them.
- The following extra packages will be installed:
- grub-gfxpayload-lists grub-pc-bin grub2-common
- Suggested packages:
- desktop-base
- The following packages will be REMOVED:
- grub
- The following NEW packages will be installed:
- grub-gfxpayload-lists grub-pc grub-pc-bin grub2-common
- 0 upgraded, 4 newly installed, 1 to remove and 1 not upgraded.
- DEBCHECK debOK, grub-pc
- DEBCHECK debOK
- shim-signed NOT available (apt-cache policy problem)
- linux-signed-generic NOT available (apt-cache policy problem)
- 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
- =================== sda1/etc/grub.d/ :
- drwxr-xr-x 2 root root 4096 Jan 4 19:36 grub.d
- total 4
- -rwxr-xr-x 1 root root 1588 Nov 27 2011 20_memtest86+
- /usr detected in the fstab of sda1: UUID=1f6962b7-5955-4bfe-a2fb-6e92f828b08f (sda9)
- /mnt/boot-sav/sda1/grub/menu.lst detected
- Then type: sudo chroot "/mnt/boot-sav/sda1" apt-get install -y --force-yes grub-pc
- =================== sda1/etc/default/grub :
- # If you change this file, run 'update-grub' afterwards to update
- # /boot/grub/grub.cfg.
- # For full documentation of the options in this file, see:
- # info -f grub -n 'Simple configuration'
- GRUB_DEFAULT=0
- GRUB_HIDDEN_TIMEOUT=0
- GRUB_HIDDEN_TIMEOUT_QUIET=true
- GRUB_TIMEOUT=10
- GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
- GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
- GRUB_CMDLINE_LINUX=""
- # Uncomment to enable BadRAM filtering, modify to suit your needs
- # This works with Linux (no patch required) and with any kernel that obtains
- # the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
- #GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
- # Uncomment to disable graphical terminal (grub-pc only)
- #GRUB_TERMINAL=console
- # The resolution used on graphical terminal
- # note that you can use only modes which your graphic card supports via VBE
- # you can see them in real GRUB with the command `vbeinfo'
- #GRUB_GFXMODE=640x480
- # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
- #GRUB_DISABLE_LINUX_UUID=true
- # Uncomment to disable generation of recovery mode menu entries
- #GRUB_DISABLE_RECOVERY="true"
- # Uncomment to get a beep at grub start
- #GRUB_INIT_TUNE="480 440 1"
- =================== sda1/etc/grub.d/ :
- drwxr-xr-x 2 root root 4096 Jan 4 19:37 grub.d
- drwxr-xr-x 2 root root 4096 Jan 4 19:36 grub.d.bak
- total 56
- -rwxr-xr-x 1 root root 6743 Dec 10 12:16 00_header
- -rwxr-xr-x 1 root root 5522 Dec 10 12:02 05_debian_theme
- -rwxr-xr-x 1 root root 7780 Dec 10 12:16 10_linux
- -rwxr-xr-x 1 root root 6335 Dec 10 12:16 20_linux_xen
- -rwxr-xr-x 1 root root 7603 Dec 10 12:16 30_os-prober
- -rwxr-xr-x 1 root root 1388 Dec 10 12:16 30_uefi-firmware
- -rwxr-xr-x 1 root root 214 Dec 10 12:16 40_custom
- -rwxr-xr-x 1 root root 95 Dec 10 12:16 41_custom
- -rw-r--r-- 1 root root 483 Dec 10 12:16 README
- /usr detected in the fstab of sda1: UUID=1f6962b7-5955-4bfe-a2fb-6e92f828b08f (sda9)
- Unhide GRUB boot menu in sda1/etc/default/grub
- =================== sda1/etc/default/grub :
- # If you change this file, run 'update-grub' afterwards to update
- # /boot/grub/grub.cfg.
- # For full documentation of the options in this file, see:
- # info -f grub -n 'Simple configuration'
- GRUB_DEFAULT=0
- #GRUB_HIDDEN_TIMEOUT=0
- GRUB_HIDDEN_TIMEOUT_QUIET=true
- GRUB_TIMEOUT=10
- GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
- GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
- GRUB_CMDLINE_LINUX=""
- # Uncomment to enable BadRAM filtering, modify to suit your needs
- # This works with Linux (no patch required) and with any kernel that obtains
- # the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
- #GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
- # Uncomment to disable graphical terminal (grub-pc only)
- #GRUB_TERMINAL=console
- # The resolution used on graphical terminal
- # note that you can use only modes which your graphic card supports via VBE
- # you can see them in real GRUB with the command `vbeinfo'
- #GRUB_GFXMODE=640x480
- # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
- #GRUB_DISABLE_LINUX_UUID=true
- # Uncomment to disable generation of recovery mode menu entries
- #GRUB_DISABLE_RECOVERY="true"
- # Uncomment to get a beep at grub start
- #GRUB_INIT_TUNE="480 440 1"
- =================== sda1/etc/grub.d/ :
- drwxr-xr-x 2 root root 4096 Jan 4 19:37 grub.d
- drwxr-xr-x 2 root root 4096 Jan 4 19:36 grub.d.bak
- total 56
- -rwxr-xr-x 1 root root 6743 Dec 10 12:16 00_header
- -rwxr-xr-x 1 root root 5522 Dec 10 12:02 05_debian_theme
- -rwxr-xr-x 1 root root 7780 Dec 10 12:16 10_linux
- -rwxr-xr-x 1 root root 6335 Dec 10 12:16 20_linux_xen
- -rwxr-xr-x 1 root root 7603 Dec 10 12:16 30_os-prober
- -rwxr-xr-x 1 root root 1388 Dec 10 12:16 30_uefi-firmware
- -rwxr-xr-x 1 root root 214 Dec 10 12:16 40_custom
- -rwxr-xr-x 1 root root 95 Dec 10 12:16 41_custom
- -rw-r--r-- 1 root root 483 Dec 10 12:16 README
- /usr detected in the fstab of sda1: UUID=1f6962b7-5955-4bfe-a2fb-6e92f828b08f (sda9)
- Reinstall the GRUB of sda1 into all MBRs of disks with OS or not-USB
- grub-install (GRUB) 1.99-21ubuntu3.7,grub-install (GRUB) 1.
- Reinstall the GRUB of sda1 into the MBR of sdb
- grub-install /dev/sdb: Installation finished. No error reported.
- exit code of grub-install /dev/sdb:0
- grub-install (GRUB) 1.99-21ubuntu3.7,grub-install (GRUB) 1.
- Reinstall the GRUB of sda1 into the MBR of sda
- grub-install /dev/sda: Installation finished. No error reported.
- exit code of grub-install /dev/sda:0
- chroot /mnt/boot-sav/sda1 update-grub
- Generating grub.cfg ...
- Found linux image: /boot/vmlinuz-3.2.0-35-generic-pae
- Found initrd image: /boot/initrd.img-3.2.0-35-generic-pae
- Found linux image: /boot/vmlinuz-3.2.0-35-generic
- Found initrd image: /boot/initrd.img-3.2.0-35-generic
- Found linux image: /boot/vmlinuz-2.6.32-29-generic
- Found initrd image: /boot/initrd.img-2.6.32-29-generic
- umount: /mnt/boot-sav/sda1/run: not mounted
- Unhide GRUB boot menu in sda1/boot/grub/grub.cfg
- Boot successfully repaired.
- You can now reboot your computer.
- Please do not forget to make your BIOS boot on sda (1000GB) disk!