GRUB not LILO - hangs now
I'm using GRUB not LILO on my RH7.2 (2.4.7-10) and I want to repartition my IDE system disk. No other OS just RH on this disk, and no SCSI. I partitioned a new disk how I want it, then copied the system over. But now I can't get GRUB to come up - the console just hangs saying "GRUB". This is what I did:-
I took a new hd and put it in as hdb, then fdisk'd the desired partitions: hdb1 = '/' (type 83), hdb2 = swap (82), hdb3 = '/bkup' (83), hdb4 = Extended (5), and hdb5 = '/home' (83). '/boot' is in a separate partition on hda but I want it under '/' on the new disk. hdb1 lies well below cylinder 1024 and I made it bootable via fdisk.
Then I did the following:-
mke2fs -L / /dev/hdb1; mke2fs -L /bkup /dev/hdb3; mke2fs -L /home /dev/hdb5
mkswap -f /dev/hdb2
Mounted /dev/hdb at /mnt/hdb.
Created the mount points: /mnt/hdb/bkup and /mnt/hdb/home.
Mounted /dev/hdb3 on /mnt/hdb/bkup, and /dev/hdb5 on /mnt/hdb/home.
cd /; find . -depth -print0 | cpio -p0admV /mnt/hdb
Next I edited the copy of grub.conf on the new disk: /mnt/hdb/boot/grub/grub.conf. Because its no longer in its own partition I added the '/boot' prefix to grub/splash.xpm and the kernel path ie: 'splashimage=(hd0,0)/boot/grub/splash.xpm.gz', and 'kernel /boot/vmlinuz...'. Root is to be hda1 (when booting from the new disk) instead of hda2 on the original installation, so I changed this on the kernel line too.
Finally I edited /mnt/hdb/etc/fstab to remove the line for the '/boot' partition which doesn't exist on the new disk. Then I put the new disk in as the primary master and re...er hung with "GRUB" !
Any suggestions what might be up with GRUB?
|