Menu

GRUB ISSUES while booting

Help
Rajesh
2012-10-18
2012-10-18
  • Rajesh

    Rajesh - 2012-10-18

    I have installed RHEL in HP workstation in 4th partition having 72 GB space and window 7 installed there. Installation went fine but while rebooting the system hangs with GRUB written with cursor blinking
    I booted system with linux rescue mode and have output of bootinfoscript-0.61

    Thanking you all in advance

    Boot Info Script 0.61      [1 April 2012]
    

    ============================= Boot Info Summary: ===============================

    => Grub Legacy is installed in the MBR of /dev/sda and looks at sector 26491
    on boot drive #4 for the stage2 file, but no stage2 files can be found at
    this location..
    => Windows is installed in the MBR of /dev/sdb.
    => Windows is installed in the MBR of /dev/sdc.
    => Grub Legacy0.97 is installed in the MBR of /dev/sdd and looks at sector
    309824 on boot drive #1 for the stage2 file. A stage2 file is at this
    location on /dev/sdd. Stage2 looks on partition #1 for /grub/grub.conf..
    => No boot loader is installed in the MBR of /dev/sde.

    sda1: ______________

    File system:       ntfs
    Boot sector type:  Unknown
    Boot sector info:  No errors found in the Boot Parameter Block.
    Mounting failed:   mount: unknown filesystem type 'ntfs'
    

    ./bootinfoscript-061/bootinfoscript: line 2376: ntfs-3g: command not found

    sda2: ______________

    File system:       ntfs
    Boot sector type:  Unknown
    Boot sector info:  No errors found in the Boot Parameter Block.
    Mounting failed:   mount: unknown filesystem type 'ntfs'
    

    ./bootinfoscript-061/bootinfoscript: line 2376: ntfs-3g: command not found
    mount: unknown filesystem type 'ntfs'
    ./bootinfoscript-061/bootinfoscript: line 2376: ntfs-3g: command not found

    sda3: ______________

    File system:       ntfs
    Boot sector type:  Windows Vista/7: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Mounting failed:   mount: unknown filesystem type 'ntfs'
    

    ./bootinfoscript-061/bootinfoscript: line 2376: ntfs-3g: command not found
    mount: unknown filesystem type 'ntfs'
    ./bootinfoscript-061/bootinfoscript: line 2376: ntfs-3g: command not found
    mount: unknown filesystem type 'ntfs'
    ./bootinfoscript-061/bootinfoscript: line 2376: ntfs-3g: command not found

    sdb1: ______________

    File system:       ntfs
    Boot sector type:  Windows XP: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Mounting failed:   mount: unknown filesystem type 'ntfs'
    

    ./bootinfoscript-061/bootinfoscript: line 2376: ntfs-3g: command not found
    mount: unknown filesystem type 'ntfs'
    ./bootinfoscript-061/bootinfoscript: line 2376: ntfs-3g: command not found
    mount: unknown filesystem type 'ntfs'
    ./bootinfoscript-061/bootinfoscript: line 2376: ntfs-3g: command not found
    mount: unknown filesystem type 'ntfs'
    ./bootinfoscript-061/bootinfoscript: line 2376: ntfs-3g: command not found

    sdc1: ______________

    File system:       ntfs
    Boot sector type:  Windows XP: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Mounting failed:   mount: unknown filesystem type 'ntfs'
    

    ./bootinfoscript-061/bootinfoscript: line 2376: ntfs-3g: command not found
    mount: unknown filesystem type 'ntfs'
    ./bootinfoscript-061/bootinfoscript: line 2376: ntfs-3g: command not found
    mount: unknown filesystem type 'ntfs'
    ./bootinfoscript-061/bootinfoscript: line 2376: ntfs-3g: command not found
    mount: unknown filesystem type 'ntfs'
    ./bootinfoscript-061/bootinfoscript: line 2376: ntfs-3g: command not found
    mount: unknown filesystem type 'ntfs'
    ./bootinfoscript-061/bootinfoscript: line 2376: ntfs-3g: command not found

    sdd1: ______________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  
    Boot files:        /grub/menu.lst /grub/grub.conf
    

    sdd2: ______________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  Red Hat Enterprise Linux Server 
                       release 6.1 (Santiago) Kernel on an
    Boot files:        /etc/fstab
    

    sdd3: ______________

    File system:       swap
    Boot sector type:  -
    Boot sector info:
    

    sdd4: ______________

    File system:       Extended Partition
    Boot sector type:  -
    Boot sector info:
    

    sdd5: ______________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  
    Boot files:
    

    sde1: ______________

    File system:       ntfs
    Boot sector type:  Windows XP: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Mounting failed:   mount: unknown filesystem type 'ntfs'
    

    ./bootinfoscript-061/bootinfoscript: line 2376: ntfs-3g: command not found
    mount: unknown filesystem type 'ntfs'
    ./bootinfoscript-061/bootinfoscript: line 2376: ntfs-3g: command not found
    mount: unknown filesystem type 'ntfs'
    ./bootinfoscript-061/bootinfoscript: line 2376: ntfs-3g: command not found
    mount: unknown filesystem type 'ntfs'
    ./bootinfoscript-061/bootinfoscript: line 2376: ntfs-3g: command not found
    mount: unknown filesystem type 'ntfs'
    ./bootinfoscript-061/bootinfoscript: line 2376: ntfs-3g: command not found
    mount: unknown filesystem type 'ntfs'
    ./bootinfoscript-061/bootinfoscript: line 2376: ntfs-3g: command not found

    sde2: ______________

    File system:       vfat
    Boot sector type:  Windows XP: FAT32
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:
    

    ============================ Drive/Partition Info: =============================

    Drive: sda ___________

    Disk /dev/sda: 73.4 GB, 73407865856 bytes
    255 heads, 63 sectors/track, 8924 cylinders, total 143374738 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 * 2,048 113,981,174 113,979,127 7 NTFS / exFAT / HPFS
    /dev/sda2 113,981,175 139,251,990 25,270,816 7 NTFS / exFAT / HPFS
    /dev/sda3 139,253,760 143,372,287 4,118,528 7 NTFS / exFAT / HPFS

    Drive: sdb ___________

    Disk /dev/sdb: 73.4 GB, 73407865856 bytes
    255 heads, 63 sectors/track, 8924 cylinders, total 143374738 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 * 2,048 143,372,689 143,370,642 7 NTFS / exFAT / HPFS

    Drive: sdc ___________

    Disk /dev/sdc: 73.4 GB, 73407865856 bytes
    255 heads, 63 sectors/track, 8924 cylinders, total 143374738 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/sdc1 * 2,048 143,372,689 143,370,642 7 NTFS / exFAT / HPFS

    Drive: sdd ___________

    Disk /dev/sdd: 73.4 GB, 73407865856 bytes
    255 heads, 63 sectors/track, 8924 cylinders, total 143374738 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/sdd1 * 2,048 1,050,623 1,048,576 83 Linux
    /dev/sdd2 1,050,624 63,965,183 62,914,560 83 Linux
    /dev/sdd3 63,965,184 84,936,703 20,971,520 82 Linux swap / Solaris
    /dev/sdd4 84,936,704 143,374,335 58,437,632 5 Extended
    /dev/sdd5 84,938,752 143,374,335 58,435,584 83 Linux

    Drive: sde ___________

    Disk /dev/sde: 500.1 GB, 500107861504 bytes
    255 heads, 63 sectors/track, 60801 cylinders, total 976773167 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/sde1 63 567,168,118 567,168,056 7 NTFS / exFAT / HPFS
    /dev/sde2 567,169,024 632,705,023 65,536,000 c W95 FAT32 (LBA)

    "blkid" output: __________

    Device UUID TYPE LABEL

    /dev/loop0 squashfs
    /dev/sda1 2450166812E8327F ntfs
    /dev/sda2 3EA153ED5A0776E8 ntfs HP_RECOVERY
    /dev/sda3 981CA2271CA1FFFC ntfs OS_TOOLS
    /dev/sdb1 57EDA5925A909BEA ntfs
    /dev/sdc1 4696C792100F6D0C ntfs
    /dev/sdd1 043c2cbf-910e-4959-950c-782d76487073 ext4
    /dev/sdd2 d722d210-6ce8-49e9-919e-e77ee1d506b6 ext4
    /dev/sdd3 78017c95-5a7f-447c-a17f-95b4274e7c7c swap
    /dev/sdd5 15120d10-2992-46a7-99c8-8b817de36f7d ext4
    /dev/sde1 AE94CD3B94CD0735 ntfs
    /dev/sde2 9427-CB24 vfat GISG

    ================================ Mount points: =================================

    Device Mount_Point Type Options

    /dev/sdd1 /boot ext4 (rw)
    /dev/sdd2 / ext4 (rw)
    /dev/sdd5 /home ext4 (rw)
    /dev/sde2 /media vfat (rw)

    ============================= sdd1/grub/grub.conf: =============================


    grub.conf generated by anaconda

    Note that you do not have to rerun grub after making changes to this file

    NOTICE: You have a /boot partition. This means that

    all kernel and initrd paths are relative to /boot/, eg.

    root (hd0,0)

    kernel /vmlinuz-version ro root=/dev/sdd2

    initrd /initrd-[generic-]version.img

    boot=/dev/sdd

    default=1
    timeout=5
    splashimage=(hd0,0)/grub/splash.xpm.gz
    hiddenmenu
    title Red Hat Enterprise Linux (2.6.32-131.0.15.el6.x86_64)
    root (hd0,0)
    kernel /vmlinuz-2.6.32-131.0.15.el6.x86_64 ro root=UUID=d722d210-6ce8-49e9-919e-e77ee1d506b6 rd_NO_LUKS rd_NO_LVM rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us crashkernel=auto rhgb quiet
    initrd /initramfs-2.6.32-131.0.15.el6.x86_64.img
    title Other
    rootnoverify (hd1,0)
    chainloader +1


    =================== sdd1: Location of files loaded by Grub: ====================

           GiB - GB             File                                 Fragment(s)
    

    0.132339478 = 0.142098432 grub/grub.conf 1
    0.132339478 = 0.142098432 grub/menu.lst 1
    0.147853851 = 0.158756864 grub/stage2 1
    0.147731781 = 0.158625792 initramfs-2.6.32-131.0.15.el6.x86_64.img 1
    0.132102966 = 0.141844480 vmlinuz-2.6.32-131.0.15.el6.x86_64 1

    =============================== sdd2/etc/fstab: ================================


    /etc/fstab

    Created by anaconda on Thu Oct 18 16:26:43 2012

    Accessible filesystems, by reference, are maintained under '/dev/disk'

    See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info

    UUID=d722d210-6ce8-49e9-919e-e77ee1d506b6 / ext4 defaults 1 1
    UUID=043c2cbf-910e-4959-950c-782d76487073 /boot ext4 defaults 1 2
    UUID=15120d10-2992-46a7-99c8-8b817de36f7d /home ext4 defaults 1 2
    UUID=78017c95-5a7f-447c-a17f-95b4274e7c7c swap swap defaults 0 0
    tmpfs /dev/shm tmpfs defaults 0 0
    devpts /dev/pts devpts gid=5,mode=620 0 0
    sysfs /sys sysfs defaults 0 0
    proc /proc proc defaults 0 0


    ======================== Unknown MBRs/Boot Sectors/etc: ========================

    Unknown BootLoader on sda1

    00000000 eb 52 90 4e 54 46 53 20 20 20 20 00 02 08 00 00 |.R.NTFS .....|
    00000010 00 00 00 00 00 f8 00 00 3f 00 ff 00 00 08 00 00 |........?.......|
    00000020 00 00 00 00 80 00 80 00 f6 2e cb 06 00 00 00 00 |................|
    00000030 0a 00 00 00 00 00 00 00 00 00 10 00 00 00 00 00 |................|
    00000040 f6 00 00 00 01 00 00 00 7f 32 e8 12 68 16 50 24 |.........2..h.P$|
    00000050 00 00 00 00 fa 33 c0 8e d0 bc 00 7c fb b8 c0 07 |.....3.....|....|
    00000060 8e d8 1e 68 67 00 cb 88 16 0e 00 66 81 3e 03 00 |...hg......f.>..|
    00000070 4e 54 46 53 75 15 b4 41 bb aa 55 cd 13 72 0c 81 |NTFSu..A..U..r..|
    00000080 fb 55 aa 75 06 f7 c1 01 00 75 03 e9 d8 00 1e 83 |.U.u.....u......|
    00000090 ec 18 68 1a 00 b4 48 8a 16 0e 00 8b f4 16 1f cd |..h...H.........|
    000000a0 13 9f 83 c4 18 9e 58 1f 72 e1 3b 06 0b 00 75 db |......X.r.;...u.|
    000000b0 a3 0f 00 c1 2e 0f 00 04 1e 5a 33 db b9 00 20 2b |.........Z3... +|
    000000c0 c8 66 ff 06 11 00 03 16 0f 00 8e c2 ff 06 16 00 |.f..............|
    000000d0 e8 46 00 2b c8 77 ef b8 00 bb cd 1a 66 23 c0 0f |.F.+.w......f#..|
    000000e0 85 31 00 66 81 fb 54 43 50 41 0f 85 26 00 81 f9 |.1.f..TCPA..&...|
    000000f0 02 01 0f 82 1e 00 16 68 07 bb 16 68 48 16 16 68 |.......h...hH..h|
    00000100 09 00 66 53 66 53 66 55 16 16 16 68 b8 01 66 61 |..fSfSfU...h..fa|
    00000110 0e 07 cd 1a e9 57 01 90 90 66 60 1e 06 66 a1 11 |.....W...f`..f..|
    00000120 00 66 03 06 1c 00 1e 66 68 00 00 00 00 66 50 06 |.f.....fh....fP.|
    00000130 53 68 01 00 68 10 00 b4 42 8a 16 0e 00 16 1f 8b |Sh..h...B.......|
    00000140 f4 cd 13 66 59 5b 5a 66 59 66 59 1f 0f 82 16 00 |...fY[ZfYfY.....|
    00000150 66 ff 06 11 00 03 16 0f 00 8e c2 ff 0e 16 00 75 |f..............u|
    00000160 bc 07 1f 66 61 c3 a0 f8 01 e8 08 00 a0 fb 01 e8 |...fa...........|
    00000170 02 00 eb fe b4 01 8b f0 ac 3c 00 74 09 b4 0e bb |.........<.t....|
    00000180 07 00 cd 10 eb f2 c3 0d 0a 41 20 64 69 73 6b 20 |.........A disk |
    00000190 72 65 61 64 20 65 72 72 6f 72 20 6f 63 63 75 72 |read error occur|
    000001a0 72 65 64 00 0d 0a 42 4f 4f 54 4d 47 52 20 69 73 |red...BOOTMGR is|
    000001b0 20 6d 69 73 73 69 6e 67 00 0d 0a 42 4f 4f 54 4d | missing...BOOTM|
    000001c0 47 52 20 69 73 20 63 6f 6d 70 72 65 73 73 65 64 |GR is compressed|
    000001d0 00 0d 0a 50 72 65 73 73 20 43 74 72 6c 2b 41 6c |...Press Ctrl+Al|
    000001e0 74 2b 44 65 6c 20 74 6f 20 72 65 73 74 61 72 74 |t+Del to restart|
    000001f0 0d 0a 00 00 00 00 00 00 87 a4 b9 d1 00 00 55 aa |..............U.|
    00000200

    Unknown BootLoader on sda2

    00000000 eb 52 90 4e 54 46 53 20 20 20 20 00 02 08 00 00 |.R.NTFS .....|
    00000010 00 00 00 00 00 f8 00 00 3f 00 ff 00 f7 36 cb 06 |........?....6..|
    00000020 00 00 00 00 80 00 80 00 1f 9a 81 01 00 00 00 00 |................|
    00000030 0a 00 00 00 00 00 00 00 b6 b8 06 00 00 00 00 00 |................|
    00000040 f6 00 00 00 01 00 00 00 e8 76 07 5a ed 53 a1 3e |.........v.Z.S.>|
    00000050 00 00 00 00 fa 33 c0 8e d0 bc 00 7c fb b8 c0 07 |.....3.....|....|
    00000060 8e d8 1e 68 67 00 cb 88 16 0e 00 66 81 3e 03 00 |...hg......f.>..|
    00000070 4e 54 46 53 75 15 b4 41 bb aa 55 cd 13 72 0c 81 |NTFSu..A..U..r..|
    00000080 fb 55 aa 75 06 f7 c1 01 00 75 03 e9 d8 00 1e 83 |.U.u.....u......|
    00000090 ec 18 68 1a 00 b4 48 8a 16 0e 00 8b f4 16 1f cd |..h...H.........|
    000000a0 13 9f 83 c4 18 9e 58 1f 72 e1 3b 06 0b 00 75 db |......X.r.;...u.|
    000000b0 a3 0f 00 c1 2e 0f 00 04 1e 5a 33 db b9 00 20 2b |.........Z3... +|
    000000c0 c8 66 ff 06 11 00 03 16 0f 00 8e c2 ff 06 16 00 |.f..............|
    000000d0 e8 46 00 2b c8 77 ef b8 00 bb cd 1a 66 23 c0 0f |.F.+.w......f#..|
    000000e0 85 31 00 66 81 fb 54 43 50 41 0f 85 26 00 81 f9 |.1.f..TCPA..&...|
    000000f0 02 01 0f 82 1e 00 16 68 07 bb 16 68 48 16 16 68 |.......h...hH..h|
    00000100 09 00 66 53 66 53 66 55 16 16 16 68 b8 01 66 61 |..fSfSfU...h..fa|
    00000110 0e 07 cd 1a e9 57 01 90 90 66 60 1e 06 66 a1 11 |.....W...f`..f..|
    00000120 00 66 03 06 1c 00 1e 66 68 00 00 00 00 66 50 06 |.f.....fh....fP.|
    00000130 53 68 01 00 68 10 00 b4 42 8a 16 0e 00 16 1f 8b |Sh..h...B.......|
    00000140 f4 cd 13 66 59 5b 5a 66 59 66 59 1f 0f 82 16 00 |...fY[ZfYfY.....|
    00000150 66 ff 06 11 00 03 16 0f 00 8e c2 ff 0e 16 00 75 |f..............u|
    00000160 bc 07 1f 66 61 c3 a0 f8 01 e8 08 00 a0 fb 01 e8 |...fa...........|
    00000170 02 00 eb fe b4 01 8b f0 ac 3c 00 74 09 b4 0e bb |.........<.t....|
    00000180 07 00 cd 10 eb f2 c3 0d 0a 41 20 64 69 73 6b 20 |.........A disk |
    00000190 72 65 61 64 20 65 72 72 6f 72 20 6f 63 63 75 72 |read error occur|
    000001a0 72 65 64 00 0d 0a 42 4f 4f 54 4d 47 52 20 69 73 |red...BOOTMGR is|
    000001b0 20 6d 69 73 73 69 6e 67 00 0d 0a 42 4f 4f 54 4d | missing...BOOTM|
    000001c0 47 52 20 69 73 20 63 6f 6d 70 72 65 73 73 65 64 |GR is compressed|
    000001d0 00 0d 0a 50 72 65 73 73 20 43 74 72 6c 2b 41 6c |...Press Ctrl+Al|
    000001e0 74 2b 44 65 6c 20 74 6f 20 72 65 73 74 61 72 74 |t+Del to restart|
    000001f0 52 45 43 4f 56 45 52 59 87 a4 b9 d1 00 00 55 aa |RECOVERY......U.|
    00000200

    =============================== StdErr Messages: ===============================

    No volume groups found
    mdadm: No arrays found in config file or automatically

     
  • Gert Hulselmans

    Gert Hulselmans - 2012-10-18

    The Grub legacy installation of /dev/sda is corrupt. This is the disk where you have Windows 7 installed. When you boot from the Windows 7 installation CD, you can let Windows restore the Windows MBR. You can also install testdisk and use the write MBR option to fix that problem.

    For booting RedHat (installed on /dev/sdd), go to the BIOS and change the hard drive order. On most recent BIOSes, you can also press a special key(e.g. F8, F12) to change the booting drive. Grub Legacy seems to be installed fine on /dev/sdd.

    Ask more specific help at RedHat.

     

Log in to post a comment.