Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
after having installed a new kernel I configured lilo so it will boot with the new kernel but when i run lilo I get this error.
Code:
Fatal: First sector of /dev/hda1 doesn't have a valid boot signature
fdisk -l /dev/hda gives:
Code:
Device Boot Start End Blocks ID System
/dev/hda1 1 62 497983+ 82 Linux/swap
/dev/hda2* 63 1886 14651280 83 Linux
/dev/hda3 1887 4865 23928817+ 83 Linux
anyone who knows why it does what it do, and what to do to correct it?
"Fatal: First sector of /dev/hda1 doesn't have a valid boot signature"
This messge means that lilo has been told to install its boot record on /dev/hda1 and that is an invalid place to put it. In your lilo.conf the line:
boot=/dev/hda
tells lilo to put its boot record on the MBR. Did you tell lilo otherwise when you ran the lilo command? If you just ran the command:
lilo
then lilo should have placed the boot record on the MBR and everything should work OK.
Not sure of the various alternatives you have tried, but
When the command
lilo -b /dev/hda
is issued while you are running the Linux as the root user, Lilo would report any error if there is one. Normally it would confirm every booting entry has been "added" or reports a "fatal error" if it finds the partition unbootable.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.