Mount a new internal Hard drive how to ???

Questions about hardware, drivers and peripherals
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
Husse

Re: Mount a new internal Hard drive how to ???

Post by Husse »

You could partition the drive so you have separate areas for the different kind of content you have - or leave it in one bit.
Then you need to format it - my recommendation is as ext3
Then you need to mount it so that it appears automatically
Edit /etc/fstab and add a line like so

Code: Select all

/dev/sdb1	 /media/sdb1   ext3    defaults        0       2
This is if you make it in one partition - you have to add one line per partition
Then you need to make a folder (one for each partition)

Code: Select all

sudo mkdir /media/sdb1
Now you have a working disk
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
McLovin

Re: Mount a new internal Hard drive how to ???

Post by McLovin »

Husse wrote:You could partition the drive so you have separate areas for the different kind of content you have - or leave it in one bit.
Then you need to format it - my recommendation is as ext3
Then you need to mount it so that it appears automatically
Edit /etc/fstab and add a line like so

Code: Select all

/dev/sdb1	 /media/sdb1   ext3    defaults        0       2
This is if you make it in one partition - you have to add one line per partition
Then you need to make a folder (one for each partition)

Code: Select all

sudo mkdir /media/sdb1
Now you have a working disk
This is good advice, but before you format it to any file system, is Mint/Linux the only type of OS you are using, or are you using Windows as well? And if you are using Windows as well, do you want to be able to access the files from Windows? If so, then you may want to to format using Fat32, in multiple partitions, as fat32 has issues with large partitions.
Husse

Re: Mount a new internal Hard drive how to ???

Post by Husse »

McLovin has a valid point
But unless you use win9x I always recommend NTFS as the cluster size in FAT32 gets really big
A file of a few hundred bytes does not use any extra space in NTFS (it "hides" in MFT) while it may use 32 kilobytes in FAT32
Locked

Return to “Hardware Support”