Adding second hard disk with windows to boot with grub on first hard disk
Hi all.
I have a sata 320 gb with mandriva linux 2009.1 on it.And it is what curently atached to my cpu. It is shown as 'sda' in the partition table. I also have another 40gb hard disk with windows xp installed on it.It is shown as 'hda' in the partition table . Now what i want to do is attach this 40gb hard disk to my pc and configure grub on my 320gb hard disk('sda') so as to boot windows xp(which is residing on the second hard disk,'hda') Can anyone tell me if what im doing is feasible or not ?? If it is feasible,can anyone suggest me how to get it working. I know i just need to add 2-3 lines to my grub.conf, but dont know what exactly i need to write. Pls help !!!!! |
Add something like this to menu.lst
title Microsoft Windows XP Professional root (hd1,0) map (hd0) (hd1) map (hd1) (hd0) makeactive chainloader +1 grub counts with 0 as first disk so hd1 should be your second drive, hope this helps you |
Can anybody pls post a " how to " link on the same .
|
Here is an article that explains the theory of chainloading which is what is done to load windows.
http://www.justlinux.com/forum/showt...hreadid=147959 |
All times are GMT -5. The time now is 04:16 AM. |