SlackwareThis Forum is for the discussion of Slackware Linux.
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.
I've installed Slackware 2.4.18 and worked smoothly. Right now everytime I run my computer, I boot from floppy disk.
I want to change to boot directly from my hardisk. How to do that ?
I've tried to install lilo from Slackware CD. When I tried to boot from hd, I can see Linux logo, and loading configuration.
The problem is I got message :
VFS : Insert root floppy and press ENTER
If I just press enter it show :
VFS : cannot open root device "202" or 02:02
Please append a correct "root=" boot option
Kernel panic : VFS : unable to mount root fs on 02:02
In my lilo.conf :
label = Linux
My hardisk have 2 partition, 1 for linux and the other one for swap.
What should I change ?
I don't think the mount command has much to do with your problem, because if lilo were functioning correctly you wouldn't be prompted for it. What you have posted from your lilo.conf looks correct, could you post the complete lilo.conf? The problem may be earlier in the file. While you're at it, could you also post your fstab to check if you are mounting your root partition correctly and (just for s#|+s and giggles) the output of fdisk -l to check that your root partition is /dev/hda1. You should also check that you have a suitable kernel in /boot/vmlinuz. And I assume that you remembered to run /sbin/lilo after you edited your lilo.conf, and you did take out your boot floppy :-)
Yeah, any time you make a change to lilo.conf, you must run /sbin/lilo (as root) for the changes to take effect.
I don't think you need the 'change-rules' and 'reset' options in your lilo.conf. The rest looks good. But since you only have one OS (Linux), you might as well take out or comment out the 'prompt' and 'timeout' lines, or at least shorten the timeout period. You'll want to put those back in when you're trying out a new kernel, in which case you'll add another entry for the new kernel. Just a suggestion.