LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (https://www.linuxquestions.org/questions/red-hat-31/)
-   -   Lilo problems redhat 9 windows XP (https://www.linuxquestions.org/questions/red-hat-31/lilo-problems-redhat-9-windows-xp-113562/)

deadlyicon 11-07-2003 05:40 PM

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

/bin/bash 11-07-2003 06:19 PM

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.

deadlyicon 11-07-2003 06:46 PM

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

/bin/bash 11-08-2003 10:18 PM

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

deadlyicon 11-10-2003 10:56 AM

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!

/bin/bash 11-10-2003 05:14 PM

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"

deadlyicon 11-10-2003 05:28 PM

[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

/bin/bash 11-10-2003 06:33 PM

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"


deadlyicon 11-10-2003 07:27 PM

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

deadlyicon 11-10-2003 07:29 PM

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


=[

deadlyicon 11-11-2003 11:04 AM

it was actualy:
root=/dev/hde1
That was causing the init error


All times are GMT -5. The time now is 08:15 PM.