[ubuntu-uk] IDE -> SATA
Rob Beard
rob at esdelle.co.uk
Thu Dec 6 17:36:56 GMT 2007
norman wrote:
> < snip >
>
>> At least this way, if your Windows drive is attached to SATA port 2 and
>> you install Windows on it, Windows will look for the Windows partition
>> on the drive attached to SATA port 2, and it should also install it's
>> MBR on the drive attached to SATA port 2. Then it should be a case of
>> reattaching the Ubuntu drive and altering the grub.conf.
>
> Presumably, after installing Windows, I would reconnect the Ubuntu drive
> and disconnect the Windows drive. Then, make the amendment to grub.conf
> as follows:-
>
> title Windows
> map (hd0) (hd1)
> map (hd1) (hd0)
> rootnoverify (hd1,0)
> chainloader +1
>
> after which re-attach the Windows drive and reboot.
>
> One question, please do I use hd0 and hd1 or do I use sd0 and sd1?
>
> Norman
>
I don't think you'll need the map (hd0) (hd1) or map (hd1) (hd0)
commands. You can change the mappings of the drives in the file
/boot/grub/device.map
My device.map is as follows:
(hd0) /dev/sda
(hd1) /dev/sdb
I did have an IDE drive in there a while ago which was (hd1) /dev/hda
Rob
More information about the ubuntu-uk
mailing list