LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 03-06-2004, 02:21 PM   #1
JulianS
Member
 
Registered: Feb 2004
Distribution: Slackware
Posts: 44

Rep: Reputation: 15
LILO.conf won't load Linux


Hi, I know I have asked a question alike this, but the people for that question doesn't seem to answer it anymore.

The situation is:

Windows 2000 Pro - C:
Linux - D:

When I select Windows 2000 Pro from the menu it works, but when I select Linux it doesn't work. Tells me "Kernel Panic etc..". The reason to why this doesn't work is because I have switched. I installed Linux while Linux was C:, and now Linux is D:, so I have to change, but changing hda1 to hdb1 won't really work.

Can anyone show me how it should be?

- Julian
 
Old 03-06-2004, 02:48 PM   #2
quatsch
LQ Addict
 
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 48
after editing lilo.conf you must also run lilo:
/sbin/lilo -v
 
Old 03-06-2004, 03:15 PM   #3
JulianS
Member
 
Registered: Feb 2004
Distribution: Slackware
Posts: 44

Original Poster
Rep: Reputation: 15
Okay, didn't know that you had to use an argument, but you still didn't answer my question. How shall the new entry in lilo.conf look like?
 
Old 03-06-2004, 03:18 PM   #4
synaptical
Senior Member
 
Registered: Jun 2003
Distribution: Mint 13/15, CentOS 6.4
Posts: 2,020

Rep: Reputation: 48
unless it's a separate disk, it should probably be another hda, like hda2, not hdb1. if that doesn't work, you should post your lilo.conf and describe your partitioning with more detail so we can help you.
 
Old 03-06-2004, 03:45 PM   #5
Angelo
Member
 
Registered: Mar 2003
Location: Connecticut
Distribution: Slackware, OpenBSD
Posts: 63

Rep: Reputation: 21
Quote:
Originally posted by JulianS
Okay, didn't know that you had to use an argument, but you still didn't answer my question. How shall the new entry in lilo.conf look like?
Why not post your lilo.conf so we can see it? That seems like the logical starting place to me.
 
Old 03-06-2004, 04:45 PM   #6
the_rydster
Member
 
Registered: Nov 2003
Location: UK mostly.
Distribution: Slackware 9.1
Posts: 103

Rep: Reputation: 15
Are both windows and linux on one hard disk? When you mention 'C' and 'D' that sounds like you have installed linux onto an externel drive. If this is so then it get more complicated I think although I have no experience of this.

If it is all on the internal hard drive then If you don't have a boot disk you will need expert help but otherwise :

cfdisk (you may need to be root)

To see what is going on with your hard disks.

This is my /etc/lilo.conf (the useful part anyway)

5 boot = /dev/hda
6 message = /boot/boot_message.txt
7 prompt
8 timeout = 1200

36 image = /boot/vmlinuz
37 root = /dev/hda2
38 label = Linux
39 read-only
40 other = /dev/hda1
41 label = Windows_XP

You must re-run lilo after appending/changing lilo.conf!
 
  


Reply



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
lilo.conf and linux as default boot whitshade Slackware 7 04-26-2005 08:47 PM
lilo.conf Win/Linux Longinus Linux - Newbie 5 08-04-2004 10:05 PM
lilo.conf and lilo.conf.anaconda difference blackzone Linux - General 1 07-06-2004 03:15 AM
help me conf lilo for dual linux boot bosewicht Linux - Newbie 17 09-20-2003 10:08 AM
Hmm my Lilo won't umm Load linux...help please! shadowpuff Linux - Newbie 5 02-05-2003 02:08 PM

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

All times are GMT -5. The time now is 09:41 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