Well I'm very stubborn on this
You must have the possebillity to set the bootdevice in your BIOS to do it my way.
I have a IDE master and a Sata which can be master as well slave.
I set the IDE as first bootdevice in BIOS and install windows on it.
Then select the Sata as bootdevice in BIOS and install Ubuntu on it.
[don't unplug your IDE hdd]
GRUB will be installed on the Sata drive and detects windows and add it to the menu.lst.
Also fstab will be up to date!
Only thing to do is to map your hdd's in menu.lst because windows likes to be on the first boot device.
What I have achieved this way,I can boot windows and Ubuntu from GRUB,but if GRUB is corrupted for what reason,I can change the boot device in BIOS or by pressing F11 to change it to the IDE hdd and boot windows with its own bootloader.Code:# This entry automatically added by the Debian installer for a non-linux OS # on /dev/hda1 title Microsoft Windows XP Professional map (hd0,0) (hd1,0) map (hd1,0) (hd0,0) rootnoverify (hd1,0) savedefault makeactive chainloader +1
This is the most comfortable way to use dual boot with two hdd's.
By the way,reinstalling GRUB with the live cd is very easy to do and cost no more as 10 minutes.
I'm much more concerned about gparted where you could erase the wrong partition and lose a lot of data by a mouse click.
Resistance is futile.....you will be assimilated!
Registered Linux User 418427.
#Ubuntu User 3226#
Yep all good and so, but..
it would be even better if the hd with ubuntu is the master and windows hd is the slave.
Everything would work just like in your example (no grub in windows drives mbr), but you wouldn't have to do anything in the bios, and in all bios:s it propably even isn't possible to select the booting drive..
But if you have ubuntu in master, then when you boot you would go to grub, and you can select which os is booted. The only thing you would have to do is edit /boot/grub/menu.lst and add windows to your grub..
title Windows NT/2000/XP (loader)
map (hd0,0) (hd1,0)
map (hd1,0) (hd0,0)
rootnoverify (hd1,0)
makeactive
chainloader +1
remapping hd:s when booting to windows from slave drive is nesessary, because windows wants to think it is in the master drive..
and if you remove either hd from your machine, the other one would work normally lik in your example...
_______________
- anaconda
lol....i wondered when you were going to get round to that.
I just took a master hd with windows out of another pc,swapped its jumpers over to slave and was going to keep things tidy like you say....
Somehow though edgy ended up on the thing and i forgot all about f8
Last edited by xpod; October 16th, 2006 at 09:42 PM. Reason: ?
For those who can access a "Boot device selection menu" (and that's the majority of PC's) doing it the way I suggest completely avoids having to muck about with Grub.
But I agree that for those who don't have this facility your method is preferable to having Grub over the MBR on the Windows drive.
I have posted elsewhere on this, and think there should be more warnings for new users about the potential problems associated with the standard single drive dual-boot set-up.
Last edited by bulldog; October 16th, 2006 at 09:51 PM.
Resistance is futile.....you will be assimilated!
Registered Linux User 418427.
#Ubuntu User 3226#
Well you and I have a different view on how to install on two hdd's.
Both are good and trusty.
In my opinion is my way a little more comfortable,but you will disagree I suppose.
You promote your way and I mine lol.
Resistance is futile.....you will be assimilated!
Registered Linux User 418427.
#Ubuntu User 3226#
Aha! it works with RAID too!
http://www.ubuntuforums.org/showthread.php?t=279947
Bookmarks