This is how I added a second hard drive to my Linux computer (it uses Linux Mint but modified to become Audiophile Linux but these instructions should work for most Linux systems)
NOTE the bits that you need to change are shown in
green
Assuming that the drive is physically installed in your computer:
Open a text editor eg Gedit
Then open the terminal, and type
In the output of that command I recognized the drive that I was installing from its size as sdb Hopefully you can too but it shouldn't be too difficult to identify it.
Copy that UUID number, and paste it into Gedit
Returning to the terminal type:
Then:
You will be asked for your password, and then Gedit should open up. (If you get an error message, close the terminal, then open it up again and go back two steps)
It is a good idea to save the existing fstab file under a different name eg fstab-bak in case you mess up and need to start again.
Leave a blank line underneath the existing code and enter:
Quote:
# /dev/sdb1
UUID=5f85ddfd-819d-4041-b685-fc57c4676d9f /home/nick/Music/music ext4 rw,noatime,data=ordered 2 2
|
BUT change the UUID number to the one that you previously pasted into the text editor.
ALSO change nick for the username that you use on that computer.
ALSO if you drive is listed as something other than sdb1, change that too.
Check what you have added to fdtab and make sure that it is correct, particularly the UUID number.
Save the fstab file, and Quit GEDIT.
That has now told the operating system to boot your hard drive up automatically when you start the computer.
But the drive/filesystem needs to boot to a mount point. So create one now as follows:
In the terminal type:
Quote:
mkdir -p /nick/Music/music
|
Again - change nick for your username.
Now to give you ownership of the 'music' directory type:
Quote:
chown -R nick:nick /home/nick/Music
|
And again change
all instances of nick to your username.
Now close the terminal and text editor, reboot the computer, and when it reboots you should see your drive/filesystem on your desktop ready to be used. If not I hope that the good folk here can help you further than I can.