grub

Masoom Siddiqui siddiqui.masoom at gmail.com
Wed Sep 22 21:00:21 UTC 2010


Hi,

I recently had Redhat 7.2 physical machine converted into VMware guest with
P2V tool vmware converter. When I boot the vm guest it drops me into <grub>
shell. In the shell if I type "configfile /grub/grub.conf" I get Kernel to
choose from and it boots normally from there.

Why does boot process drop into grub shell?

I have separate /boot parition...

df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda2             2.0G 1022M  914M  53% /
/dev/sda1             243M   13M  218M   6% /boot
none                  503M     0  503M   0% /dev/shm
/dev/sda7             2.0G   65M  1.8G   4% /tmp
/dev/sda3             7.9G  929M  6.6G  13% /usr
/dev/sda5             4.0G  1.1G  2.6G  30% /usr/local
/dev/sda8              20G  7.1G   11G  38% /var
Below is my /boot/grub/grub.conf...

cat /boot/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/sda2
#          initrd /initrd-version.img
#boot=/dev/sda
default=0
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz
title Red Hat Linux (2.4.20-24.7)
        root (hd0,0)
        kernel /vmlinuz-2.4.20-24.7 ro root=/dev/sda2
        initrd /initrd-2.4.20-24.7.img

device map ...
cat device.map
(hd0)   /dev/sda1

Regards
-masoom



More information about the redhat-list mailing list