Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
/sbin/lilo error - invalid boot partition
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
thinkpad20
n00b
n00b


Joined: 15 Dec 2003
Posts: 70

PostPosted: Sat Feb 14, 2004 6:12 am    Post subject: /sbin/lilo error - invalid boot partition Reply with quote

I have been a happy gentoo user for some amount of time. But now for some reason GRUB stopped working; I'll prolly post about that later. Anyway, it's unimportant. I unmerged GRUB and emerged LiLo, and now I'm trying to get LILO to work, following the Gentoo install guide instructions. I wrote out my /etc/lilo.conf in the right way, I'm pretty sure. But it gives me an error:

Code:

Fatal: First sector of /dev/hda1 doesn't have a valid boot signature


I ran fdisk to be sure, and /dev/hda1 is set up as a bootable (the only bootable) partition on my drive. I did notice that unlike GRUB, LiLo doesn't seem to have a step to set it up on the MBR. Is this something I have to do? Or is it another problem entirely?

Thanks in advance for all help.

--Allen
Back to top
View user's profile Send private message
plasmagunman
l33t
l33t


Joined: 07 Jun 2002
Posts: 604
Location: berlin

PostPosted: Sat Feb 14, 2004 9:44 am    Post subject: Reply with quote

can you show us your lilo.conf?
_________________
please, feel free to correct my english. - por favor, corrige mi español.
Back to top
View user's profile Send private message
LouTheBlueGuru
n00b
n00b


Joined: 04 Feb 2004
Posts: 44
Location: Fayetteville, AR

PostPosted: Sat Feb 14, 2004 1:51 pm    Post subject: Reply with quote

You have to type /sbin/lilo to get lilo to install in the MBR.
_________________
Lou_The_Blue_Guru

For those working with computers that haven’t figured this out yet: "Everything is related with every other thing ... " -- The Jaina Philosophy of Non-Absolutism
Back to top
View user's profile Send private message
thinkpad20
n00b
n00b


Joined: 15 Dec 2003
Posts: 70

PostPosted: Sat Feb 14, 2004 8:34 pm    Post subject: Reply with quote

Fixed it. I went into fdisk, removed the bootable tag from /dev/hda1, then saved the settings, then went back in and added it back in as the bootable partition. Then I ran /sbin/lilo and it worked fine.

Thanks
Allen
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum