LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 11-29-2005, 03:23 PM   #1
firespring
LQ Newbie
 
Registered: Nov 2005
Posts: 6

Rep: Reputation: 0
Slackware won't boot from a hard drive


I just installed Slackware on a second computer and it won't boot from the hard disk. It boots fine when I use the boot floppy, but not from the hard drive. I didn't have this problem with my first install of it on another computer, so I'm thinking I just did something simple wrong with my partitioning or something (although fstab looks okay). I'm hoping someone can give me some suggestion of what I might have done wrong or what to check. (And, I've tried all the things suggested by the Slackware FAQ but I don't think it's a kernel problem.)

Thanks,

R.J.
 
Old 11-29-2005, 03:37 PM   #2
tuxrules
Senior Member
 
Registered: Jun 2004
Location: Chicago
Distribution: Slackware64 14.1
Posts: 1,141

Rep: Reputation: 55
Re: Slackware won't boot from a hard drive

Hi,
Welcome to LQ

Quote:
I just installed Slackware on a second computer and it won't boot from the hard disk. It boots fine when I use the boot floppy, but not from the hard drive. I didn't have this problem with my first install of it on another computer, so I'm thinking I just did something simple wrong with my partitioning or something
Which tells me that there may be nothing wrong with the install...but you may have a bad bootloader. If the partitioning scheme would have been wrong you would not have been able to boot it from floppy.

Quote:
I'm hoping someone can give me some suggestion of what I might have done wrong or what to check.
We can only help if you tell us what steps you followed? Post any errors you get. What bootloader are you using?

Tux,
 
Old 11-29-2005, 03:49 PM   #3
firespring
LQ Newbie
 
Registered: Nov 2005
Posts: 6

Original Poster
Rep: Reputation: 0
I do not know what bootloader I'm using. I do recall during setup that I opted not to install LILO (which I didn't figure I needed because I wasn't trying to set up a dual boot system.

So in the absence of LILO, how do I find out what bootloader I'm using?
 
Old 11-29-2005, 04:09 PM   #4
tuxrules
Senior Member
 
Registered: Jun 2004
Location: Chicago
Distribution: Slackware64 14.1
Posts: 1,141

Rep: Reputation: 55
Quote:
So in the absence of LILO, how do I find out what bootloader I'm using?
None...You need a boot loader irrespective of single, dual or multi-boot scenario. I suggest you boot from from the floppy.

1. Become root
2. run
Code:
liloconfig
3. Follow on-screen prompts and
4. Reboot to check if you've installed lilo correctly.

Tux,
 
Old 11-29-2005, 04:24 PM   #5
firespring
LQ Newbie
 
Registered: Nov 2005
Posts: 6

Original Poster
Rep: Reputation: 0
I tried running liloconf but got a "file or directory" not found. I do not believe LILO is actually installed on my system. There is no /etc/lilo.conf and no /sbin/lilo. So my question then becomes: can I run it from the Slackware installation CD and, if so, how do I permanently install it on my system?

Thanks,

R.J.
 
Old 11-29-2005, 04:35 PM   #6
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Ruhr Area, Germany
Distribution: Slackware64 14.0
Posts: 1,524

Rep: Reputation: 94
You can install Lilo from your Slackware CD. Assuming you have mounted it on /mnt/cdrom do as root:

Code:
installpkg /mnt/cdrom/slackware/a/lilo-22.5.9-i486-2.tgz
liloconfig is included in the Lilo package, so after that you can step further with the suggested "liloconfig".
 
Old 11-29-2005, 04:52 PM   #7
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,983
Blog Entries: 11

Rep: Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879
It's liloconfig, not liloconf, but if lilo isn't there...

Yes, if you can get the system up & running from
CD you can quite easily (re-)install lilo from there,
too ... once the box is booted, mount the CD and
do installpkg /<cdmountpoint>/slackware/a/lilo*tgz

[edit]I was WAYYYYYY too slow :} [/edit]


Cheers,
Tink
 
Old 11-29-2005, 07:11 PM   #8
firespring
LQ Newbie
 
Registered: Nov 2005
Posts: 6

Original Poster
Rep: Reputation: 0
Well guys, I got it working! Thank you all so very much for your help!

I'm off to learn how to fine-tune LILO and to figure out how to set up a mail server on the machine.

Thank you all once again!
 
  


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
Easiest way to copy a boot drive to a new hard drive lsgko Linux - Software 3 05-24-2005 09:38 PM
Installed GRUB on 3rd hard drive, how do I boot 1st drive? jesusphreak Linux - Newbie 4 04-06-2005 09:34 AM
boot from floppy drive then insall linux redhat9 from HARD DRIVE Shiraz Ahmed Linux - Software 0 08-23-2004 05:11 AM
XP Pro will not boot dual boot Redhat 9 one hard drive mamoose Linux - Newbie 10 03-29-2004 08:28 PM
Boot problems, NTLDR missing but trying to boot on second hard drive Outabux Linux - Newbie 0 04-09-2003 05:29 PM


All times are GMT -5. The time now is 01:01 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration