This shows you the differences between two versions of the page.
|
mount_usb [2014/06/28 13:24] olinether Added page for USB HDD mounting |
mount_usb [2014/08/01 16:01] (current) nullredvector [Mounting to a permanent location] |
||
|---|---|---|---|
| Line 27: | Line 27: | ||
| xbian@xbian ~ $ | xbian@xbian ~ $ | ||
| + | Look for the lines that begin with **''/dev/sd...''**. | ||
| When you unplug the HDD these directories will disappear automatically. | When you unplug the HDD these directories will disappear automatically. | ||
| Line 58: | Line 59: | ||
| - | UUID=6e56ad20-5db1-48f3-bca1-c631724c7a51 /home/xbian/downloads ext4 noauto,rw,sync,nodev,noexec,noatime,nodiratime,data=ordered0 0 | + | UUID=6e56ad20-5db1-48f3-bca1-c631724c7a51 /home/xbian/downloads ext4 noauto,rw,sync,nodev,noexec,noatime,nodiratime,data=ordered 0 0 |
| Have a look at the documentation (''man fstab'') for more details. | Have a look at the documentation (''man fstab'') for more details. | ||
| - | ==== How to find you disk's UUID? ==== | + | ==== How to find your disk's UUID? ==== |
| Usually the simplest way is to type ''mount'' and look at the output. Another option is to look into the ''/dev/disk/by-uuid'' folder that contains symlinks to the actual devices: | Usually the simplest way is to type ''mount'' and look at the output. Another option is to look into the ''/dev/disk/by-uuid'' folder that contains symlinks to the actual devices: | ||
| Line 75: | Line 76: | ||
| - | You can also find out using ''blkid'' or ''fdisk -l'' but those commands are not installed by default in XBian. | + | You can also find out using ''blkid'' command when connected as root: |
| + | |||
| + | root@xbian:~# blkid | ||
| + | /dev/mmcblk0p1: SEC_TYPE="msdos" LABEL="xbianboot" UUID="A815-4C22" TYPE="vfat" | ||
| + | /dev/mmcblk0p3: UUID="e9184209-fe43-4ef8-be30-1ee0e701708a" TYPE="swap" | ||
| + | /dev/sda1: UUID="49b67e18-61fd-475a-bf6a-8b100727f03e" TYPE="ext4" | ||
| + | /dev/sdb1: UUID="6e56ad20-5db1-48f3-bca1-c631724c7a51" TYPE="ext4" | ||
| + | /dev/root: LABEL="xbian-copy" UUID="bc525fb5-5301-4146-bfbf-635e20849a3b" UUID_SUB="a3e309d6-00ad-41bc-84ba-b441767b3b97" TYPE="btrfs" | ||
| + | |||