Page 1 of 1

Install Extra SATA HDD

Posted: Sat Mar 21, 2020 10:11 pm
by Prof57
[SOLVED] Trying to find a simple process to add an extra 1TB HDD to Linuxmint 19.3.
Tried to find a step by step foolproof method but got lost in the forest.

Re: Install Extra SATA HDD

Posted: Sat Mar 21, 2020 10:15 pm
by Kadaitcha Man
Prof57 wrote:
Sat Mar 21, 2020 10:11 pm
Trying to find a simple process to add an extra 1TB HDD to Linuxmint 19.3.
Tried to find a step by step foolproof method but got lost in the forest.
Plug it in to the machine, boot up and use the disks tool format and mount it.

Re: Install Extra SATA HDD

Posted: Sat Mar 21, 2020 10:30 pm
by Prof57
Kadaitcha Man - you mentioned 'use the disks tool format and mount it'.
Where would I find the disk tools? Very new to this.

Re: Install Extra SATA HDD

Posted: Sat Mar 21, 2020 10:47 pm
by Kadaitcha Man
Prof57 wrote:
Sat Mar 21, 2020 10:30 pm
Where would I find the disk tools? Very new to this.
In the Mint menu. Just click the menu icon and type the word disk.

BTW, that should have been 'use the disk tool to ...'.

Re: Install Extra SATA HDD

Posted: Sun Mar 22, 2020 2:41 am
by Prof57
Kadaitcha Man - followed your instructions precisely, selected Format Disk option ==> the following 'Error formatting disk' warning came up:-
"Error synchronizing after initial wipe: Timed out waiting for objects (udisks-error-quark,0)"
Have no idea what is happening. Help.

Re: Install Extra SATA HDD

Posted: Sun Mar 22, 2020 6:56 am
by AndyMH
You might find it easier with gparted (if not installed, it is in software manager). If this is a new disk it probably won't have a partition table on it - you need to create one*, either msdos or gpt. gpt is probably a better choice.
Screenshot from 2020-03-22 10-45-01.png
The 'dropdown' top right enables you to select your new drive, it will probably be sdb (sda will be your main system drive).
You get the panel on the left by View > device information. This enables you to check you have the right drive and what type of partition table it has.
You can create a new partition table by Device > create partition table.
You can right click on any area at the top that says unallocated and select new to create a new partition. In the example above there is no unallocated space because I've filled the drive up with two partitions, one ext4 and one ntfs. If you are dual booting and want to share the partition(s) you create with win, then choose ntfs, otherwise ext4.

When you create partitions it is a good idea to give them a label, e.g. mylabel. This means they will mount somewhere friendly, like /media/you/mydisk instead of /media/you/5250141E50140AFD.

When you have created the partitions you will need to check you have read/write access, but get this far first.

* the disks program will let you create a partition on a drive without a partition table - not a good idea! Note - if you have already created a partition with disks and the partition table type showing in gparted is loop, then you have no partition table. I would start again with gparted.

Re: Install Extra SATA HDD

Posted: Sun Mar 22, 2020 7:49 am
by Prof57
Got to the point where at the lh bottom of the /dev/sda-GParted screen I have:-
+ Create Primary Partition #1 (ext4,298.09 GiB) on /dev/sda
Below that at the very bottom there is ==> 1 operation pending.
Do you know what is happening?

Re: Install Extra SATA HDD

Posted: Sun Mar 22, 2020 7:57 am
by Flemur
Prof57 wrote:
Sun Mar 22, 2020 7:49 am
Got to the point where at the lh bottom of the /dev/sda-GParted screen I have:-
+ Create Primary Partition #1 (ext4,298.09 GiB) on /dev/sda
Below that at the very bottom there is ==> 1 operation pending.
Do you know what is happening?
It's waiting for you to say "Do it" - click the check mark on the icon bar (right-most icon), or Menu->Edit->Apply

Re: Install Extra SATA HDD

Posted: Sun Mar 22, 2020 8:27 am
by AndyMH
Before you apply, CHECK you have the right drive, sda is normally your system drive.

Re: Install Extra SATA HDD

Posted: Sun Mar 22, 2020 10:52 am
by Prof57
Sounds strange but 'sda' is my new drive and 'sdb' is my core drive. I thought it was odd too but maybe that's how it's physically connected to the power supply. Confirmed this by reading the details in the LH column. Very good point to check.

Re: Install Extra SATA HDD

Posted: Sun Mar 22, 2020 10:59 am
by Prof57
Any hints on what to input on the 'Save Details' screen?

Re: Install Extra SATA HDD

Posted: Sun Mar 22, 2020 11:24 am
by AndyMH
What save details screen? post a screenshot.

In mint Alt+PrtScn for a screenshot of the active window, it will ask you if you want to save, the default folder is /home/you/pictures. On the forum, below the reply window you will see an attachments tab. Then a button Add Files - this will open up a window where you can navigate to the screenshot. The default folder it opens up is /home/you/pictures, so easy to find. It will then show the filename in a window, to the right is a 'place inline' button. Then you can click preview to see if it looks okay.

Re: Install Extra SATA HDD

Posted: Sun Mar 22, 2020 1:11 pm
by Prof57
Save Details Screenshot.png
Copy of the 'Save Details' screen.

Re: Install Extra SATA HDD

Posted: Sun Mar 22, 2020 2:00 pm
by AndyMH
Ah... never used that before and I've used gparted a lot. It just saves the details of what you did, as it's an html file you will be able to open it in your browser. You can safely ignore it and just click on close.

Next steps, having created the partition can you use it? If you open up your file manager (nemo in cinnamon), you should see it in the left panel under devices.
Screenshot from 2020-03-22 17-54-11.png
If you added a label to the partition I think it will appear as the label name. Click on it to open. Can you copy a file to it or create a file (right click - create new document). Also note at the top of the screen it will show you the path to the partition, probably something like /media/you/mylabel.

If you can't write to it post back.

Re: Install Extra SATA HDD

Posted: Sun Mar 22, 2020 3:00 pm
by Prof57
Error Copying to New HDD.png
Error Copying to New HDD.png (9.04 KiB) Viewed 108 times
Confused when trying to save a test document from libreoffice onto the new HDD.
Don't understand why 'The object cannot be accessed due to insufficient user rights' message appeared.

Re: Install Extra SATA HDD

Posted: Sun Mar 22, 2020 3:45 pm
by AndyMH
That's okay, exactly what I expected to happen - the partition you created is owned by root not you. Two ways to fix it, one GUI, one CLI.

First figure out where the partition gets mounted, probably something like /media/you/mylabel - you did put a label on the partition when you created it with gparted?

Command line - open up a terminal and enter:

Code: Select all

sudo chown -R $USER:$USER /media/you/mylabel
This changes ownership from root to you and anything inside it (that's what the -R option does). Change /media/you/mylabel to wherever it is mounting.

GUI - open up your file manager, navigate to /media and right click on /media/you and select 'open as root'. You will then see the folder mylabel. Right click on it and select properties and then the permissions tab. You will be able to change owner and group to you and set the access to read/write.

Re: Install Extra SATA HDD

Posted: Sun Mar 22, 2020 4:30 pm
by Prof57
AndyMH - used the GUI method to gain access. Most grateful.

Re: Install Extra SATA HDD

Posted: Wed Mar 25, 2020 10:17 pm
by Netherprovinc3
Prof57 wrote:
Sun Mar 22, 2020 4:30 pm
AndyMH - used the GUI method to gain access. Most grateful.
It's preferred that you put "[SOLVED]" in the title.