Slackware This Forum is for the discussion of Slackware Linux.
|
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.
|
|
01-26-2005, 10:06 PM
|
#1
|
Member
Registered: Jun 2004
Posts: 58
Rep:
|
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?
|
|
|
01-26-2005, 11:08 PM
|
#2
|
Member
Registered: Oct 2003
Location: Planet Earth
Distribution: Slackware, LFS
Posts: 561
Rep:
|
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.
|
|
|
01-26-2005, 11:10 PM
|
#3
|
LQ Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298
Rep:
|
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.
|
|
|
01-27-2005, 12:13 AM
|
#4
|
Member
Registered: Jun 2004
Posts: 58
Original Poster
Rep:
|
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?
|
|
|
01-27-2005, 12:24 AM
|
#5
|
Member
Registered: Mar 2003
Location: St. Louis, MO
Distribution: kubuntu-current
Posts: 551
Rep:
|
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
|
|
|
01-27-2005, 12:35 AM
|
#6
|
Member
Registered: Jun 2004
Posts: 58
Original Poster
Rep:
|
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?
|
|
|
01-27-2005, 12:58 AM
|
#7
|
Member
Registered: Jan 2004
Location: Cebu City, Philippines
Distribution: Slackware 10,Gentoo 2005.1,LFS
Posts: 92
Rep:
|
Your harddisk ? Or update LILO ?
|
|
|
01-27-2005, 01:29 AM
|
#8
|
Member
Registered: Oct 2003
Location: Planet Earth
Distribution: Slackware, LFS
Posts: 561
Rep:
|
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.
|
|
|
01-27-2005, 01:45 AM
|
#9
|
Member
Registered: Oct 2003
Location: Planet Earth
Distribution: Slackware, LFS
Posts: 561
Rep:
|
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.
|
|
|
01-27-2005, 04:02 PM
|
#10
|
Member
Registered: Mar 2004
Location: Menomonie, WI
Distribution: SuSE 9.2, Slackware Current, Arch Linux 0.7
Posts: 119
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 04:19 AM.
|
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
|
|