Bob Tanner wrote:

> Quoting Thomas Eibner (thomas at stderr.net):
> > On Thu, Jul 26, 2001 at 04:37:58AM +0000, chegney at att.net wrote:
> > > Hi first time poster here, I need some help.
> > >
> > > I had a dual boot Windows98/RedHat Linux setup.  I was
> > > using LILO as my boot loader.  I have lost lilo on my
> > > first hard drive and now I can't boot Linux on my second
> > > hard drive.  The only boot disk I have is my RedHat
> > > install cd.  Can some one explain to me how I can boot to
> > > rescue mode on the cd and then restore lilo???

I'm assuming lilo was in your MBR?  What'd you do to mess it up?

> > It's been a while since I had to do it, so it's off the top of my head:
> >
> > On the install cd's prompt:
> >
> > boot root=/dev/hdb<partition>
> >
> > and then run lilo (maybe change the layout when you get there?)

Sounds like it should work.  Never tried it.

I personally like to use Bootable Business Card from LinuxCare.  Very nice.  Had
all the drivers I needed to switch HD's and mount everything no problem.
Very nice.

IMO the easiest way w/ BBC is...
Boot up w/ BBC.
Mount your linux HD (may require the insertion of some modules) at /mnt/<WHATEVER>/

Create a symbolic link between /boot and /mnt/<WHATEVER>/boot (BBC doesn't have a
/boot directory so you won't mess anything up).
Run lilo from your linux installation "/mnt/<WHATEVER>/sbin/lilo" w/ the -c option
i.e. "/mnt/<WHATEVER>/sbin/lilo -c /mnt/<WHATEVER>/etc/lilo.conf

This should take care of all your problems (did for me several times).  It *SHOULD*
restor everything exactly as it was.

It's fairly simple and very nice when you don't have a boot disk.  Or when the
install disk doesn't have the correct drivers (a constant problem w/ my machines).

> THEN do a man mkbootdisk, I cannot tell you how important this is. All our boxes
> have emergency boot disks.

Faaaahhh! sissy. :-)

sim