[GLLUG] Lost LILO, Can't Boot
Brian Hoort
hoortbri@msu.edu
Wed, 18 Sep 2002 13:54:30 -0400
I should have been more detailed.
Booting from the Debian installer CD gets a kernel panic, even though I
installed Debian on this system by booting from this very CD. That's why
I'm using the other boot disk.
So I could:
mount /dev/hda6 /mnt
lilo -C /mnt/etc/lilo.conf
Right?
I'll try these options tonight when I have access to my PC.
Thanks for the guidance--I need a little hand-holding. I'm worried messing
with these tools I might lose data, or access to it.
Thanks!
At 12:51 PM 9/18/2002, you wrote:
>Im not sure it works for debian, although i thought there was a way to
>quit out of the installer with it like ctrl-f10 or something.
>
> >From the Lilo man page.
>
> -C config-file
> lilo reads its instructions about what files to
> map
> from its config file, by default
> /etc/lilo.conf.
> This option can be used
> to specify a non-default
> config file.
>
>On Wed, 18 Sep 2002, Brian Hoort wrote:
>
> > I am running Debian, and tried using the Debian install disk, typing
> > rescue, and it wouldn't boot. I suspect it has to do with my partitioning
> > separating /boot, /root, and /home. However, Tom's RootBoot disk is
> booting
> > so I'm using it.
> >
> > I don't have a *nix box at my disposal here, what's the -C? Does it let
> you
> > manually specify the location of the lilo.conf to use?
> >
> > Thanks
> >
> > At 12:29 PM 9/18/2002, you wrote:
> > >The way i have always done it is my booting off a disk mounting the
> > >drives and using the alternative configuration file for Lilo ie lilo -C so
> > >lilo isnt looking in the /etc/ directory of the emergency boot disk for
> > >the lilo.conf file and instead can use the correct one.
> > >
> > >For emergency disks, I usually use the redhat install disk and type rescue
> > >at the prompt.
> > >
> > >
> > >
> > >On Wed, 18 Sep 2002, Matt Graham wrote:
> > >
> > > > On Wednesday 18 September 2002 08:57, after a long battle with
> > > > technology, Brian Hoort wrote:
> > > > > Well, I decided to try the other route--getting lilo working again so
> > > > > I can get some work done. I got a copy of Tom's RtBt. Following its
> > > > > instructions, I:
> > > > >
> > > > > # mount /dev/hda6 /mnt
> > > > > # mount /dev/hda1 /boot
> > > > > # chroot /mnt /sbin/lilo
> > > >
> > > > Try this instead:
> > > >
> > > > mount /dev/hda6 /mnt
> > > > mount /dev/hda1 /mnt/boot
> > > > chroot /mnt /sbin/lilo
> > > >
> > > > Yeah, minor detail, but kind of important. If /boot/boot.b isn't
> there,
> > > > LILO gets confused.
> > > >
> > > >
> >