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.
You need to use a boot disk that gives you an environment(morphix, bbc linux, damnsmall linux) or if you have slackware disk 2 it is a live cd as well, and then mount the hard drive, chroot onto it.
Then do these commands:
"lilo -A /dev/hda1"
replace hda1 with whatever your hard drive is
That activates the partition and should now load lilo on boot. During the install of slackware you chose to install lilo to "root" instead of "MBR".
After booting with the Lilo floppy, using startx I was able to boot into KDE.
Namaseit:
So will this "lilo -A /dev/hda1" cmd allow this kernel to boot from the hda1?
Also, I have recently started an installation of Fedora. I was wondering if part of that installation could still be there even though I formatted the drive with fdisk and partitioned the drive with cfdisk?
I have merged the two threads that you had open for this one question, one in the 'Slackware' forum and one in 'Slackware installation'. Please don't post the same question in more than one place, people will just waste time giving you the same answer in one thread as you've already had in the other.
Second. I have reinstalled slack. However this time I made the boot disk. I can boot with it and the OS loads into KDE with startx. However, I would like to install the kernel on the hda1 or another partition.
I have created a partition /boot of a 100MB and made this partition bootable. But i dont know how to install the kernel on this partition.
Should I make my root partition bootable and install the kernel there? IF so how do I install the kernel on this partition.
I guess my question is, how do I install the kernel so that it will boot of of my hard drive and not a floppy?
Run liloconfig again and choose to install lilo to the MBR instead of to the floppy. Or manually edit /etc/lilo.conf and change the line
boot=/dev/fd0
to:
boot=/dev/hda
In liloconfig where it asks which partition to use as root point it to the / partition.
Then run
lilo -v -t
to verbosely test it. If no errors then run:
lilo or /sbin/lilo
to actually install lilo there.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.