PDA

View Full Version : Grub Question



iamanewbie
10-23-2003, 08:39 PM
I installed grub and i have the following as my c:\boot.ini

[boot loader]
c:\boot\stage1="GRUB"
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOW S
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Home Edition" /fastdetect


I also have the following as my menu.lst



# Sample boot menu configuration file
#

# Boot automatically after a minute.
timeout 60

# By default, boot the second entry.
default 1

# Fallback to the first entry.
fallback 0

title Windows XP
unhide (hd0,0)
rootnoverify (hd0,0)
chainloader +1

title KNOPPIX
root (hd6,2)
kernel /boot/vmlinuz
initrd /boot/initrd




But I am not presented with a boot menu when I start my comp, it goes directly to windows xp. What am I doing wrong?

Thanks,

fingers99
10-23-2003, 10:36 PM
I'm certainly no grub expert, but it looks to me as though Grub should expect Knoppix on the 3rd partition of the 7th hard drive...........

iamanewbie
10-23-2003, 11:09 PM
fdisk in linux shows the following:

/dev/hda1 NTFS
/dev/hda2 Win95 Ext'd (I'm using win XP though)
/dev/hda5 Linux Swap
/dev/hda6 Linux


The bootable flag is on for the hda1.


Now, what should I put in that menu.lst that would allow me to have a boot menu for linux and windows xp.

horo
10-24-2003, 07:06 AM
...
title KNOPPIX
root (hd0,5)
kernel /boot/vmlinuz
initrd /boot/initrd
...
The GRUBbish way of naming partitions:

hda = (hd0)
hdb = (hd1)
...
hda1 = (hd0,0)
hda2 = (hd0,1)
...
hda6 = (hd0,5)

Ciao Martin

iamanewbie
10-24-2003, 07:08 AM
I used LILO and now everything is fixed.

THank you for all your guy's help!

ruipb
11-01-2003, 11:49 AM
Hi there , my line order is diferent of yours , and for me it works:

[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOW S
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Home Edition" /fastdetect
c:\boot\stage1="GRUB"

Sorry I saw now that you have solved the problem ;)