Hosed my system. Knoppix won't fix it.
David A. Bandel
david
Mon May 17 11:46:30 PDT 2004
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.linux-sxs.org/pipermail/linux-users/attachments/20030412/b030fccc/attachment.pgp
More information about the Linux-users
mailing list