Mount a new internal Hard drive how to ???

Questions about hardware,drivers and peripherals
Forum rules
Before you post please read this

Mount a new internal Hard drive how to ???

Postby greenducky on Mon Mar 31, 2008 12:09 am

Hello i just purchased a new Internal 320Gb Hard Drive.

What i want is space to save all of my media files. mainly music. but i do not know how to do this.

How do you mount the new hard drive and have read and write access to it.

All i have done is open my computer installed the new Hard drive via SATA connection. closed the cover and turned on
the computer. nothing appears on the desktop or in the places menu.

When i open Gparted i can find it as unallocated space. but thats it. what else do i do.

THanks MINT users
Attachments
Screenshot--dev-sdb - GParted.png
Screenshot--dev-sdb - GParted.png (27.24 KiB) Viewed 777 times
User avatar
greenducky
Level 2
Level 2
 
Posts: 57
Joined: Fri Feb 29, 2008 7:41 pm

Linux Mint is funded by ads and donations.
 

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

Postby Husse on Mon Mar 31, 2008 6:37 am

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
Image
Don't fix it if it ain't broken, don't break it if you can't fix it
Husse
Level 21
Level 21
 
Posts: 19710
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

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

Postby McLovin on Tue Apr 01, 2008 11:54 am

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.
User avatar
McLovin
Level 5
Level 5
 
Posts: 788
Joined: Thu Aug 23, 2007 6:53 pm

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

Postby Husse on Tue Apr 01, 2008 1:54 pm

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
Image
Don't fix it if it ain't broken, don't break it if you can't fix it
Husse
Level 21
Level 21
 
Posts: 19710
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

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

Postby greenducky on Tue Apr 01, 2008 3:52 pm

Thanks guys for the response, but i plan on only using linux mint as my only os. no others need to be installed.

I would just like a drive that is accessible from my dekstop that is strictly for media.
User avatar
greenducky
Level 2
Level 2
 
Posts: 57
Joined: Fri Feb 29, 2008 7:41 pm


Return to Hardware Support

Who is online

Users browsing this forum: JDSBlueDevl and 10 guests