Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
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 just installed a new physical hard drive, with windows xp on a fat32 partition. Linux recognizes it, mounts ok, and it works fine. I just want to have it listed as a boot option, what do I need to add to grub.conf to make it successfully boot into windows?
k, i read pretty much everything i can get my hands on about grub options and what not.
so heres what im trying to use..
---
title Windows XP
map (hd0) (hd1)
map (hd1) (hd0)
rootnoverify (hd1)
chainloader +1
boot
for some reason when i leave the command "makeactive" in there, it gives me an error 12 invald drive or whatever. but when i take it out, it boots into dos and does the whole looking for boot from cd, floppy, ide-0 thing and then tries to boot from floppy. any ideas?
my grub reads:
title=winxp
boot (hd0,1)
chainloader (hdo,1)+1
the spacing is important and the trickiest part is naming the partition.
hda would be hd0 and hdb would be hd1 and hdc would be hd2 and so on.
then you have got to have a comma and another number representing the partition number first partiton on hda would be (hd0,0) mbr on hda would be just (hd0) you must have the () also yours if its the only thing on hdb would probably be (hd1,0) or in total:
that doesnt solve the problem, im just at the same screen that asks me to insert a floppy, or just loops me to the same screen over and over again, I tried adding in some other options such as map and tried different hd numbers but nothing seems to work
i believe this problem may have something to do with windows but im not sure, im open to anything at this point
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.