Saturday, July 18, 2009

Howto mount a new partition

View partitions:
sudo fdisk -l  (/dev/sda3)

Create a mount point:
sudo mkdir /storage

Edit the fstab:
sudo cp /etc/fstab /etc/fstab_backup

sudo nano /etc/fstab
Add:
/dev/sda3 /storage ext2 defaults 0 0

Refresh:
sudo mount -a
´

Owner:
sudo chown -R xbmc:xbmc /storage

Access:
sudo chmod -R 755 /storage




2 comments:

  1. this is very nice blog. thanks

    ReplyDelete
  2. Thank you!
    I is mostly my notes for my HTPC project. I will try to clean up and write down some more information that could be useful.

    ReplyDelete