GRUB Issue: SCO Linux 4, LVM, Gateway2k-200MHz, 8 gig IDE drive

Matthew Carpenter matt
Mon May 17 11:43:22 PDT 2004


GRUB installed nicely when installing the OS, but upon boot I got  "GRUB"
printed to the screen and nothing else.
After dorking around with various boot-rescue attempts I got to a prompt
and was able to reinstall GRUB to /dev/hda.  Instead of "GRUB", now I got
"GRUB Read Error" and nothing else.  That could have been because I
mounted /dev/hda1 as /mnt on the rescue-boot and then told grub-installer
to use it as the root.  I tried also using the force-lba option, without
success.

I just had SCO UL Beta3 installed on this box (although it had some
issues).  But this time I got picky on the partitioning, and chose to use
LVM.

/	is /dev/hda1	(reiserfs)
/opt	is /dev/system/opt
/usr	is /dev/system/usr
/var	is /dev/system/var

I couldn't get the LVM partitions to mount while running on the rescue
option of the SCO CD.  I am not familiar with LVM as this is my first time
really working with it.  Could LVM be causing any issues with GRUB
loading?  Did GRUB change between BETA3 and SCO Linux 4 release?  Why
doesn't this work?

Eventually I created an ugly lilo.conf file and installed LILO which
worked.  I can boot now and the box is up.  But I am a GRUB fan and wish
to understand what was breaking.

While booted to the rescue option on the SCO CD I did the following to
install GRUB:

mount /dev/hda1 /mnt/
grub-install --root-directory=/mnt/ /dev/hda
umount /mnt
<reboot>

mount /dev/hda1 /mnt/
grub-install --root-directory=/mnt/ --force-lba /dev/hda
umount /mnt
<reboot>

I also tried chroot-ing to /mnt/ but couldn't get GRUB tools since they
live on /usr and I couldn't get LVM partitions mounted....  Did I have to
load lvm-mod or something?

Thanks,
Matt

ps.  I have hwinfo information but it's too long to include



More information about the Linux-users mailing list