Results 1 to 2 of 2

Thread: How to let Ubuntu 7.10 & 8.04 always mount the same external HD on the same directory

  1. #1
    Join Date
    Jan 2008
    Beans
    1

    How to let Ubuntu 7.10 & 8.04 always mount the same external HD on the same directory

    Dear all
    I've already known that Ubuntu use UUID to identify & mount HDD in /etc/fstab. Is there any way I can take advantage of this UUID to let Ubuntu system mount the same external HDD (through USB) on the same folder every time while I plug the external HDD in.
    Best regard
    Last edited by ICBM; May 12th, 2008 at 01:24 PM.

  2. #2
    Join Date
    Apr 2008
    Location
    Greece, Athens
    Beans
    576
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: How to let Ubuntu 7.10 & 8.04 always mount the same external HD on the same direc

    Yeap, find out the uuid of the external:
    Plug it in and then locate in which device the system mounted it (/dev/?)
    Find it's uuid executing this command
    Code:
    sudo vol_id -u device
    where device is the /dev/? entry (ex./dev/sda1). Once you have it, edit your /etc/fstab and add an appropriate entry as you would do before but in the first column instead of "/dev/whatever" enter UUID=theUUID where theUUID is the result of the above command
    8.10 on HDX16-1050ev
    #22144
    My Ubuntu Blog

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •