LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Want to mount sata hard drive (https://www.linuxquestions.org/questions/linux-newbie-8/want-to-mount-sata-hard-drive-617863/)

fedoraman 02-01-2008 01:50 AM

Want to mount sata hard drive
 
Hi,
I just coneect the sata hard drive to my fedora box and now I want to mount it and want to transfer some files on that so what is the procedures?

b0uncer 02-01-2008 02:23 AM

Like you said,
1) mount it
2) transfer files
( 3) umount it )

If it's connected, Fedora ought to pick it up at reboot, at least if it's formatted. If not, you need to format it (create partitions if needed). If it's your secondary harddisk, it's device file should be /dev/sdb, and the partitions respectively /dev/sdb1, sdb2, ... if there are more than one partition on the disk.

To mount it manually (in this example, the first partition on the disk; make sure /media/sdb1 directory is created before this):
Code:

mount -t fstype /dev/sdb1 /media/sdb1
fstype is the filesystem type the partition has (vfat for FAT filesystem, ntfs for NTFS; note that you probably need to use fuse or something to be able to read-write to ntfs). In some cases the "-t fstype" can be omitted, as that means the fstype is determined automatically, if possible.

But like I said, if you connect the drive and boot your machine after that, Fedora should pick it up automatically and it should show up in your file manager - which is Nautilus, if I'm right.

EDIT: if you need to deal with partitioning/formatting the disk, install and use GParted. It's graphical, easy-to-use program - just remember that the disk you're dealing with must not be mounted when you start working on it.

Tinkster 02-03-2008 12:22 PM

Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.

Follow-ups to
http://www.linuxquestions.org/questi...9/#post3044279


All times are GMT -5. The time now is 06:48 PM.