Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?


  Search this Thread
Old 01-21-2013, 07:00 PM   #1
LQ Newbie
Registered: Jan 2013
Posts: 1

Rep: Reputation: Disabled
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.
Old 01-21-2013, 08:40 PM   #2
LQ Guru
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mageia, and whatever VMs I happen to be playing with
Posts: 13,201
Blog Entries: 18

Rep: Reputation: 3477Reputation: 3477Reputation: 3477Reputation: 3477Reputation: 3477Reputation: 3477Reputation: 3477Reputation: 3477Reputation: 3477Reputation: 3477Reputation: 3477
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] mount Iomega external hard drive on debian squeeze, how to use mount command Foxbat1155 Linux - Hardware 15 02-21-2012 04:55 PM
external hard drive issues - Will not mount, not recognized either. FFM Linux - Server 5 10-12-2011 09:02 PM
New Hard Drive Setup Issues (Is there no hope? Should I take the hard drive back?) complete General 2 07-27-2010 01:08 PM
Ubuntu: Installed to external hard drive; boot to primary hard drive gives error 22 dcorb62 Linux - General 7 09-04-2007 11:28 PM
cannot mount already formatted secondary hard drive on newly installed debian angmar Debian 8 08-05-2005 01:12 PM > Forums > Linux Forums > Linux - Hardware

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

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration