Re: fatal error on RH partition
In linux.debian.user, you wrote:
> hey all,
>
> in trying to partition this machine up and install various OSes on it,
> i've managed to screw up a lot. there's a redhat install on a
> different partition, and though i can mount it, i can't boot into it.
>
> more specifically, if i add a stanza (really basic, like below) to my
> /etc/lilo.conf and run lilo, i get the following error:
>
> Fatal: First sector of /dev/hda5 doesn't have a valid boot signature
>
> the stanza i add to /etc/lilo.conf looks like this:
>
> other=/dev/hda5
> label="RedHat(hda5)"
>
> pretty basic.
Boot into Debian.
mount /dev/hda5 /mnt
cd /mnt/boot
cp vmlinuz-whateveritis /boot/vmlinuz-rh (or some similar name)
cp System.map /boot/System.map-rh (or the same ending as vmlinuz)
cd
umount /mnt
Then edit /etc/lilo.conf and change that two lines you show to:
image=/boot/vmlinuz-rh
label=RedHat
read-only
root=/dev/hda5
Save /etc/lilo.conf
Then do: /sbin/lilo
That should work.
Anita
Reply to: