Click to See Complete Forum and Search --> : Grub not showing


PeterP_Swe
02-10-2003, 07:46 PM
Hi,

I know there's a thousand posts on this topic already, but I tried searching for an hour and didn't find the answer.

I have WinXP on my primary drive and I installed Red Hat 8 on my secondary drive.

I told the installation program to use Grub and set it to default to WinXP.

Now everytime I start my computer WinXP loads, and no boot menu is shown, so I can't get into Linux.

Do I need to reinstall Linux or is there a special key combination I should hold down while booting, to see the menu?

Any help is greatly appreciated.

Thanks,
Peter

homey
02-10-2003, 10:19 PM
You can boot with cdrom1 and select linux rescue.

After it boots to the prompt, type: chroot /mnt/sysimage

At the prompt type: grub

In the grub utility, type: root (hd1,1)

note: that says that linux "/" is installed on the second drive and the second partition. For the first drive, second partition, it would look like root (hd0,1). Change it to your needs.

At the prompt, type: setup (hd0)

note: that is using the MBR of the first drive. Change it to your needs;

At the prompt, type: quit




Also, you may have better success with the Lilo instead of grub.

To setup lilo, do the cdrom thingy to get to the prompt.
At the prompt, type chroot /mnt/sysimage

At the prompt, type: rdev /boot/vmlinuz /dev/hda

Edit the file /etc/lilo.conf to use LBA32 instead of Linier.

At the prompt, type: lilo

You should see something like this

added linux *
added windows


Here is a sample lilo.config

prompt
timeout=50
default=Windows
boot=/dev/hda
map=/boot/map
install=/boot/boot.b
message=/boot/message
lba32

image=/boot/vmlinuz-2.4.18-14
label=linux
initrd=/boot/initrd-2.4.18-14.img
read-only
append=”hdc=ide-scsi root=LABEL=/”

other=/dev/hda1
optional
label=Windows

PeterP_Swe
02-11-2003, 04:34 AM
Thank you!

I will try that when I get home.


Cheers,
Peter