Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I wanted to know how to make my secondary drive for documents, music, and pictures. I already formatted the drive and mounted the drive in /media/bigdata. Now I just want to know on how to make all my file go to that drive or at least have access to it, so I can put in files. Thanks.

** This is what I get when I try to move a file to the new mounted hardrive. This is what I get when I try to move a file to it. Error opening file '/media/bigdata/uninstalling wine.odt'. Permission denied.

How do I use chown to change my permissions in my new drive, so I can copy and paste on it?

Here is my original post of the process. How to add a second hard drive to an already installed Xubuntu 14.04?

* When I go to the new partition drive and I open the terminal in that location and I type Ls -L this is what I get total 16 drwx------ 2 root root 16384 Jul 3 10:05 lost+found

share|improve this question

Just copy them ?

cp -r ~/{Pictures,Videos,Music} /media/bigdata

Or maybe move them ?

mv ~/{Pictures,Videos,Music} /media/bigdata

Just adapt these commands. What you write in /media/bigdata is written to the external drive mounted there. However, if you want to use this drive as your /home partition, that's another thing. Quoting from this page :

If you don’t create a separate home partition while installing Ubuntu, you don’t have to reinstall Ubuntu from scratch. To migrate to a separate home partition after installation, you’ll have to create a new partition (which may require resizing your existing partitions), copy the files from your existing home directory to that partition, and tell Ubuntu to mount the new partition at /home.

As you're using the whole drive, you probably don't need to partition it much more. Copying/moving is handled by my above commands. As far as auto-mounting is concerned, you might want to have a look at the fstab file. GNOME also offers device auto-mounting GUIs that mount your drive to /media/bigdata after login. Basically, most USB storage devices are auto-mounted anyway.

In you're not really at ease with disk management and system partitionning, just move your files to the drive, and leave your /home partition where it is. You might just need to configure your system to mount the external drive at /media/bigdata.

share|improve this answer
Also, in order to serve as the /home partition, the file system should be formatted as ext4. – Jos Jul 1 '14 at 8:24
@Jos Even though it's becoming a standard, ext4 is not the only possibility. Linux can mount numerous filesystems, no matter if it's /home or another partition. – John WH Smith Jul 1 '14 at 13:24
True. But you need a permissions system like ext4 offers, or your home partition will become a mess. – Jos Jul 1 '14 at 13:43
@JohnWHSmith this is my original problem which I solved, but now I can't even copy or paste to the new drive.… – jart Jul 2 '14 at 4:08
@jart Then maybe you should provide us with more information about the new error. Edit your question and tell user "why" you can't copy :) – John WH Smith Jul 2 '14 at 13:32

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.