Re: [F8 i386] Drive mount locations change at startup.



Bill Davidsen wrote:
Scott wrote:
I've got 4 internal and two external hard drives.

Every time I boot and log in I find at least one of my internal drives mounts in a different directory than it had previously (the others may as well, but I've not yet noticed - read on).

It's never the same directory (it's either "/media/disk" "/media/disk-1", or "/media/disk-2" or "/media/disk-3").

I've got a symlink from a directory in ~/ to a subdirectory on one of my internal drives and it breaks with every boot.

Is this a bug or a feature? ;)

How might I get my drives to mount in the same place every time?

Use the UUID in /etc/fstab instead of whatever you are using now. Some people may use the filesystem label, but I'm always afraid that when or if I move the f/s to a larger device the name will not change, and if I plug in the old device it will mount. Using UUID will keep you from that particular problem.


If you put a label on your drive it will mount under the label.

If you name your drive Scott_1, it will be mounted as /media/Scott_1
not disk-x. I do this with all my sticks and cards to identify them easier. It is nice at work as we all have the same brand/model/type of stick. I can plug mine in and my name shows up.


--
Robin Laing

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list



Relevant Pages

  • Re: [F8 i386] Drive mount locations change at startup.
    ... Every time I boot and log in I find at least one of my internal drives mounts in a different directory than it had previously. ... Use the UUID in /etc/fstab instead of whatever you are using now. ... Some people may use the filesystem label, but I'm always afraid that when or if I move the f/s to a larger device the name will not change, and if I plug in the old device it will mount. ...
    (Fedora)
  • Re: Mounting USB PEN DRIVE??!
    ... that should say mount -t vfat /dev/sda1 /mnt/usb ... > on getting LAS knoppix to boot from my USB drive. ... >> when i plug in my usb pen drive it detects it, ...
    (alt.os.linux.redhat)
  • Problems booting after new motherboard - label /1 not found
    ... I have been using FC4 as a MythTV box for 18 months or so now and all has been well. ... Booting the kernel. ... mount: error 2 mounting ext3 ... The other volume I have is the data volume and is JFS on LVM, this I guess is where the error occurred during mount so is probably not really an issue at the moment, as the boot and root partitions are fine. ...
    (Fedora)
  • Re: fsck at boot, skip a disk ?
    ... I just noticed something stupid of the Fedora boot. ... At boot, fsck stops and drops me a line or I mount ... This will boot the system with just the "/" file system mounted. ... Also note that the when the list of file system types after the -t ...
    (Fedora)
  • Re: password recovery in RAID1
    ... boot cdrom -s ... mount my secondary device /a ... (add a password to root) ... mirror, however other mirror shall be intact. ...
    (SunManagers)