-   Linux - Hardware (
-   -   Just installed a new hard drive and need to mount but having issues (

CurtisCoburn 01-21-2013 07:00 PM

Just installed a new hard drive and need to mount but having issues
Hello. I just installed a new hard drive on my Linux computer. I'm running Ubuntu Studio 12.04 with the Xfce desktop environment.

I did some research yesterday on how to set up the drive, but now I am stuck and would like some help getting to be able to write to the hard drive.
So yesterday I set up the hard drive, partitioned it into one partition (because I only intend to use this for Linux).

The part I'm on now is setting up the home directory, mounting the new drive (sdb1) to the home directory, and accessing permissions to the disk. I started it yesterday, but ran into some problems and went to bed. What I did, was create a folder in the terminal:

sudo mkdir videos

Then I mounted it.

sudo mount /dev/sdb1 /home/curtis/videos

It mounted it, I see the file there in the system file place. But when I try to go into it, or save a file to it, I encounter this error:
"You do not have the permissions necessary to view the contents of "lost+found"."

I'm stuck here. I'm hoping that someone here can help me.
Thank you for answering.

frankbell 01-21-2013 08:40 PM

It would be better and much more Linux-y to mount the drive to /mnt or /media, like any other drive, create a directory on it for user to make use of, then soft link to that directory from user's home directory. This link goes into great detail:

Linux is not designed to accept mounting a drive inside of a subordinate directory.

Something like this:

As root:


mkdir /media/sdb1
mount /dev/sdb1 /media/sdb1
cd /media/sdb1/  <----------Testing
ls -l            <----------Testing; set permissions as needed

As user


cd  <----to make sure you are at /home/[username]
ln -s /media/sdb1/videos

All times are GMT -5. The time now is 03:03 PM.