[SOLVED] how do I set up a second hard drive in mint 12 ?
Linux MintThis forum is for the discussion of Linux Mint.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Computer is a HP AMD Phenom X4. The first hard drive is a WD 500 GB, The second added hard drive is a WD 500 GB also. The disc utility does show both hard drives with the first one at 7200 RPM with used space and free space. The second one shows 500 GB of free space and does not show an RPM speed, and nothing is being recorded to it. How do I activate the second hard drive, and will Linux Mint show these as different letter drives and allow me to send files to which drive I want the file to be in, or is it just additional storage when the first drive is full ? I am fine with working programs but know very little about the workings of the computer or the linux software, so it would help if the solution is fully explained.
Do you have Mint installed on the first drive?
Have you had it for some time or is this a new install?
Is the second drive a new drive? or have you used it before? and if so, how?
If you have Mint on the first drive and want to use the second drive, you would need to create a partition, format the partition(s) and if you are using it just as extra space for storage/data for you Mint on the first drive, create a mount point in Mint and mount it. If you give more specific answers someone will give you more detailed instructions.
yancek, thank you for your reply. The computer had both drives installed when I installed Mint 12 and eliminated Vista. The second drive was tested and found to be defective and sent back to WD for a new one. The second drive is new and has been installed in the computer, nothing else has been done to it. Linux Mint is on the first drive where Vista was removed. Linux Mint has been on the computer for about 13 months, the new HD has been installed for about 5 weeks. I would like to use the second HD as extra space for storage/data and would love to know how to create a mount point and mount it. I have about 5,000 vinyl albums and am recording them to a 1 Terrabyte external hard drive and would also like to use the new HD for transitional recording.
Go to your administration menu and find gparted. Use that to set up the drive with a filesystem (You can select the drive from the drop down at the top right corner of the gparted window). Once done you will need to mount the drive to actually use it. You can do this manually as required by creating a mount point and issuing the mount command. For example, assuming you format it with ext4 and that the drive is seen as /dev/sdb and has one partition:
sudo mkdir /media/newdrive
sudo mount -t ext4 /dev/sdb1 /media/newdrive
or you can have it mounted at boot by adding it to fstab. If you post back with your exact configuration we can tell you the entry to make to fstab.
Roken, thank you for the instructions, I went to gparted and formatted the new HD as follows. Partition: /dev/sdb1, format: ext4, Label: F-Drive, size: 465.76 GiB, Used: 7.50 GiB, unused: 458.26 GiB. I tried to use the code you provided to create a mount point and issue the mount command but I must have done it incorrectly. The F-drive icon will not let me open it, it has an X on it and is labeled lost+found. Do I type the first sudo line then enter it, and then type the second sudo line and enter that ? Do I only have to create a mount point and mount command once or every time I want to open the new HD ? If I can just double click on F-drive to open it like the external hard drive I would prefer that. If I have to do it every time I use F-Drive I will have to get better at using code. I clicked on fstab and it is some kind of cloud service, I don't know how clouds work but I do not like my information anywhere but in my computer, I'm not paranoid I just think everyone is out to get everybody. P.S. how much patience does it take to deal with the new kids on the block ?
This will create the mount point and open the fstab file in gedit, which will already have a bunch of stuff in it. At the end of the file (starting on a new line) enter the following:
# Entry for F-Drive
/dev/sdb1 /media/fdrive ext4 defaults 0 0
Then you can either run:
sudo mount -a
or reboot, and the drive should be mounted. If it doesn't appear in your filemanager, navigate to filesystem/media/fdrive and the contents should be listed there. You can create a shortcut to it for easy access if needed.
Roken, thank you for your help. I entered the code in the first block, It will not let me enter one sudo line under the first one it will only let me type in a continuous line, it did not open the fstab file in gedit-it just moves to another line ready to type in. I entered the code in the second block and hit enter and it says etc/F-Drive already exists and moved to another line ready to type in. I entered the code in the third box, hit enter and it moved to another line ready to type in. I went to the file system and found F-Drive and it is in the same condition as before, there is an X on the folder of "lost+found". If I double click on the folder I get a red error notice with the following; The folder contents could not be displayed , you do not have the permissions necessary to view the contents of "lost+found". I have entered my password when it asks for it. I am now wondering if I screwed this up the first time I got the same results and if I should undo everything and start over.
You mean if you navigate to /media/F-Drive and open it you then find Lost+Found there? If so, that's normal. It's a directory that's automatically created on your new partition and is used by fsck (filesystem checker). You should be able to create and delete files on the drive without a problem (don't do anything with lost+found - it's a system directory, as I said).
As for the problem you had in the terminal, are you sure that you typed everything exactly as shown? Usually you will only go to a second line if bash thinks that you haven't finished typing the command and it's waiting for more input. Each separate line above should be terminated with Enter (as in, Enter on the keyboard). The second block isn't for entering into the terminal, it's for adding to the file that should open after typing:
sudo gedit /etc/fstab
Also note that when you start a command with "sudo" bash should ask for your password to proceed, so are you sure it wasn't waiting for your password to be entered?
Roken, you are correct, I was focusing on the lost+found folder and not noticing where it was. I can get to F-Drive very easily and it appears as a location choice when I want to save a file. It was that way after the first solution you asked me to try, and I am now trying to convince myself why I didn't realize that sooner. I thought I typed the sudo commands as you showed them, but it did not ask for my password after "enter" on any of them, maybe because they were already done with the first try? Now, even though I can get to F-Drive easily it will not let me access, create, or delete files. I checked the properties of F-Drive and it will not give me the options to create files or folders, it says "you are not the owner, so you cannot change these permissions", I am sure it is because I did not go through the process correctly, but is there a simple way to become the owner ?
Roken, The same thing happens when I try to use the code, It says the command does't exist. I opened the disk utility in Linux Mint and it had an edit option to take ownership and format the drive. I did that and it fixed the problem. Thank you for your help and thank you for your patience, it is people like you who keep people like me using Linux.
I find it surprising that you get the error, but it occurs to me with so many flavours of mint, maybe gedit isn't installed on yours (I'd be surprised, but it's possible). What desktop environment are you using (gnome, kde, xfce etc)?
Roken, I am using gnome and gedit is installed on my computer. I think I did not show enough patience when trying to run the code. Also, I tried to run the new hard drive right after I used gparted to set it up and the "lost+found" folder got my attention. I did not recognize I was at the point I needed to be and the code I was trying to enter was trying to get me where I already was. These things happen when I just don't know enough about linux. Linux Mint is the most forgiving and helpful OS I can find and I should suffer at least some learning curve to be more independent. Disk utility in Linux Mint would have made my chore much easier had I been clever enough to know it was there, and what it did. It made it easy. Again, thank you for your help.
Whilst I think that LQ is a fabulaous resource for Linux help - generally, for distro specific help you can rarely go far wrong with dedicated support forums/channels. I know that some (or even many) forums have a more elitist attitude than most newcomers to Linux would want. However, I can recommend mint IRC (go to your menu, internet, xchat and it will take you there) as a valuable and friendly channel where you can get real time help for problems that may have their basis in the quirks of Mint (rather than Linux in general). Whilst I go there less often these days, you may even bump into me trying to talk a newbie through a complex issue