SlackwareThis Forum is for the discussion of Slackware Linux.
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.
Maybe /dev/hda2 is not set to be read at boot time
Quote:
Originally Posted by wakkana12
that's the problem.. earlier im having problem on 2.6.36 custom kernel because it doesn't appear on my lilo even though i followed the tutorial on how to upgrade.. when running /sbin/lilo command it returned that linux2 was added which is my 2.6.36 custom kernel.. but when i restart my computer it doesn't show the linux2 on the lilo. i already posted my lilo.conf and the result of
Code:
ls -la /boot
Could you post output of
Code:
fdisk -l /dev/hda
Anyway, setting /dev/hda2 as bootable is still not enough if you have old lilo installed in /dev/hda MBR.
Good idea to try upgrade first.
It's a good exercice to improve the slackware knowledge.
But if you get annoyed, and you're newbi, or use a single desktop PC, then make a new slackware 13.1 installation and benefit from a clean upgraded machine.
change hda to sda in everything, lilo.conf too
then rerun lilo
if all else fails, change the symlink vmlinuz to point to the 2.6.36 kernel, rerun lilo and reboot
cd /boot
ln -sf vmlinuz6 vmlinuz
/sbin/lilo
after running the
Code:
slackpkg update && slackpkg upgrade slackpkg
it installs everything and also created new kernel and deleted the old one it also creates a symlink to vmlinuz. all i have to do is edit the fstab and lilo.conf then run /sbin/lilo.. after running /sbin/lilo it said that i have added the new kernel.. but after restarting all changes in the lilo doesn't seems to take effect. i still have the same kernel but when running ls -la /boot there's no more 2.6.29.6 kernel and i couldn't enter my x..
what i did is to format my computer.. right now i tried editing lilo.conf and setting the
Code:
timeout = 100
then run /sbin/lilo and restarted my computer.. it still doesn't take effect.. did i miss something?
I have no idea how you managed to boot without kernel in place. Do you happen to have 2 disks?
What says
Code:
dmesg | grep Attached
uname -vr
mount
ls -l /boot/vmlinuz
grep -A 4 -E "^image|^boot" /etc/lilo.conf
If there is no other OS on your machine, then it's safe to install lilo into your MBR (Master boot record). Though always have a live CD handy and expect kernel panic.
Until now, you always put lilo into boot record of partition 2 (/dev/hda2). But it seems that at some point in history, you accidentally put lilo also into MBR (/dev/hda). At boot time, lilo in MBR has precedence over lilo in boot record of your bootable partition.
Now you just need to edit boot line in lilo.conf from
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.