On Wed, Mar 10, 2004 at 02:48:32PM +0200, Doncho N. Gunchev wrote:
On Wednesday 10 March 2004 07:24, Denham Eva wrote:
> Hello,
>
> New to fedora and have installed it, grub was default (I don't remember being
able to choose lilo), It asked to create a boot disk, which I did. When the installation
completed the harddisk comes up with a grub prompt at which I can't do much(or should
I say, I don't know what to do). It however does boot from Floppy drive.
>
> Now I usually use lilo with all my Redhat servers, so I don't know grub at all.
> After reading the man page I soon realized I had no clue.
> I am also too afraid to try and "play" with it as I might loose my WinXP
partition.
> So can anyone help me out with the synatx of the grub.conf file?
>
> My machines configuration is as follows
> /dev/hda1 WinXP partition.
> /dev/hda2 /
>
> How do I write grub to MBR so that it will run at bootup?
>
> Many Thanks, any help will be appreciated.
> Regards
> Denham Eva
>
Try this:
--- /etc/grub.conf ---
#boot=/dev/hda
default=0
timeout=10
#splashimage=(hd0,1)/grub/splash.xpm.gz
title Fedora Core 1 (2.4.xx-xxx)
root (hd0,1)
kernel /vmlinuz-2.4.xx-xxxx ro root=LABEL=/
initrd /initrd-2.4.xx-xxxx.img
title Windowx XYZ
rootnoverify (hd0,0)
chainloader +1
makeactive
boot
--- cut ---
Actually you don't need the makeactive and boot lines eiter.
--
-------------------------------------------
Aaron Konstam
Computer Science
Trinity University
One Trinity Place.
San Antonio, TX 78212-7200
telephone: (210)-999-7484
email:akonstam@trinity.edu