Dual Boot SATA and PATA?
Paul Gear
paul at libertysys.com.au
Tue Nov 3 21:51:40 GMT 2009
The Wassermans wrote:
> I currently have Ubuntu 8.04 loaded on a SATA and dual boots with
> Windows XP.
>
> Because I needed a clean install of XP, I decided to take the
> opportunity to install XP on a spare PATA drive, Fully expecting to be
> able to simply redirect the dual boot instruction to fire up XP on the
> PATA drive in the same way as it did previously.
>
> At present I can only access the XP when I want to by changing the Boot
> priority in the BIOS each time. It works but I don't like it.
>
> I need some guidance please.
Hi Dave,
You definitely should be able to do what you're after. What order is
your BIOS set to boot in? SATA first?
If it's booting from SATA first, then your SATA drive should be (hd0) as
far as grub is concerned, and (hd1) should be PATA, although this may
not hold true for all BIOSes - i'm not sure whether the order is
determined reliably.
On my system, it's similar (Ubuntu on SATA, Windows on PATA), but
because it books first from PATA, the drive numbers are the other way
around. The relevant parts of my /boot/grub/menu.lst entries look like
this:
---------------8<-------------------
...
### BEGIN AUTOMAGIC KERNELS LIST
...
title Ubuntu 9.10, kernel 2.6.31-14-generic
root (hd1,0)
kernel /vmlinuz-2.6.31-14-generic root=UUID=... ro quiet splash
initrd /initrd.img-2.6.31-14-generic
quiet
...
title Ubuntu 9.10, memtest86+
root (hd1,0)
kernel /memtest86+.bin
quiet
### END DEBIAN AUTOMAGIC KERNELS LIST
# This is a divider, added to separate the menu items below from the Debian
# ones.
title Other operating systems:
root
# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/hda1
title Microsoft Windows XP Home Edition
root (hd0,0)
savedefault
makeactive
chainloader +1
---------------8<-------------------
So i think you should be able to clone the Windows part of my config and
just change the drive number.
Let me know if any of this doesn't make sense.
Regards,
Paul
-------------- next part --------------
A non-text attachment was scrubbed...
Name: paul.vcf
Type: text/x-vcard
Size: 203 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/ubuntu-au/attachments/20091104/28a26bc2/attachment.vcf
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 4646 bytes
Desc: S/MIME Cryptographic Signature
Url : https://lists.ubuntu.com/archives/ubuntu-au/attachments/20091104/28a26bc2/attachment.bin
More information about the ubuntu-au
mailing list