Ubuntu - disk management behaviour

Tom H tomh0665 at gmail.com
Thu Jul 21 17:50:02 UTC 2011

On Thu, Jul 21, 2011 at 1:41 PM, Daniele Guerrieri
<d.guerrieri at gmail.com> wrote:
> have you ever noticed strange behaviours with grub2 and usb key?
> I've got an acer ao5320h netbook, and
> If, for example, the scsi disk is on /dev/sda, and root partition in
> /dev/sda7, when i plug in a usb key the key is under /dev/sdb.
> But if i boot from usb, the usb key becomes /dev/sda, and the first
> disk becomes /dev/sdb.
> So grub2, in which disk references are made of /dev/sd[xn] ,behaves weirdly.
> So, does ubuntu rely on UUID or /dev/sdxn?

Which release of Ubuntu are you using?

In recent releases, grub's used "/dev/disk/by-id/" rather than "/dev/"
to define grub devices.

The fact that you can boot from your HD or from your USB even though
they're named differently shows that Ubuntu doesn't care about the
"/dev/" names, doesn't it?

More information about the ubuntu-users mailing list