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 Linux/Debian installed on one hard disk,
and I have Windows/XP installed on another hard disk.
I connected both of them on the motherboard, and when the computer starts up,
'grub' shows just the Linux boot options (and they work ok).
How can I add windows on this boot list.. I know i have to add something
in /boot/grub/menu.lst but i dont know what...(the example in menu.lst adds
something on the boot list but doesn't load windows.. it just freezes).
I tried 'df' to check if I could see both hard disks info, but all
i could see was info for hda1 (linux). So i went in /ets/fstab and mounted the second hard drive(windows) .. and now i can see it (an its content) as /hdb1 ..but the problem is how do I boot windows??
title Windows XP root (hd1,0)
makeactive
chainloader +1
I'm pretty sure that should be
root (hd0,0)
...assuming that XP is on the first partition. If XP is not on a primary partition (it usually is), GRUB can't boot it. You can tell by executing fdisk -l (lowercase L). If XP is on hda1, hda2, hda3 or hda4 (or hdb), then it's on a primary partition.
The reason for the (hd1,0) is because mfrangos79 made this statement.
Quote:
I tried 'df' to check if I could see both hard disks info, but all
i could see was info for hda1 (linux). So i went in /ets/fstab and mounted the second hard drive(windows) .. and now i can see it (an its content) as /hdb1 ..but the problem is how do I boot windows??
It's also why I added the "map" section in my post, which is what you want to do if windows is on the second hard drive hdd.
However you are quite correct that it should be (hd0,0) is windows is on the primary partition.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.