Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Write an article for LinuxForums Today! Win Great Prizes!
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > GNU Linux Zone > Installation > Fat32 Mount

Forgot Password?
 Installation   Need help or have questions about installing Linux, including dual booting with other distros or Windows? put them here!

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds
Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 06-04-2003   #1 (permalink)
Just Joined!
 
Join Date: Jun 2003
Posts: 4
Fat32 Mount

Looking for a quick resolution to this... I have looked all over and have not found an answer on how to mount a Fat32 Hard Disk so that I can read/copy files to this drive.

This drive is listed at HDD1 being a slave on my secondary IDE. Both cd-roms are being read by linux BUT this hard drive..

I exit out of X and try: mount /dev/hdd1/hard disk or hard drive. Does not seem to work, more than likely I am doing something wrong here. I am a n3wb to linux soo just starting out.. so far its been easy.

BTW.. running RH kernal 2.4.20-8
Master 1st IDE -> WD80 (Par1 40GB[XP], Par2 18GB[Fat32], Par3-5[Boot-Swap-Root-RH 2.4.20-8])
Slave 1st IDE -> Plextor CD/RW
Master 2nd IDE -> Sony CD/RW
Slave 2nd IDE (because it is) -> WD30 (Fat32 - Music/Database Files) <-- "Disk I am trying to get RH linux to read".
ximian is offline  



Reply With Quote
Old 06-04-2003   #2 (permalink)
Linux Enthusiast
 
Join Date: Feb 2003
Location: Ontario, Canada
Posts: 556
Send a message via ICQ to yowwww
see my guide and you will find the answer there, it's pretty easy once you know how to do it.

link to my guide is below

check out the page called 'helpful tips', just scroll down a bit and you will see the instructions.
yowwww is offline   Reply With Quote
Old 06-04-2003   #3 (permalink)
Just Joined!
 
Join Date: Jun 2003
Posts: 4
Thanks... Will let you know what happens.
ximian is offline   Reply With Quote
Old 06-04-2003   #4 (permalink)
Linux Engineer
 
Join Date: Nov 2002
Location: Queens, NY
Posts: 1,319
Send a message via AIM to bpark
Here's the mount format:
Code:
mount <device> <directory>
Note that this is a simplifed version of it. For detailed info, use 'man mount'.
Now on to business, to mount FAT32, you need to specify that the type of the device that you are trying to mount is FAT32. In mount, you can use '-t' option.
Code:
mount -t vfat <device> <directory>
('vfat' is the argument you pass after -t for FAT32)
Now, if you are using Redhat, you no doubt have /mnt with subdirectories /mnt/floppy and /mnt/cdrom. I would advise that you create a windows directory in /mnt or if you don't want to, that's fine too.
Since your windows drive is the on the secondary IDE, slave, this should be /dev/hdd. Which partition does Windows reside on this drive? I've never used a disk without a partition but if Windows is the only thing on this drive, then I assume that /dev/hdd is just what we'll use. So use that format above:
Code:
mount -t vfat /dev/hdd /mnt
OR if you made /mnt/windows:
Code:
mount -t vfat /dev/hdd /mnt/windows
Now if you want to see your Windows files, change directory into /mnt or /mnt/windows (whichever is applicable) and run 'ls'.
Now, since mounting devices only works as root, you can modify /etc/fstab to let users mount the drive. Take a look at your /etc/fstab. There's probably mount points for the cdrom and floppy and some other mount points. Append this next line if you want to let normal users (non root users) mount the Windows drive:
Code:
/dev/hdd  /mnt  vfat  ro,user,noauto   0 0
You should no doubt see that /etc/fstab has a certain format. Use the tab key to space these tokens up nicely. Make sure to terminate that line with a newline or this file will not parse correctly (Well, if you use emacs in Redhat, I believe this problem will be resolved since it's taken care of).

Dolda2000 do you know what the last two tokens are used for? In my /etc/fstab, I see them listed under dump and pass respectively.
__________________
The best things in life are free.
bpark is offline   Reply With Quote
Old 06-04-2003   #5 (permalink)
Linux Engineer
 
Join Date: Nov 2002
Location: Queens, NY
Posts: 1,319
Send a message via AIM to bpark
BTW, once you've successfully added that line to /etc/fstab, you can now mount /dev/hdd as any user by typing 'mount /mnt'
__________________
The best things in life are free.
bpark is offline   Reply With Quote
Old 06-04-2003   #6 (permalink)
Just Joined!
 
Join Date: Jun 2003
Posts: 4
Wow that was easy...

actual line added to /etc/fstab

Code:
/dev/hdd1 		/mnt/MP3Server		vfat  	noauto,user,ro 0 0

Thanks guys!
ximian is offline   Reply With Quote
Old 06-04-2003   #7 (permalink)
Just Joined!
 
Join Date: Jun 2003
Posts: 4
Wanted to add another question. When I rebooted (I changed my startup to init3) i log into root and states I have mail. Ok so type "mail" i get a load of information of what had previously initiated then imediately after %@ and #@ start showing up after the 30th line or so. I could not figure out how to exit out from this or delete command line mail.

Gave up after typing sever commands like help, quit, killall, kill, quit mail.... etc. So just did a cold reboot.

Not too worried, as I do not have email setup on linux, if I did its webbased only. So a possibility of a virus is null.

Thanks in advance!
ximian is offline   Reply With Quote
Old 06-04-2003   #8 (permalink)
Linux Engineer
 
Join Date: Nov 2002
Location: Queens, NY
Posts: 1,319
Send a message via AIM to bpark
So you must have Windows on the first partition. Well, glad you got that working.
As for 'mail', you can always use 'mail | more' when the output is more than the screen can handle. I guess the better way would be 'mail | less' since 'less' allows you to scroll back the page as where more doesn't.
The messages that you get as root are from some program that Redhat installs. Since I'm not running Redhat, I'd ask a Redhat user to help him out here. If my memory serves me correct, these messages have to do with the system diagnostics.
By the way, you should genereally login with a normal user than change to root.
__________________
The best things in life are free.
bpark is offline   Reply With Quote
Old 06-04-2003   #9 (permalink)
Linux Guru
 
Join Date: Oct 2001
Location: Täby, Sweden
Posts: 7,578
I don't really understand what's happening for you with the mail . Could you give more info and/or a screenshot?
Anyway, to quit a runaway program at a terminal, just press Ctrl+C to send it a SIGINT. If that doesn't work, press Ctrl+Z to stop it, and then run "kill -KILL %1" to kill it for sure. If even that doesn't work, log in at another terminal (press Ctrl+F2 in text mode), find the PID of the program using top or ps, and "kill -KILL" the PID.
Dolda2000 is offline   Reply With Quote
Old 06-04-2003   #10 (permalink)
Linux User
 
Join Date: Feb 2003
Location: Norway, Asker
Posts: 267
Send a message via ICQ to l_Kriss
is -KILL the same as -9?
Never heard of -KILL before
l_Kriss is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
A Newbie's Getting Started Guide to Linux
Learn the basics of the Linux operating systems. Get to know what it is all about, and familiarize yourself with the practical side. Basically, if you're a complete Linux newbie and looking for a quick and easy guide to get you started this is it.
subscribe
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 09:45 AM.






© 2000 - - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.1