bug-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Help with installing grub to disk


From: Derrik Pates
Subject: Re: Help with installing grub to disk
Date: Fri, 18 Jan 2002 20:29:54 -0700 (MST)

Please, in the future, tell your mail client to wrap messages at a
reasonable width (say, 72 chars or so), for the benefit of those of us who
don't use GUI mail clients all the time.

On Fri, 18 Jan 2002, Collins Richey wrote:

> This isn't a bug, but I'm hoping that someone can help me.  I've read
> quite a few grub installation instructions, and I just don't get it.
> The biggest disadvantage of grub, IMHO, is that you need to be a rocket
> scientist to make it work!

Well, it's actually not so hard, it's just finding the right method - fact
is, there's more than one.

> I'm able to boot all three (Win98, FreeBSD, and linux from the floppy).
> I have a copy of all the /boot/grub stuff including the menu.lst on the
> Win98 partition and on the linux partition.  I've managed to get grub
> installed to the mbr, but I can't get it to find the menu.lst. I have to
> key in the root, kernel, etc. manually when booting from the hard drive.

Where did you put menu.lst? A standard GRUB install will expect to find it
in /boot/grub.

> How can I get grub reinstalled to utilize the menu.lst in the Win98
> partition (This is permanent; other partitions could be overwritten at
> any time)?

You'd have to start the GRUB shell and manually invoke 'install',
specifying an alternate location for Stage 2 to look for the config file
at. Something like:

    root (hd0,0)
    install /boot/grub/stage1 (hd0) /boot/grub/stage2 0x8000 /menu.lst

I believe would be the appropriate syntax. Of course, with the GRUB files
on a FAT-based partition, if you defrag that disk, GRUB may likely not
start anymore (due to the blocklists suddenly being invalid and all...),
so don't be surprised.

Derrik Pates      |   Sysadmin, Douglas School   |    #linuxOS on EFnet
address@hidden |     District (dsdk12.net)    |    #linuxOS on OPN






reply via email to

[Prev in Thread] Current Thread [Next in Thread]