|
Home > Archive > Linux Debian support > January 2005 > disaster with LILO, Debian Linux, Windows, and booting
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
disaster with LILO, Debian Linux, Windows, and booting
|
|
| Spongebob Squarepants 2005-01-16, 5:45 pm |
| I did something wrong installing a newly-compiled kernel. Unfortunately, I
forgot to back up /boot, and now I have a mess. I think the map file got
corrupted.
I now have a system which will either boot windows and nothing else or will
print an L and halt depending upon which partition I set with lilo -M.
Windows is on /dev/hda1, Linux root is on /dev/hda4. In lilo.conf,
boot=/dev/hda
root=/dev/hda4
How do I fix this? I'm using Timo's rescue disk to give me access to my
hard disk. (Using rescue root=/dev/hda4 off the Debian install cd's doesn't
work for some reason. It gives me an "unable to open initial terminal"
error and freezes.)
Thank you.
| |
| Bill Marcum 2005-01-16, 5:45 pm |
| On Sun, 16 Jan 2005 11:38:04 -0500, Spongebob Squarepants
<nada@noemail.net> wrote:
> I did something wrong installing a newly-compiled kernel. Unfortunately, I
> forgot to back up /boot, and now I have a mess. I think the map file got
> corrupted.
>
> I now have a system which will either boot windows and nothing else or will
> print an L and halt depending upon which partition I set with lilo -M.
>
> Windows is on /dev/hda1, Linux root is on /dev/hda4. In lilo.conf,
> boot=/dev/hda
> root=/dev/hda4
>
> How do I fix this? I'm using Timo's rescue disk to give me access to my
> hard disk. (Using rescue root=/dev/hda4 off the Debian install cd's doesn't
> work for some reason. It gives me an "unable to open initial terminal"
> error and freezes.)
>
You probably forgot to run lilo when you installed the new kernel.
Or you might need to edit the lilo.conf file. If your old kernel is
still in /boot, add an entry to lilo.conf so you can choose either
kernel.
mount /dev/hda4 /mnt
lilo -r /mnt
--
BOFH excuse #270:
Someone has messed up the kernel pointers
| |
| James Vahn 2005-01-16, 5:45 pm |
| Spongebob Squarepants <nada@noemail.net> wrote:
> How do I fix this? I'm using Timo's rescue disk to give me access to my
> hard disk. (Using rescue root=/dev/hda4 off the Debian install cd's doesn't
> work for some reason. It gives me an "unable to open initial terminal"
> error and freezes.)
I do hope they fix the Debian installer to include a rescue disk.
But try to boot hda4 with Timo's (root=/dev/hda4) and just run lilo.
--
| |
| Spongebob Squarepants 2005-01-16, 5:45 pm |
| Bill Marcum wrote:
> On Sun, 16 Jan 2005 11:38:04 -0500, Spongebob Squarepants
> <nada@noemail.net> wrote:
> You probably forgot to run lilo when you installed the new kernel.
> Or you might need to edit the lilo.conf file. If your old kernel is
> still in /boot, add an entry to lilo.conf so you can choose either
> kernel.
>
> mount /dev/hda4 /mnt
> lilo -r /mnt
After trying this, I get:
L 01 01 01 01 etc.
|
|
|
|
|