After Installation Slackware Won't Boot & Lilo won't install
Slackware - InstallationThis forum is for the discussion of installation issues with Slackware.
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 Installation Slackware Won't Boot & Lilo won't install
I have made 4 partitions /dev/hda1 reiserfs primary bootable, /dev/hda6 fat, /dev/hda7 ntfs and /dev/hda8 swap(the last 3 logical). I have tried installing slackware on hda1. When I skip the lilo-installation(had read in the slackware book that this should work fine), the system shows "Unable to load operating system" after reboot. I have tried to install lilo in both MBR and the first sector of hda1 but I become the same message "Sorry can't install lilo to..." (or something very similar, the message goes away too fast). My computer does not own floppy drive, so there is no other option for me.
Previously I had Win XP(on the first primary partion) and Slack on hda7 and it was not a problem to install lilo in MBR, so I think there isn't any BIOS restriction. But I want to get rid of windows. Now I don't know what else i can do. Any help would be usefull, for which I want to thank in advance.
_______________________________________
Slackware 10.2 with dafault kernel
Laptop, 1.5GHz,512Mb,hdd 60Gig
Did you use fidsk or cfdisk to make the partitions.
I had almost the same problems when I used cfdisk to make the partitions. When I used fdisk I made my partitions making the swap /dev/hda1 and the root /dev/hda2. Installed the default kernel and put LILO on mbr and all my problems went away.
It seems in cfdisk the hda# is assigned random and with fdisk you say partition #1 is this and #2 is that.
Just goes to show the command prompt is always the best.
Did you use fidsk or cfdisk to make the partitions.
I had almost the same problems when I used cfdisk to make the partitions. When I used fdisk I made my partitions making the swap /dev/hda1 and the root /dev/hda2. Installed the default kernel and put LILO on mbr and all my problems went away.
It seems in cfdisk the hda# is assigned random and with fdisk you say partition #1 is this and #2 is that.
Just goes to show the command prompt is always the best.
Good Luck
Bob Oehler
Hi,
Bob, cfdisk doesn't assign random partition numbers! It assigns the same as fdisk. But there have been issues with cfdisk. I always recommend that you write your partition table then reboot to bring the new partition table that was updated.
As for the OP, your IPL may be corrupted on the MBR. One easy way is to use utility to update/ rewrite the IPL. Ranish is a good choice. You can get it with the SystemRescueCD (live-cd).
How did you wipe you wipe W2000? SW installer can't do it if ntfs partitions involved. PM8($70 and requires win/dos) or qtparted from linux rescue live-cd or mepis,kanotix live-cds can or UBCD4Win or linux version at www.ultimatebootcd.com can also. Debian's partman can too. You can have 4 primary partitions on HD, an extended partitn. can have any number of logical partitns. Linux can install to logical or primary.
Hope you can rescue your SW install. But new install can work with some disk preparation. Happy slacking
Try boot with a win98 cd to DOS CLI, then fdisk/mbr
after that, boot with slackware cd, do all the installations. When get to the lilo installation part, choose expert mode, generate a lilo.conf file, install on MBR. Then skip the lilo install.
When everything is done, goto /mnt/etc, type 'lilo lilo.conf'. If you get something like:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.