Click to See Complete Forum and Search --> : lilo win98 prob
PeterP
08-07-2001, 11:45 PM
I've just moved my win98 partition from hda1 to hdc1, so as to give myself all of hda for linux. I had things working really well until I changed the old dos partition on hda1 (which I had shrunk down to a few megs) to an ext2 partition -with partition magic. Then I found I had nothing on the mbr. After much buggering about with lilo I have linux up and running again but I can't boot win . Even the win98 boot disk can't get win running ('missing system files' message?). Lilo has a go at it but then stops with a 'L?'. Anyone got any thoughts on where my problem may be? Both OS's were working ok from their current partitions until I changed hda1 from dos. Anything I can say to make things clearer?
Thanks, peter.
bdg1983
08-08-2001, 05:29 AM
There is a way to do it though I cannot remember exactly what the map command should be.
In the windows section of /etc/lilo.conf, you need to add 2 map commands.
It's been posted here before quite a few times and you may also find the answer at Google or the Lilo how-to's either installed on your system or at linuxdoc.org
PeterP
08-08-2001, 06:33 AM
OK, I'll have another look. But there's a hell of a lot of info on booting problems to sift through....I've done quite a few hours of searching and reading already, so if anyone knows exactly which document I should be looking at give me a yell. If you reckon it's been discussed here I'll do a proper search (I only looked as far back as about two weeks).
Thanks.
bdg1983
08-08-2001, 07:32 PM
Windows is expecting to be the first disk in your computer, and does not know what to do when you try to boot is as the second drive. In order to work around this, you must modify your lilo.conf file so that the entry for Windows looks like this:
Searched Google for 'windows second drive lilo' and the first one I checked had this.
other=/dev/hdb1
label=win
table=/dev/hdb
map-drive = 0x80
to = 0x81
map-drive = 0x81
to = 0x80
Should work...
PeterP
08-08-2001, 08:43 PM
Thanks v much. I've never had a great deal of luck with google in the past but your post seems to suggest that maybe I'm asking the wrong question (or something). I'll try it first next time, phrasing questions differently. I really have dug up and read somewhere near a hundred pages of info on lilo & dual booting in the past few days -without finding a useful reference to my problem.
Thank you, again, though. I'll try your suggestion tonight & post a reply then.
bdg1983
08-09-2001, 05:53 AM
Your quite welcome.
Searching using any of the search engines takes a little trial and error before you get the exact results you want. Sometimes it's just a lucky guess.
PeterP
08-09-2001, 09:40 PM
MD, that was Majorly Helpful (it worked).
Thank you.
Looking back through my notes, I had found something on tuesday which suggested your solution but for some reason it didn't seem at the time to apply to my situation.
At least now I have reams of lilo/boot info for future reference. I'll read through everything now & try to understand exactly what I've done and how it works. Cheers.
bdg1983
08-10-2001, 06:41 AM
Keep you lilo notes handy as we have a lot of lilo questions posted here and we need an expert.
I use Grub so I don't know that much about lilo. Just what I remember from what I've read here.