LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation
User Name
Password
Slackware - Installation This forum is for the discussion of installation issues with Slackware.

Notices


Reply
  Search this Thread
Old 03-01-2006, 04:21 AM   #1
nikiiliev
LQ Newbie
 
Registered: Jan 2006
Location: Sofia, Bulgaria
Distribution: Slackware
Posts: 9

Rep: Reputation: Disabled
Thumbs up 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.
 
Old 03-01-2006, 04:31 AM   #2
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
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...
 
Old 03-01-2006, 07:56 AM   #3
Bob Oehler
LQ Newbie
 
Registered: Feb 2006
Posts: 12

Rep: Reputation: 0
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
 
Old 03-01-2006, 10:01 AM   #4
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,951
Blog Entries: 46

Rep: Reputation: 3182Reputation: 3182Reputation: 3182Reputation: 3182Reputation: 3182Reputation: 3182Reputation: 3182Reputation: 3182Reputation: 3182Reputation: 3182Reputation: 3182
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!
 
Old 03-01-2006, 11:32 AM   #5
lestoil
Member
 
Registered: Apr 2004
Location: new york
Distribution: win2k,ubuntu,sw13,arch,centos5.3
Posts: 815

Rep: Reputation: 31
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
 
Old 03-02-2006, 02:19 AM   #6
diego_cn
Member
 
Registered: Mar 2006
Distribution: fedora 7
Posts: 62

Rep: Reputation: 16
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.
 
Old 03-04-2006, 12:24 AM   #7
nikiiliev
LQ Newbie
 
Registered: Jan 2006
Location: Sofia, Bulgaria
Distribution: Slackware
Posts: 9

Original Poster
Rep: Reputation: Disabled
I overwrote MBR with fdisk, now everything works fine. Thanks everybody for the help.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Boot/Install Problem with LILO on Slack 10.1 Nalor Slackware - Installation 8 03-23-2005 01:25 AM
Slackware installation - Unable to install LILO csvke Slackware 8 01-19-2005 01:24 AM
New Slackware 9.1 Install & Boot Question acjt Slackware 8 10-30-2003 09:13 AM
I install Slackware on small HDD with LILO, can't boot LILO? kleptophobiac Slackware 4 08-10-2003 04:50 PM
Install Issue - Boot Disk, Lilo & Kernel Swampy Slackware 5 02-07-2003 07:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation

All times are GMT -5. The time now is 09:16 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration