LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 11-07-2003, 05:40 PM   #1
deadlyicon
LQ Newbie
 
Registered: Nov 2003
Posts: 8

Rep: Reputation: 0
Lilo problems redhat 9 windows XP


I use Lilo on redhat 9 dual booting windows XP

Each OS is on its own drive, linux boots fine but XP boots to

Loading WindowsXP
L?

my Lilo conf is:
prompt
timeout=50
default=RedHat9
boot=/dev/hde
map=/boot/map
install=/boot/boot.b
message=/boot/message
linear

image=/boot/vmlinuz-2.4.20-8
label=RedHat9
initrd=/boot/initrd-2.4.20-8.img
read-only
append="hdf=ide-scsi root=LABEL=/"

other=/dev/hdg1
optional
label=WindowsXP


I have no idea how to troubleshoot this. When i disconnect the linux drive which has the master boot record and boot strait off the XP drive it boots fine.


Thanks for the help
--
Jared
 
Old 11-07-2003, 06:19 PM   #2
/bin/bash
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802

Rep: Reputation: 47
You could try this:

other=/dev/hdg1
label=WindowsXP
table=/dev/hdg
optional

You don't need the optional unless this is a drive which might get switched out.
 
Old 11-07-2003, 06:46 PM   #3
deadlyicon
LQ Newbie
 
Registered: Nov 2003
Posts: 8

Original Poster
Rep: Reputation: 0
Same Problem:
Loading WindowsXP
L?

this screen comes up instantly and i cant do anything but cnt-alt-del

any other thought

Thanks so much!
--
Jared
 
Old 11-08-2003, 10:18 PM   #4
/bin/bash
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802

Rep: Reputation: 47
Did you use fdisk and make /dev/hdg1 bootable?

I don't use NT but when using Windows9X on ide drives, windows insists on being on first ide controller specifically on hda drive. So to put windows on hdb you have to trick bios by putting in these lines in the Windows image section.
map-drive = 0x80
to = 0x81
map-drive = 0x81
to = 0x80
 
Old 11-10-2003, 10:56 AM   #5
deadlyicon
LQ Newbie
 
Registered: Nov 2003
Posts: 8

Original Poster
Rep: Reputation: 0
i have run:
fidsk /mbr

on the windows partition from a dos boot disk to fix the mbr of the XP partition to get it bootable when i remove the linux disk. [just to be able to get to it] and becuase I thought i might have had a bad lilo mbr on the hdg1 partition that was giving me the L? when the good lilo from hde was loading hdg.
is fixing the mbr from dos what you meant by "Did you use fdisk and make /dev/hdg1 bootable?"
I have updated the lilo conf file:

/etc/lilo.conf
prompt
timeout=50
default=RedHat9
boot=/dev/hde
map=/boot/map
install=/boot/boot.b
message=/boot/message
linear

image=/boot/vmlinuz-2.4.20-8
label=RedHat9
initrd=/boot/initrd-2.4.20-8.img
read-only
append="hdf=ide-scsi root=LABEL=/"


other=/dev/hdg1
label=WindowsXP
table=/dev/hdg
map-drive = 0x80
to = 0x81
map-drive = 0x81
to = 0x80

same problem, any suggestions?

Thanks a lot man!
 
Old 11-10-2003, 05:14 PM   #6
/bin/bash
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802

Rep: Reputation: 47
When I posted the map-drive I was just suggesting that, it might be necessary. I don't know if it is or not but it probably would not be like that:

This is if windows is on a partition on hdb. It would probably be different for drive hdg.
map-drive = 0x80
to = 0x81
map-drive = 0x81
to = 0x80
I would suggest removeing that.

One thing you can try is replace the append LABEL= with a root= line.
image=/boot/vmlinuz-2.4.20-8
label=RedHat9
root=/dev/hde1
initrd=/boot/initrd-2.4.20-8.img
read-only
append="hdf=ide-scsi"
 
Old 11-10-2003, 05:28 PM   #7
deadlyicon
LQ Newbie
 
Registered: Nov 2003
Posts: 8

Original Poster
Rep: Reputation: 0
[root]# cat /etc/lilo.conf
prompt
timeout=50
default=RedHat9
boot=/dev/hde
map=/boot/map
install=/boot/boot.b
message=/boot/message
linear

image=/boot/vmlinuz-2.4.20-8
label=RedHat9
initrd=/boot/initrd-2.4.20-8.img
read-only
append="hdf=ide-scsi root=LABEL=/"


other=/dev/hdg1
label=WindowsXP
root=/dev/hdg1
table=/dev/hdg

[root]# lilo
Added RedHat9 *
Added WindowsXP
Syntax error near line 19 in file /etc/lilo.conf


i am continuously getting :

[select WindowsXP from lilo]
Loading WindowsXP
L?

I cant search for L? using google beucase google takes the ? as an command and not an argument in the search. I'm lost for options =[


--
Jared
 
Old 11-10-2003, 06:33 PM   #8
/bin/bash
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802

Rep: Reputation: 47
The root=/dev/hde1 needs to be in the RedHat section. The XP section should not have a root= statement.

image=/boot/vmlinuz-2.4.20-8
label=RedHat9
root=/dev/hde1
initrd=/boot/initrd-2.4.20-8.img
read-only
append="hdf=ide-scsi"


Last edited by /bin/bash; 11-10-2003 at 06:34 PM.
 
Old 11-10-2003, 07:27 PM   #9
deadlyicon
LQ Newbie
 
Registered: Nov 2003
Posts: 8

Original Poster
Rep: Reputation: 0
same exact problem.

could this be a problem with the mbe on the XP drive? is there anything I need to do to that drive? lilo seems to write something to it becuase when i yank the linux drive and boot with only the xp drive it needs an "fdisk \mbr" to work

thanks
 
Old 11-10-2003, 07:29 PM   #10
deadlyicon
LQ Newbie
 
Registered: Nov 2003
Posts: 8

Original Poster
Rep: Reputation: 0
changing:
append="hdf=ide-scsi root=LABEL=/"
to:
append="hdf=ide-scsi"
caused:
Kernel Panic: No init found. Try passing init= option to kernel


=[
 
Old 11-11-2003, 11:04 AM   #11
deadlyicon
LQ Newbie
 
Registered: Nov 2003
Posts: 8

Original Poster
Rep: Reputation: 0
it was actualy:
root=/dev/hde1
That was causing the init error
 
  


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
Problems booting windows after LILO install skimmer Slackware 3 11-10-2005 09:15 AM
Problems with RedHat 9 LILO.conf Rudyzplace Linux - Software 0 08-31-2004 02:02 PM
lilo and windows boot problems DuckFiasco Linux - Software 2 04-28-2004 05:07 PM
lilo problems from redhat 9.0 g3nk1 Linux - Distributions 1 06-11-2003 11:04 AM
Lilo problems with RedHat install inner Linux - Distributions 1 08-03-2002 04:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

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