I am trying to install Windows 7 on /dev/sda but whatever drive I install Windows 7 on becomes /deb/sdb. I havent changed any boot priorties in the BIOS.
Could someone please help me understand how Ubuntu 12.04 chooses /dev/sda and /dev/sdb?
bootdual-bootgrub2system-installationwindows
I am trying to install Windows 7 on /dev/sda but whatever drive I install Windows 7 on becomes /deb/sdb. I havent changed any boot priorties in the BIOS.
Could someone please help me understand how Ubuntu 12.04 chooses /dev/sda and /dev/sdb?
Best Answer
The designation /dev/sda and /dev/sdb can be arbitrary as you can see.
From https://wiki.archlinux.org/index.php/Persistent_block_device_naming
and Debian https://wiki.debian.org/Part-UUID
For file systems it's best to use UUID (
/dev/disk/by-uuid/
) or labels (/dev/disk/by-label/
). For raw drives or unformatted partitions you can use IDs (/dev/disk/by-id/
).To identify your disk/partition, use
blkid
The Ubuntu information is here: https://help.ubuntu.com/community/UsingUUID
It may be best to temporarily remove your windows hard drive while you install Ubuntu, then configure your windows partition(s) to mount post install. You can then select which OS to boot in your BIOS.