Click to See Complete Forum and Search --> : Bootproblem
Icestick
08-08-2001, 05:15 PM
Hi
I'm totaly new to linux, and now i have a problem.
I have Linux on my hda
and Win98 on hdb.
But when i try to boot windows i get the following error message:
loading windows...
Invalid bootdisk
Please insert bootdisk and press a key
I've tried to edit my lilo.conf but it didn't work
other=dev/hdb1
label=windows
table=dev/hdb
Who could help me??
Thanks IceStick,
bdg1983
08-08-2001, 06:33 PM
If you are booting windows from the 2nd drive (hdb) then you need a couple of map commands in /etc/lilo.conf.
Actually someone just posted the same question within the last 24hrs and I suggested the same thing.
The problem is, I don't remember the exact map commands you need. They have been posted here in the past or you could try a Google search for lilo map or something similar and you should be able to find the answer.
Linuxcool
08-08-2001, 11:22 PM
Is that an accurate copy of part of your lilo.conf file? If it is, there are a couple of errors. It should read:
other=/dev/hdb1
label=windows
table=/dev/hdb
The additional code you're thinking of mdwatts is:
map-drive=0x80
to=0x81
map-drive=0x81
to=0x80
So it would look like this:
other=/dev/hdb1
label=windows
table=/dev/hdb
map-drive=0x80
to=0x81
map-drive=0x81
to=0x80
[ 08 August 2001: Message edited by: Linuxcool ]
bdg1983
08-09-2001, 05:48 AM
Thanks Linuxcool.
Actually someone posted the exact same question yesterday and I managed to find and post those map commands from a Google search.
I should have remembered to also post the answer here.
Icestick
08-09-2001, 05:57 AM
LinuxCool
The lilo.conf was like you said.
But later i changed it how i said it.
Because with the map commands it didn't work either.
I didn't know exactly what the map commands were.
But i changed it back how you said it.
It's so strange that when i try to boot windows it's looking for a bootdisk.
But i think it's my 2nd hd that's causing the problem, because when i change in the bios to boot from the 2nd hd, i get the same error. Like my hd can't boot :(
Pretty weird
But thanks anyway
Icestick
08-09-2001, 07:09 AM
Yes i did it! :)
I will tell you how i did it
Their was a little problem when i tried to boot windows
When i Tried; HDB (D :) becomes HDA (c :), because windows can't read linux partitions
Windows is trying to find Win.com on HDB (D :)
Because i installed it on drive D
But because HDB became HDA it couldn't find win.com. :)
What i did was put off the datacable of HDA (linux disk) and reinstalled windows on disk as it used to
after that i put the datacable back in
and it worked :))
I hope you'll get it :)
ps: I'm typing this in windows :)