LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 07-22-2004, 01:53 PM   #1
gomeiban
LQ Newbie
 
Registered: Jul 2004
Location: Chile
Distribution: Red hat 8
Posts: 2

Rep: Reputation: 0
Question problems with lilo in a 2nd disk and 2 different SO


Hi,
I'm using two disks. In the first i have Windows XP and in the second I have Windows 2K.

Just I installed Linux red Hat 8 in the second disk in an old partition that I had made some time ago.

WXP is in hda1.
W2k is in hdb5.
Linux is in hdb3

The problem is now, LILO is not working fine. When I turn on the pc, I only see LI (The second-stage boot loader loaded, but could not run), and thje pc stop there.

I can start with LINUX, using a diskette.

This is my lilo.conf file

prompt
timeout=50
default=WindowsXP
boot=/dev/hda
map=/boot/map
install=/boot/boot.b
message=/boot/message
lba32

image=/boot/vmlinuz-2.4.18-14
label=linux
initrd=/boot/initrd-2.4.18-14.img
read-only
append="hdc=ide-scsi root=LABEL=LINUX"

other=/dev/hda1
optional
label=WindowsXP

other=/dev/hdb5
optional
label=Windows2000srv

Somebody can help me to start mi pc from the Hard disk??

Best regards
Patricio
 
Old 07-22-2004, 03:01 PM   #2
mdg
Member
 
Registered: Sep 2003
Distribution: Slackware
Posts: 626

Rep: Reputation: 37
There are a few context errors in the file, unless you copied it by hand and left some things out:

All the label names should be in inverted commas (label="WindowsXP")
I'm not familiar with the "optional" line in the Windows entries. Is that commented out in the file?

As far as I know, the Linux entry should have the line "root=/dev/hdb3" instead of the "root=LABEL=LINUX" part of the append line

Do "cat /etc/lilo.conf" and post the results. Also, is lilo in the MBR or in the / partition?
 
Old 07-22-2004, 03:16 PM   #3
gomeiban
LQ Newbie
 
Registered: Jul 2004
Location: Chile
Distribution: Red hat 8
Posts: 2

Original Poster
Rep: Reputation: 0
Hi MDG,

the lilo.conf file is the same that I posted.

I changed "root=LABEL=LINUX" by "root=/dev/hdb3", but the problem is the same.

I'm not sure where is lilo. I think in mbr, butnI don't know.

Thanks
Patricio
 
Old 07-23-2004, 03:45 AM   #4
mdg
Member
 
Registered: Sep 2003
Distribution: Slackware
Posts: 626

Rep: Reputation: 37
Try changing the WindowsXP entry to:
Code:
other=/dev/hda1
label="WindowsXP"
Save and run lilo -v as root
 
  


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
Booting to 2nd Disk Stingray Linux - Software 2 01-09-2005 11:21 AM
Problems on booting after install 2nd disk drive titocosa Linux - Hardware 9 04-21-2004 05:29 PM
Adding 2nd Linux to LILO froedi Linux - Newbie 11 12-31-2003 06:34 AM
how to boot windows on 2nd harddrive using lilo? kublador Linux - Newbie 11 10-08-2003 10:18 AM
RH 7.1 , 2nd disk will not install mlevi Linux - Software 1 08-06-2001 08:57 AM


All times are GMT -5. The time now is 07:15 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration