Hosed my system. Knoppix won't fix it.
Joel Hammer
Joel
Mon May 17 11:46:31 PDT 2004
Thanks for the detailed reply on using knoppix.
I decided I had really hosed my boot arrangements and just reinstalled.
This is lindows and so the reinstall was easy and what between clickandrun
and synaptic and apt-get.org, reconfiguring wasn't hard. It is hard not to
like debian.
As to what caused my problem, I blush to say that the most important
clue in my posts today was that I said it had been a long time since I
reconfigured a kernel. So, I left bzImage in /usr/src/linux/etc........
and made a link to to in /. This is all in /dev/hda3.
Clearly, this wasn't what makes lilo happy.
This time I put the bzImage into /boot where it belonged (/dev/hda1), and things
have been better. My system can boot after I run lilo.
However, my new kernel still won't boot although my old ones work. The
old kernels have initrd parameters in lilo.conf, which I have never
used before. So, I need to go read about initrd for a while. Any hints
about initrd gratefully appreciated.
Joel
HaOn Sat, Apr 12, 2003 at 08:37:25PM -0500, David A. Bandel wrote:
> On Sat, 12 Apr 2003 15:30:51 -0400
> Joel Hammer <Joel at hammershome.com> wrote:
>
> > I seem to have hosed my system.
> >
> > After rebuilding the kernel, I guess I ought to have run lilo again,
> > for the umpteemth time, which I didn't bother doing.
> >
> > Now when I try to boot, no matter which image I use, it just hangs up
> > during boot. I booted up with knoppix and chroot'ed to my proper root
> > directory. When I try to run lilo I am told that /dev/hda is not
> > available or somesuch. This is in my lilo.conf
> >
> > boot=/dev/hda
> > map=/boot/map
> >
> > I have also noticed that /boot is empty, no map there!
> >
> > So, the question is, what is the way to get the system to boot again.
>
> boot into knoppix
>
> first, check what you have:
> fdisk /dev/hda
> use p to show what you have for partitions -- likely one is swap and the
> other(s) are linux native.
> mount each linux native and look for etc:
> mount /dev/hda1 /mnt
> ls /mnt
>
> when you find etc, you need to read the fstab file. In it, you probably
> have another partition mounted as /boot. so mount that partition to
> /mnt/boot
>
> now run lilo:
> lilo -r /mnt
>
> cd /
> umount /mnt/boot
> umount /mnt
>
> hit the reset button and take out the knoppix disk.
>
> Ciao,
>
> David A. Bandel
> --
> Focus on the dream, not the competition.
> Nemesis Racing Team motto
> _______________________________________________
> Linux-users mailing list
> Linux-users at linux-sxs.org
> Unsubscribe/Suspend/Etc -> http://www.linux-sxs.org/mailman/listinfo/linux-users
More information about the Linux-users
mailing list