Slackware - Installation This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
03-01-2006, 04:21 AM
|
#1
|
LQ Newbie
Registered: Jan 2006
Location: Sofia, Bulgaria
Distribution: Slackware
Posts: 9
Rep:
|
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
Last edited by nikiiliev; 03-01-2006 at 04:23 AM.
|
|
|
03-01-2006, 04:31 AM
|
#2
|
Senior Member
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145
Rep:
|
Don't worry, you can still boot into Slackware using the CD.
Put CD 1, but normally, once you get to the prompt do this:
Code:
mount /dev/hda1 /mnt
chroot /mnt
liloconfig
In liloconfig choose expert mode and install to MBR.
Be sure you don't have any USB pendrive/harddisk plugged in, it may cause some conflicts...
|
|
|
03-01-2006, 07:56 AM
|
#3
|
LQ Newbie
Registered: Feb 2006
Posts: 12
Rep:
|
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
|
|
|
03-01-2006, 10:01 AM
|
#4
|
Moderator
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,951
|
Quote:
Originally Posted by Bob Oehler
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).
http://oldzipsarchive.dyndns.org/gho...D_homepage.htm
Another way would be rewrite it using dd, this has been covered many times. I'll leave it as a google assignment.
HTH!
|
|
|
03-01-2006, 11:32 AM
|
#5
|
Member
Registered: Apr 2004
Location: new york
Distribution: win2k,ubuntu,sw13,arch,centos5.3
Posts: 815
Rep:
|
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
|
|
|
03-02-2006, 02:19 AM
|
#6
|
Member
Registered: Mar 2006
Distribution: fedora 7
Posts: 62
Rep:
|
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:
Linux *
Windows
Then it should be okay.
|
|
|
03-04-2006, 12:24 AM
|
#7
|
LQ Newbie
Registered: Jan 2006
Location: Sofia, Bulgaria
Distribution: Slackware
Posts: 9
Original Poster
Rep:
|
I overwrote MBR with fdisk, now everything works fine. Thanks everybody for the help.
|
|
|
All times are GMT -5. The time now is 09:16 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|