[arch-general] how to mount external hdd

Attila attila at invalid.invalid
Wed Feb 18 15:26:57 EST 2009

On Mittwoch, 18. Februar 2009 18:22 Sergey Manucharian wrote:

> I confirm the problem. So, how to mount an external HDD during the
> system start-up?

This is only an idea of mine but i haven't test it.

Take a look in the subirs (by-id, by-label, by-path and by-uuid) of /dev/disk
especially the content of by-uuid with "ls -l". If your partitions of the
external HDD be there than you can put this in the rc.local to mount
partition 1:

[ -e  /dev/disk/by-uuid/UUID_of_ext_HDD1 ] && \
  mount -t YOUR_FS -o YOUR_OPTIONS \
  /dev/disk/by-uuid/UUID_of_ext_HDD1 /MOUNTPOINT

Not so much professional -) but perhaps an working option if udev creates the

Good luck, Attila

More information about the arch-general mailing list