[ubuntu-uk] IDE -> SATA

Rob Beard rob at esdelle.co.uk
Thu Dec 6 19:36:57 GMT 2007


norman wrote:
> < snip >
> 
>>> 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 thought that part of the idea of doing the way I suggested was so that
> when booting one would have a choice between Ubuntu and Windows. Is that
> not correct then?
> 
> Norman
> 
> 

You'll need the following:

title Windows
rootnoverify (hd1,0)
chainloader +1

Just leave out the map lines.  I would have thought that would do the job.

Rob




More information about the ubuntu-uk mailing list