LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-06-2009, 12:53 PM   #1
rjo98
Senior Member
 
Registered: Jun 2009
Location: US
Distribution: RHEL, CentOS
Posts: 1,695

Rep: Reputation: 48
Do external FAT32 hard drives work with Linux?


I have a FAT32 external USB hard drive with a bunch of stuff I want to copy onto a RHEL server. Is it as simple as it is on a Mac or PC where I just plug it in and it will show up, then I can copy all the files off of it?

If it is, how do I safely remove the drive after I'm done with it?
 
Old 10-06-2009, 01:08 PM   #2
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850
Hello,

yes it is as easy. Savest way to remove the drive is unmounting it and then wait until unmount is beeing done. Actually this is a good question since on Linux-systems it often looks like copying is ready but the syncronization takes place while the device is being unmounted.

Markus
 
Old 10-06-2009, 03:08 PM   #3
Ahmed
Member
 
Registered: May 2005
Location: München, Germany
Distribution: Slackware, Arch
Posts: 386

Rep: Reputation: 41
Insert the drive and see whether it mounts automatically (I don't know about RHEL, but I suppose it'll have that ability). When the directory pops up under /mnt or /media, do whatever you want to do with it, then right click on the directory and click on "Unmount volume" or anything similar. If you do that, wait till the light on the drive (if there is one) stops flashing before pulling it out (!).

If you really want to be sure, first open a command line as root, execute

Code:
# sync
then unmount the drive.

-A
 
Old 10-06-2009, 03:17 PM   #4
rjo98
Senior Member
 
Registered: Jun 2009
Location: US
Distribution: RHEL, CentOS
Posts: 1,695

Original Poster
Rep: Reputation: 48
I guess my only "issue" (since I never done this before) is that my only access to the server is through the CLI.
 
Old 10-06-2009, 03:38 PM   #5
Ahmed
Member
 
Registered: May 2005
Location: München, Germany
Distribution: Slackware, Arch
Posts: 386

Rep: Reputation: 41
Ok, insert your drive and then execute 'dmesg'. The last few lines should give a clue which device node it has (/dev/sda, /dev/sdb, ..). For example, I'll assume it's /dev/sdb.

Log in as root and create any directory in /mnt (say /mnt/drive) and then mount the device:

Code:
# mkdir /mnt/drive
# mount /dev/sdb1 /mnt/drive
This should give you access to the first (and probably only) partition on the drive, via this directory you've just created. After you're done copying files and stuff:

Code:
# sync  (<- just to be sure)
# umount /dev/sdb1
You can then delete the directory:

Code:
# rmdir /mnt/drive
That's all

-A

Last edited by Ahmed; 10-06-2009 at 03:39 PM.
 
Old 10-06-2009, 05:12 PM   #6
rjo98
Senior Member
 
Registered: Jun 2009
Location: US
Distribution: RHEL, CentOS
Posts: 1,695

Original Poster
Rep: Reputation: 48
ok, thanks
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
using external hard drives with different linux distributions pmetzak Linux - Hardware 2 10-19-2007 01:44 PM
Linux and external hard drives squimmy Linux - Hardware 4 10-17-2006 01:43 PM
external hard drives in linux cwl157 Linux - Hardware 1 09-27-2005 08:18 PM
External Hard Drives for Linux vicky4u_hyd Linux - Hardware 18 06-13-2004 08:37 AM
Linux Friendly External Hard Drives New2Lindows Linux - Hardware 1 08-16-2003 11:52 PM


All times are GMT -5. The time now is 08:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration