0

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

jart
  • 393

1 Answers1

0

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.