Click to See Complete Forum and Search --> : problem booting windows from second hd


meatron
08-11-2001, 12:29 PM
I have an ABIT be6-II mobo with an ata100 controller on it. Attached is a 45gig ata66 western digital hd (Mankdrake 8.0 on this one) and a 40gig ata100 wertern digital hd (windows98 on this one). I can boot into linux just fine but when I select windows it says "booting windows" but nothing happens, no hd activity at all.

Here is my lilo.conf which mandrake generated....

boot=/dev/hde
map=/boot/map
install=/boot/boot.b
default=linux
keytable=/boot/us.klt
lba32
prompt
timeout=50
disk=/dev/hde bios=0x80
message=/boot/message-graphic
menu-scheme=wb:bw:wb:bw
image=/boot/vmlinuz
label=linux
root=/dev/hde1
append=" quiet"
vga=788
read-only
image=/boot/vmlinuz
label=linux-nonfb
root=/dev/hde1
read-only
image=/boot/vmlinuz
label=failsafe
root=/dev/hde1
append=" failsafe"
read-only
other=/dev/hdg1
label=windows
table=/dev/hdg
map-drive=0x80
to=0x81
map-drive=0x81
to=0x80
other=/dev/fd0
label=floppy
unsafe


I did a search and found a couple sites that said you needed...
map-drive=0x80
to=0x81
map-drive=0x81
to=0x80
...in your lilo.conf to boot windows from another hard drive. So I checked and that was already in there. I tried to search this forum but it kept timing out.

Any help would be appreciated :)

meatron
08-11-2001, 12:56 PM
oh yeah one more thing, if I leave the linux hard drive unplugged and turn on the computer it will boot into windows all by itself no problem.

Disciple
08-11-2001, 01:00 PM
Well, your lilo.config is a lot more complicated then mine, but I know to avoid your problem I would simply have all my OSes on one HD and format the other drives as the partition type you desire. I know that's probably not the answer your looking for, but I do believe that if you come to a dead on this and are unable to get the answer your looking for that I would highly recommend just putting your windows and linux partitions on one HD and have the other harddrives as file backups and so forth. =/

I know that wasn't what you were looking for, but I do wish the best of luck to you. D|s

pbharris
08-11-2001, 01:22 PM
Hum - what happens when you type /sbin/lilo as root?

lilrabbit129
08-11-2001, 01:44 PM
i have no clue about Lilo, but i would suggest putting or just making your win partition your master, i heard somewhere that win doesn't like being on a secondary drive...

meatron
08-11-2001, 02:08 PM
#/sbin/lilo
Added linux *
Added linux-nonfb
Added failsafe
Added windows
Added floppy
#

saeed_contractor
08-11-2001, 06:17 PM
I agree put win on the 1st partition on the 1st hd, it doesn't like being second.

undef
08-11-2001, 06:30 PM
windows won't boot on a secondary drive. first make a bootdisk for your mandrake and then switch the jumpers around so your windows partition becomes the master. then re-configure and re-run lilo.

bdg1983
08-11-2001, 06:45 PM
Windows wil indeed boot from a device other than primary/master.

The map commands in either /etc/lilo.conf or /boot/grub/menu.lst will allow Windows to boot from a 2nd drive.

meatron... Have you successfully booted since you've rerun /sbin/lilo?

If you still have a problem, then try removing

disk=/dev/hde bios=0x80

from lilo.conf and rerun /sbin/lilo.

Note: Always make sure you have a workable bootdisk before making any such changes and make a backup copy of lilo.conf.

meatron
08-11-2001, 08:46 PM
meatron... Have you successfully booted since you've rerun /sbin/lilo? Yes, but still couldnt boot windows.



If you still have a problem, then try removing

disk=/dev/hde bios=0x80

from lilo.conf and rerun /sbin/lilo
Just tried this and still get same problem.

I guess I should also be a little more specific. My motherboard has four ide channels. ide 1 and 2 are regular and ide 3 and 4 are ata100. I have the linux and the windows hard drive on their own channels. If I simply unplug the linux hard drive windows will indeed boot all by itself.

Thanks all so far :) hopefully somebody'll stumble across here with a solution. It sure seems like I'm doing everything right....

[ 11 August 2001: Message edited by: meatron ]

bdg1983
08-12-2001, 02:38 AM
I did a Google search for 'windows on hdg1' and just found 3 pages of hits.

One of those (in some language other than English), there was this

other=/dev/hdg1
table=/dev/hdg
label=Windows
#_________________________________
# map-drive=0x80
# to=0x81
# map-drive=0x81
# to=0x80
# disk=/dev/hdg bios=0x80
# append="ide=reverse"

I don't know if the commenting out was due to a problem or if it should work. Your disk=/dev... is up at the top of your config. Perhaps it should be in the Windows section.