Re: having trouble keeping external drive at one drive



Nils Kassube wrote:


If by drive letter you mean the device name, then the answer is no. The
kernel uses the device names in the sequence it detects the disks and
the time until a specific device is found isn't constant.

Actually, there is a way to give a device a persistent device name.
Unfortunately, there is not yet any reasonably friendly utilities to do
it for you. For the purpose of fstab, UUID is the way to go.

Use sudo blkid to list the UUID of all installed hard drives, including
your removable, and add that UUID to your fstab.



--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users



Relevant Pages

  • Re: having trouble keeping external drive at one drive
    ... If by drive letter you mean the device name, ... For the purpose of fstab, UUID is the way to go. ... Use sudo blkid to list the UUID of all installed hard drives, ...
    (Ubuntu)
  • Re: Gutsy Upgrade problem
    ... /dev/sdb5) instead of uuid. ... You might want to relook at your fstab - they should be sdb vs hdb. ... sdb1 is a dual boot drive for windows. ... Yesterday I ran the command as "sudo update-initramfs -k ...
    (Ubuntu)
  • Re: Need help: Rebooted and now /dev/hdx are /dev/sdx
    ... UUID of your swap device match the UUID listed in /etc/fstab? ... machine to machine and replace your fstab with a different copy? ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
    (Debian-User)
  • Re: Test from Laptop TB Solved
    ... UUID"xxxxxxxxx" like that and I removed the " when I put it in fstab. ... Just to clarify, the blkid command doesn't generate the UUID, it just ... to mount, it should drop some useful error message. ...
    (Ubuntu)
  • Re: Test from Laptop TB
    ... UUID"xxxxxxxxx" like that and I removed the " when I put it in fstab. ... Just to clarify, the blkid command doesn't generate the UUID, it just ... to mount, it should drop some useful error message. ...
    (Ubuntu)