Boot Info Script 0.55 dated February 15th, 2010 ============================= Boot Info Summary: ============================== => Grub 2 is installed in the MBR of /dev/sda and looks for cfsyn. => Grub 2 is installed in the MBR of /dev/sdb and looks for cfd. sda1: _________________________________________________________________________ File system: ntfs Boot sector type: Windows Vista/7 Boot sector info: No errors found in the Boot Parameter Block. Operating System: Windows 7 Boot files/dirs: /bootmgr /Boot/BCD /Windows/System32/winload.exe /grldr sda2: _________________________________________________________________________ File system: ntfs Boot sector type: Windows Vista/7 Boot sector info: According to the info in the boot sector, sda2 has 122881184 sectors, but according to the info from fdisk, it has 122093999 sectors. Mounting failed: Failed to read last sector (122881184): Invalid argument HINTS: Either the volume is a RAID/LDM but it wasn't setup yet, or it was not setup correctly (e.g. by not using mdadm --build ...), or a wrong device is tried to be mounted, or the partition table is corrupt (partition is smaller than NTFS), or the NTFS boot sector is corrupt (NTFS size is not valid). Failed to mount '/dev/sda2': Invalid argument The device '/dev/sda2' doesn't seem to have a valid NTFS. Maybe the wrong device is used? Or the whole disk instead of a partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around? Failed to read last sector (122881184): Invalid argument HINTS: Either the volume is a RAID/LDM but it wasn't setup yet, or it was not setup correctly (e.g. by not using mdadm --build ...), or a wrong device is tried to be mounted, or the partition table is corrupt (partition is smaller than NTFS), or the NTFS boot sector is corrupt (NTFS size is not valid). Failed to mount '/dev/sda2': Invalid argument The device '/dev/sda2' doesn't seem to have a valid NTFS. Maybe the wrong device is used? Or the whole disk instead of a partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around? sda3: _________________________________________________________________________ File system: ntfs Boot sector type: Windows Vista/7 Boot sector info: No errors found in the Boot Parameter Block. Operating System: Boot files/dirs: sda4: _________________________________________________________________________ File system: Extended Partition Boot sector type: - Boot sector info: sda5: _________________________________________________________________________ File system: swap Boot sector type: - Boot sector info: sda6: _________________________________________________________________________ File system: ext4 Boot sector type: - Boot sector info: Operating System: Ubuntu 10.10 Boot files/dirs: /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img sdb1: _________________________________________________________________________ File system: ext4 Boot sector type: - Boot sector info: Operating System: Ubuntu 10.10 Boot files/dirs: /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img sdb2: _________________________________________________________________________ File system: Extended Partition Boot sector type: - Boot sector info: sdb5: _________________________________________________________________________ File system: swap Boot sector type: - Boot sector info: sdb6: _________________________________________________________________________ File system: ntfs Boot sector type: Windows Vista/7 Boot sector info: No errors found in the Boot Parameter Block. Operating System: Boot files/dirs: sdb3: _________________________________________________________________________ File system: Boot sector type: Grub Boot sector info: Grub 0.97 is installed in the boot sector of sdb3 and looks at sector 125837195 of the same hard drive for the stage2 file. A stage2 file is at this location on /dev/sdb. Stage2 looks on partition #3 for /boot/grub/menu.lst. Mounting failed: Failed to read last sector (122881184): Invalid argument HINTS: Either the volume is a RAID/LDM but it wasn't setup yet, or it was not setup correctly (e.g. by not using mdadm --build ...), or a wrong device is tried to be mounted, or the partition table is corrupt (partition is smaller than NTFS), or the NTFS boot sector is corrupt (NTFS size is not valid). Failed to mount '/dev/sda2': Invalid argument The device '/dev/sda2' doesn't seem to have a valid NTFS. Maybe the wrong device is used? Or the whole disk instead of a partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around? Failed to read last sector (122881184): Invalid argument HINTS: Either the volume is a RAID/LDM but it wasn't setup yet, or it was not setup correctly (e.g. by not using mdadm --build ...), or a wrong device is tried to be mounted, or the partition table is corrupt (partition is smaller than NTFS), or the NTFS boot sector is corrupt (NTFS size is not valid). Failed to mount '/dev/sda2': Invalid argument The device '/dev/sda2' doesn't seem to have a valid NTFS. Maybe the wrong device is used? Or the whole disk instead of a partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around? mount: unknown filesystem type '' sdb4: _________________________________________________________________________ File system: ntfs Boot sector type: Windows Vista/7 Boot sector info: No errors found in the Boot Parameter Block. Operating System: Boot files/dirs: =========================== Drive/Partition Info: ============================= Drive: sda ___________________ _____________________________________________________ Disk /dev/sda: 250.1 GB, 250059350016 bytes 255 heads, 63 sectors/track, 30401 cylinders, total 488397168 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes Partition Boot Start End Size Id System /dev/sda1 63 61,432,559 61,432,497 7 HPFS/NTFS /dev/sda2 61,432,560 183,526,559 122,094,000 bf Solaris /dev/sda3 184,313,745 317,428,334 133,114,590 7 HPFS/NTFS /dev/sda4 317,429,758 488,392,064 170,962,307 5 Extended /dev/sda5 486,303,678 488,392,064 2,088,387 82 Linux swap / Solaris /dev/sda6 * 317,429,760 399,341,567 81,911,808 83 Linux Drive: sdb ___________________ _____________________________________________________ Disk /dev/sdb: 1000.2 GB, 1000204885504 bytes 255 heads, 63 sectors/track, 121601 cylinders, total 1953525167 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes Partition Boot Start End Size Id System /dev/sdb1 2,048 125,837,144 125,835,097 83 Linux /dev/sdb2 793,133,054 1,953,523,711 1,160,390,658 5 Extended /dev/sdb5 793,133,056 797,327,359 4,194,304 82 Linux swap / Solaris /dev/sdb6 797,329,408 1,953,523,711 1,156,194,304 7 HPFS/NTFS /dev/sdb3 * 125,837,145 230,692,863 104,855,719 bf Solaris /dev/sdb4 230,692,864 793,131,007 562,438,144 7 HPFS/NTFS blkid -c /dev/null: ____________________________________________________________ Device UUID TYPE LABEL /dev/sda1 199C2D9325B6AF71 ntfs /dev/sda2 4A54CF0B70C6EE96 ntfs Music /dev/sda3 3BDDF4457C3C405A ntfs Software /dev/sda4: PTTYPE="dos" /dev/sda5 a5444972-2dea-4bfe-aec7-b48426994250 swap /dev/sda6 9170712c-b76f-4363-b993-76c90d50b997 ext4 Ubuntu 10.10 /dev/sda7 4A54CF0B70C6EE96 ntfs Music /dev/sda: PTTYPE="dos" /dev/sdb1 67af37cd-7a2d-4472-99f9-4ecdd8f0e591 ext4 HD-Ubuntu /dev/sdb2: PTTYPE="dos" /dev/sdb3: PTTYPE="dos" /dev/sdb4 2FC50B747BFF0872 ntfs HD-Storage /dev/sdb5 8e716eeb-78c9-488b-a915-5e6a447c16c9 swap /dev/sdb6 4320F04C2F74781C ntfs HD-Harshit /dev/sdb7 zfs /dev/sdb: PTTYPE="dos" error: /dev/sdc: No medium found ============================ "mount | grep ^/dev output: =========================== Device Mount_Point Type Options /dev/sda6 / ext4 (rw,errors=remount-ro,commit=0) /dev/sdb1 /media/HD-Ubuntu ext4 (rw,nosuid,nodev,uhelper=udisks) /dev/sdb4 /media/HD-Storage fuseblk (rw,nosuid,nodev,allow_other,blksize=4096,default_permissions) /dev/sdb6 /media/HD-Harshit fuseblk (rw,nosuid,nodev,allow_other,blksize=4096,default_permissions) =========================== sda6/boot/grub/grub.cfg: =========================== # # DO NOT EDIT THIS FILE # # It is automatically generated by grub-mkconfig using templates # from /usr/local/etc/grub.d and settings from /usr/local/etc/default/grub # ### BEGIN /usr/local/etc/grub.d/00_header ### if [ -s $prefix/grubenv ]; then 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 load_video { insmod vbe insmod vga insmod video_bochs insmod video_cirrus } insmod part_msdos insmod ext2 set root='(hd0,msdos6)' search --no-floppy --fs-uuid --set=root 9170712c-b76f-4363-b993-76c90d50b997 if loadfont /usr/local/share/grub/unicode.pf2 ; then set gfxmode=640x480 load_video insmod gfxterm fi terminal_output gfxterm insmod part_msdos insmod ext2 set root='(hd0,msdos6)' search --no-floppy --fs-uuid --set=root 9170712c-b76f-4363-b993-76c90d50b997 set locale_dir=($root)/boot/grub/locale set lang=en_IN insmod gettext set timeout=5 ### END /usr/local/etc/grub.d/00_header ### ### BEGIN /usr/local/etc/grub.d/10_linux ### menuentry 'GNU/Linux, with Linux 2.6.35-24-generic' --class gnu-linux --class gnu --class os { load_video set gfxpayload=keep insmod part_msdos insmod ext2 set root='(hd0,msdos6)' search --no-floppy --fs-uuid --set=root 9170712c-b76f-4363-b993-76c90d50b997 echo 'Loading Linux 2.6.35-24-generic ...' linux /boot/vmlinuz-2.6.35-24-generic root=UUID=9170712c-b76f-4363-b993-76c90d50b997 ro echo 'Loading initial ramdisk ...' initrd /boot/initrd.img-2.6.35-24-generic } menuentry 'GNU/Linux, with Linux 2.6.35-24-generic (recovery mode)' --class gnu-linux --class gnu --class os { load_video set gfxpayload=keep insmod part_msdos insmod ext2 set root='(hd0,msdos6)' search --no-floppy --fs-uuid --set=root 9170712c-b76f-4363-b993-76c90d50b997 echo 'Loading Linux 2.6.35-24-generic ...' linux /boot/vmlinuz-2.6.35-24-generic root=UUID=9170712c-b76f-4363-b993-76c90d50b997 ro single echo 'Loading initial ramdisk ...' initrd /boot/initrd.img-2.6.35-24-generic } menuentry 'GNU/Linux, with Linux 2.6.35-22-generic' --class gnu-linux --class gnu --class os { load_video set gfxpayload=keep insmod part_msdos insmod ext2 set root='(hd0,msdos6)' search --no-floppy --fs-uuid --set=root 9170712c-b76f-4363-b993-76c90d50b997 echo 'Loading Linux 2.6.35-22-generic ...' linux /boot/vmlinuz-2.6.35-22-generic root=UUID=9170712c-b76f-4363-b993-76c90d50b997 ro echo 'Loading initial ramdisk ...' initrd /boot/initrd.img-2.6.35-22-generic } menuentry 'GNU/Linux, with Linux 2.6.35-22-generic (recovery mode)' --class gnu-linux --class gnu --class os { load_video set gfxpayload=keep insmod part_msdos insmod ext2 set root='(hd0,msdos6)' search --no-floppy --fs-uuid --set=root 9170712c-b76f-4363-b993-76c90d50b997 echo 'Loading Linux 2.6.35-22-generic ...' linux /boot/vmlinuz-2.6.35-22-generic root=UUID=9170712c-b76f-4363-b993-76c90d50b997 ro single echo 'Loading initial ramdisk ...' initrd /boot/initrd.img-2.6.35-22-generic } ### END /usr/local/etc/grub.d/10_linux ### ### BEGIN /usr/local/etc/grub.d/20_linux_xen ### ### END /usr/local/etc/grub.d/20_linux_xen ### ### BEGIN /usr/local/etc/grub.d/30_os-prober ### menuentry "Windows 7 (loader) (on /dev/sda1)" --class windows --class os { insmod part_msdos insmod ntfs set root='(hd0,msdos1)' search --no-floppy --fs-uuid --set=root 199C2D9325B6AF71 chainloader +1 } menuentry "GNU/Linux, with Linux 2.6.35-22-generic (on /dev/sdb1)" --class gnu-linux --class gnu --class os { insmod part_msdos insmod ext2 set root='(hd1,msdos1)' search --no-floppy --fs-uuid --set=root 67af37cd-7a2d-4472-99f9-4ecdd8f0e591 linux /boot/vmlinuz-2.6.35-22-generic root=UUID=9170712c-b76f-4363-b993-76c90d50b997 ro initrd /boot/initrd.img-2.6.35-22-generic } menuentry "GNU/Linux, with Linux 2.6.35-22-generic (recovery mode) (on /dev/sdb1)" --class gnu-linux --class gnu --class os { insmod part_msdos insmod ext2 set root='(hd1,msdos1)' search --no-floppy --fs-uuid --set=root 67af37cd-7a2d-4472-99f9-4ecdd8f0e591 linux /boot/vmlinuz-2.6.35-22-generic root=UUID=9170712c-b76f-4363-b993-76c90d50b997 ro single initrd /boot/initrd.img-2.6.35-22-generic } menuentry "Solaris" { insmod zfs insmod part_sunpc search --label rpool --set=root if cpuid -l ; then ISADIR=amd64; else ISADIR= fi zfs-bootfs /ROOT/openindiana/@/ ZFS_BOOTFS multiboot /ROOT/openindiana/@/platform/i86pc/kernel/$ISADIR/unix /platform/i86pc/kernel/$ISADIR/unix -B $ZFS_BOOTFS,console=graphics module /ROOT/openindiana/@/platform/i86pc/$ISADIR/boot_archive /platform/i86pc/$ISADIR/boot_archive } ### END /usr/local/etc/grub.d/30_os-prober ### ### BEGIN /usr/local/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 /usr/local/etc/grub.d/40_custom ### ### BEGIN /usr/local/etc/grub.d/41_custom ### if [ -f $prefix/custom.cfg ]; then source $prefix/custom.cfg; fi ### END /usr/local/etc/grub.d/41_custom ### =============================== sda6/etc/fstab: =============================== # /etc/fstab: static file system information. # # Use 'blkid -o value -s UUID' to print the universally unique identifier # for a device; this may be used with UUID= as a more robust way to name # devices that works even if disks are added and removed. See fstab(5). # # proc /proc proc nodev,noexec,nosuid 0 0 /dev/sda6 / ext4 errors=remount-ro 0 1 # swap was on /dev/sda6 during installation UUID=a5444972-2dea-4bfe-aec7-b48426994250 none swap sw 0 0 =================== sda6: Location of files loaded by Grub: =================== 194.8GB: boot/grub/core.img 165.8GB: boot/grub/grub.cfg 167.5GB: boot/initrd.img-2.6.35-22-generic 175.8GB: boot/initrd.img-2.6.35-24-generic 194.8GB: boot/vmlinuz-2.6.35-22-generic 194.8GB: boot/vmlinuz-2.6.35-24-generic 175.8GB: initrd.img 167.5GB: initrd.img.old 194.8GB: vmlinuz 194.8GB: vmlinuz.old =========================== sdb1/boot/grub/grub.cfg: =========================== # # DO NOT EDIT THIS FILE # # It is automatically generated by grub-mkconfig using templates # from /usr/local/etc/grub.d and settings from /usr/local/etc/default/grub # ### BEGIN /usr/local/etc/grub.d/00_header ### if [ -s $prefix/grubenv ]; then 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 load_video { insmod vbe insmod vga insmod video_bochs insmod video_cirrus } insmod part_msdos insmod ext2 set root='(hd0,msdos6)' search --no-floppy --fs-uuid --set=root 9170712c-b76f-4363-b993-76c90d50b997 if loadfont /usr/local/share/grub/unicode.pf2 ; then set gfxmode=640x480 load_video insmod gfxterm fi terminal_output gfxterm insmod part_msdos insmod ext2 set root='(hd0,msdos6)' search --no-floppy --fs-uuid --set=root 9170712c-b76f-4363-b993-76c90d50b997 set locale_dir=($root)/boot/grub/locale set lang=en_IN insmod gettext set timeout=5 ### END /usr/local/etc/grub.d/00_header ### ### BEGIN /usr/local/etc/grub.d/10_linux ### menuentry 'GNU/Linux, with Linux 2.6.35-24-generic' --class gnu-linux --class gnu --class os { load_video set gfxpayload=keep insmod part_msdos insmod ext2 set root='(hd0,msdos6)' search --no-floppy --fs-uuid --set=root 9170712c-b76f-4363-b993-76c90d50b997 echo 'Loading Linux 2.6.35-24-generic ...' linux /boot/vmlinuz-2.6.35-24-generic root=UUID=9170712c-b76f-4363-b993-76c90d50b997 ro echo 'Loading initial ramdisk ...' initrd /boot/initrd.img-2.6.35-24-generic } menuentry 'GNU/Linux, with Linux 2.6.35-24-generic (recovery mode)' --class gnu-linux --class gnu --class os { load_video set gfxpayload=keep insmod part_msdos insmod ext2 set root='(hd0,msdos6)' search --no-floppy --fs-uuid --set=root 9170712c-b76f-4363-b993-76c90d50b997 echo 'Loading Linux 2.6.35-24-generic ...' linux /boot/vmlinuz-2.6.35-24-generic root=UUID=9170712c-b76f-4363-b993-76c90d50b997 ro single echo 'Loading initial ramdisk ...' initrd /boot/initrd.img-2.6.35-24-generic } menuentry 'GNU/Linux, with Linux 2.6.35-22-generic' --class gnu-linux --class gnu --class os { load_video set gfxpayload=keep insmod part_msdos insmod ext2 set root='(hd0,msdos6)' search --no-floppy --fs-uuid --set=root 9170712c-b76f-4363-b993-76c90d50b997 echo 'Loading Linux 2.6.35-22-generic ...' linux /boot/vmlinuz-2.6.35-22-generic root=UUID=9170712c-b76f-4363-b993-76c90d50b997 ro echo 'Loading initial ramdisk ...' initrd /boot/initrd.img-2.6.35-22-generic } menuentry 'GNU/Linux, with Linux 2.6.35-22-generic (recovery mode)' --class gnu-linux --class gnu --class os { load_video set gfxpayload=keep insmod part_msdos insmod ext2 set root='(hd0,msdos6)' search --no-floppy --fs-uuid --set=root 9170712c-b76f-4363-b993-76c90d50b997 echo 'Loading Linux 2.6.35-22-generic ...' linux /boot/vmlinuz-2.6.35-22-generic root=UUID=9170712c-b76f-4363-b993-76c90d50b997 ro single echo 'Loading initial ramdisk ...' initrd /boot/initrd.img-2.6.35-22-generic } ### END /usr/local/etc/grub.d/10_linux ### ### BEGIN /usr/local/etc/grub.d/20_linux_xen ### ### END /usr/local/etc/grub.d/20_linux_xen ### ### BEGIN /usr/local/etc/grub.d/30_os-prober ### menuentry "Windows 7 (loader) (on /dev/sda1)" --class windows --class os { insmod part_msdos insmod ntfs set root='(hd0,msdos1)' search --no-floppy --fs-uuid --set=root 199C2D9325B6AF71 chainloader +1 } menuentry "GNU/Linux, with Linux 2.6.35-22-generic (on /dev/sdb1)" --class gnu-linux --class gnu --class os { insmod part_msdos insmod ext2 set root='(hd1,msdos1)' search --no-floppy --fs-uuid --set=root 67af37cd-7a2d-4472-99f9-4ecdd8f0e591 linux /boot/vmlinuz-2.6.35-22-generic root=UUID=9170712c-b76f-4363-b993-76c90d50b997 ro initrd /boot/initrd.img-2.6.35-22-generic } menuentry "GNU/Linux, with Linux 2.6.35-22-generic (recovery mode) (on /dev/sdb1)" --class gnu-linux --class gnu --class os { insmod part_msdos insmod ext2 set root='(hd1,msdos1)' search --no-floppy --fs-uuid --set=root 67af37cd-7a2d-4472-99f9-4ecdd8f0e591 linux /boot/vmlinuz-2.6.35-22-generic root=UUID=9170712c-b76f-4363-b993-76c90d50b997 ro single initrd /boot/initrd.img-2.6.35-22-generic } menuentry "Openindiana" { insmod zfs insmod part_sunpc search --label rpool --set=root if cpuid -l ; then ISADIR=amd64; else ISADIR= fi zfs-bootfs /ROOT/openindiana/@/ ZFS_BOOTFS multiboot /ROOT/openindiana/@/platform/i86pc/kernel/$ISADIR/unix /platform/i86pc/kernel/$ISADIR/unix -B $ZFS_BOOTFS,console=graphics module /ROOT/openindiana/@/platform/i86pc/$ISADIR/boot_archive /platform/i86pc/$ISADIR/boot_archive } ### END /usr/local/etc/grub.d/30_os-prober ### ### BEGIN /usr/local/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 /usr/local/etc/grub.d/40_custom ### ### BEGIN /usr/local/etc/grub.d/41_custom ### if [ -f $prefix/custom.cfg ]; then source $prefix/custom.cfg; fi ### END /usr/local/etc/grub.d/41_custom ### =============================== sdb1/etc/fstab: =============================== # /etc/fstab: static file system information. # # Use 'blkid -o value -s UUID' to print the universally unique identifier # for a device; this may be used with UUID= as a more robust way to name # devices that works even if disks are added and removed. See fstab(5). # # proc /proc proc nodev,noexec,nosuid 0 0 # / was on /dev/sdd1 during installation UUID=67af37cd-7a2d-4472-99f9-4ecdd8f0e591 / ext4 errors=remount-ro 0 1 # swap was on /dev/sda5 during installation UUID=a5444972-2dea-4bfe-aec7-b48426994250 none swap sw 0 0 # swap was on /dev/sdd5 during installation UUID=8e716eeb-78c9-488b-a915-5e6a447c16c9 none swap sw 0 0 =================== sdb1: Location of files loaded by Grub: =================== 10.9GB: boot/grub/core.img 11.0GB: boot/grub/grub.cfg .3GB: boot/initrd.img-2.6.35-22-generic 11.0GB: boot/vmlinuz-2.6.35-22-generic .3GB: initrd.img 11.0GB: vmlinuz =======Devices which don't seem to have a corresponding hard drive============== sdc