LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-26-2005, 10:06 PM   #1
glaz
Member
 
Registered: Jun 2004
Posts: 58

Rep: Reputation: 15
Lilo.conf missing!


After installing Slackware 10, and doing the simple lilo installation, my computer just hangs up at the lilo screen saying "Loading Linux.............."
When i boot in rescue mode and look for lilo.conf in /etc/ there is no such file, even though lilo installation didn't give me any errors. What can I do to fix this lilo issue?
 
Old 01-26-2005, 11:08 PM   #2
DaHammer
Member
 
Registered: Oct 2003
Location: Planet Earth
Distribution: Slackware, LFS
Posts: 561

Rep: Reputation: 30
You're probably in a different root on the rescue disk, ie not the root of your linux install. Mount the drive that contains your root and your lilo.conf should be on it.
 
Old 01-26-2005, 11:10 PM   #3
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Try booting into your system using the installation disk insted of doing a rescue and then check your /etc/lilo.conf. The instructions to boot into a Slack system are available when the installation disk boots.
 
Old 01-27-2005, 12:13 AM   #4
glaz
Member
 
Registered: Jun 2004
Posts: 58

Original Poster
Rep: Reputation: 15
well i made a temp file and mounted my /dev/hda2 on it and i found the lilo.conf however, when i try to run /sbin/lilo it gives me an error saying:
Fatal: Sorry don't know how to handle device 0x0100

any ideas?
 
Old 01-27-2005, 12:24 AM   #5
tw001_tw
Member
 
Registered: Mar 2003
Location: St. Louis, MO
Distribution: kubuntu-current
Posts: 551
Blog Entries: 4

Rep: Reputation: 31
I think this should work for you if you booted to the CD and you mounted the drive.

lilo -b /dev/hda -c /path_to_mounted_drive/etc/lilo.conf

-b to install it on the MBR of your 1st hard drive

-c to use the lilo.conf from the hard drive

I am guessing, if you just typed 'lilo', it is trying to install itself on the device
you booted from (i.e. CD-Rom in your case)

Any questions type man lilo and look through your other options.

-tw
 
Old 01-27-2005, 12:35 AM   #6
glaz
Member
 
Registered: Jun 2004
Posts: 58

Original Poster
Rep: Reputation: 15
why doesn't lilo install correctly?
the first time i installed Slack 10, i had no problems, then i decided to reinstall and now lilo doesn't work the way it should. I've tried to re-install like 5 times already and each time lilo just hangs at the screen. Is it my partitioning?
 
Old 01-27-2005, 12:58 AM   #7
d00msweek
Member
 
Registered: Jan 2004
Location: Cebu City, Philippines
Distribution: Slackware 10,Gentoo 2005.1,LFS
Posts: 92

Rep: Reputation: 15
Your harddisk ? Or update LILO ?
 
Old 01-27-2005, 01:29 AM   #8
DaHammer
Member
 
Registered: Oct 2003
Location: Planet Earth
Distribution: Slackware, LFS
Posts: 561

Rep: Reputation: 30
The error means lilo doesn't understand the disks geometry and can't get the info from the kernel. My guess is you have something wrong in your lilo.conf file. Post it, along with the output of "fdisk -l /dev/hda" assuming /dev/hda is the disk where Slackware is installed. You might also want to try placing the <i>linear</i> directive in your lilo.conf.

Last edited by DaHammer; 01-27-2005 at 01:31 AM.
 
Old 01-27-2005, 01:45 AM   #9
DaHammer
Member
 
Registered: Oct 2003
Location: Planet Earth
Distribution: Slackware, LFS
Posts: 561

Rep: Reputation: 30
Looking up the device number, ie 0x0100, that's /dev/ram0. I'm certain it is not your intent to install lilo to /dev/ram0. Make sure you mount the paritition that contains your lilo.conf file and chroot into it before running lilo. If /boot is not on the same partition as / then you'll also need to mount it. I described how to do this here.

Last edited by DaHammer; 01-27-2005 at 03:43 AM.
 
Old 01-27-2005, 04:02 PM   #10
electronique
Member
 
Registered: Mar 2004
Location: Menomonie, WI
Distribution: SuSE 9.2, Slackware Current, Arch Linux 0.7
Posts: 119

Rep: Reputation: 15
Lilo is probably confused by your HD geometry... but then again LILO is quite antiquated when it comes to bootloaders... try using grub, it's what I use, and it works fantastically
 
  


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
missing lilo.conf after installation Guciacz Debian 2 02-06-2005 11:03 AM
lilo.conf and lilo.conf.anaconda difference blackzone Linux - General 1 07-06-2004 03:15 AM
lilo.conf.anaconda v. lilo.conf rbaird2001 Red Hat 1 04-01-2004 12:16 PM
create lilo.conf or grub.conf through commands newpenguin Linux - Software 1 11-28-2003 08:22 PM
lilo.conf and grub.conf no read access shanenin Linux - Software 1 10-02-2003 03:53 PM

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

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

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