Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have 2 hard drive. On the second one, I install windows ME and 2K server. After that I install LINUX (RedHat 7.2) on the first one and I want to use LILO to boot my windows on the second.
But when I configure LILO and reboot, it notify that
"NTLDR is missing."
and cannot load my windows on the second drive.
Please tell me how I can do to boot windows on my drive.
the problem is linux/win98 has overwritten the win2k MBR and you will need:
1. 2K boot floppies
2. a created backup of the lost Winnt mbr file, on the same floppy disk(s).
The RH Linux/lilo FAQs say that rescue of the WIN2K dual-boot configuration is impossible without these 2 things. Next time spend some time making some boot floppies.
When the computer boots up, the bios assigns numbers to the drives ( 0x80, 0x81, 0x82, etc ). Windows likes being the primary master drive. In this case, it's the primary slave drive and it doesn't like being the primary slave drive. So, the lines above remap the primary master and the primary slave drives. Now the primary slave drive thinks it's the primary master drive. Windows is now happy. I hope that helps.
Strange, If I write (uncomment) these line in my Lilo, I get an infinite loop of 81x80x81x80x81x80x81x80x81.... at boot
If I comment just a part of these line, all my HD are duplicated in Windoze (C: is present D: is the same Hd, E: is ok, F: is the same...) so my Windoze Crash (I'm not really surprised)
Lilo is only good for linux at my opinion. So I use LILO for booting Linux ONLY and If I want to boot windoze (I don't use it often except sometimes for games) I tell my BIOS to boot the second HD (so Windoze boot with his own MBR).
Herrrm actually, I think my win HD is primary slave not sure, may be secondary too, don't remember where my cd-rom is... I remember my burner is secondary master, so I think win is secondary slave...
my lilo.conf "map option" look like your right now and it doesn't works.
If your win drive is primary slave, then the map lines I gave to khanhhoan should have worked for you. If it's secondary slave, you would have to try other numbers to get it to work. Maybe 0x83 instead of 0x81. Even then it might not work. lilo sometimes can't get it to work.
I've never seen the errors you were gettting. I'm curious. Could you post a copy of your /etc/lilo.conf file?
It looks OK. You said that you weren't sure if the win drive was primary slave. According to your lilo.conf file, it is primary slave. But, then you said it was secondary slave. If it's secondary slave, then these two lines should be changed from this:
It's primary slave, my drive is really hdb, I done some verification...
Lilo is buggy :P
I tried to comment a part of this map option... And then I got a loop
Any suggestion? I think I will try to "reverse" the map option, but I'm very scared about the result.... If Lilo can duplicate my HD, I really dunno what can happen this time
Half_Elf, are your hard drive jumpers set to primary master and primary slave? Or are they set to " cable select "? If they are set to " cable select ", you need to change them to primary master and primary slave.
Don't comment out part of the " map-drive " and " to " lines. All four lines are needed to remap the drives.
You could try commenting out the " table=/dev/hdb " line. Some people have said it caused them problems.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.