LinuxQuestions.org
Visit Jeremy's Blog.
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 04-08-2002, 08:11 PM   #1
n_ick2000
LQ Newbie
 
Registered: Apr 2002
Location: Washington, USA
Distribution: Gentoo 1.4 rc3
Posts: 16

Rep: Reputation: 0
mounting a hard drive


I am a newbie to linux and I am tryint to figure out how to mount my fat32 drive (should be hda1) so that I can view and write files to it in linux.

I have looked in /mnt but only found floppy and cd-rom directories.

Could someone give me the command to put it to mount my c:\?
 
Old 04-09-2002, 12:27 AM   #2
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
mkdir /mnt/win
mount -tvfat /dev/hda1 /mnt/win
 
Old 04-09-2002, 12:49 AM   #3
Psycho
Member
 
Registered: Feb 2002
Location: Carson City, Nevada
Distribution: Gentoo / SuSE 9.1 Pro (both A64)
Posts: 159

Rep: Reputation: 30
Quote:
Originally posted by neo77777
mkdir /mnt/win
mount -t vfat /dev/hda1 /mnt/win
< I added a missing space >

You can add it to /etc/fstab also, have a look at fstab it's pretty self explanitory. man fstab if you want to see the details of what things are.

<edit>Oops... Forgot my manners, Welcome to Linux & LinuxQuestions by the way.</edit>

Last edited by Psycho; 04-09-2002 at 12:52 AM.
 
Old 04-09-2002, 04:37 PM   #4
n_ick2000
LQ Newbie
 
Registered: Apr 2002
Location: Washington, USA
Distribution: Gentoo 1.4 rc3
Posts: 16

Original Poster
Rep: Reputation: 0
w00t. My c:\ is now monted. Thank you neo77777 and Psycho
 
Old 04-10-2002, 12:24 PM   #5
therion12
Member
 
Registered: Dec 2001
Location: chicago, IL
Distribution: Gentoo 1.4_rc1
Posts: 913

Rep: Reputation: 30
np, just know that NTFS isn't a fully supported filesystem under linux.
 
Old 04-10-2002, 04:40 PM   #6
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
And you don't need a space between -t and filesystem, so
mount -tvfat /dev/hda1 /mnt/win yeilds the same results as
mount -t vfat /dev/hda1 /mnt/win
 
  


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
Need help mounting a hard drive cevilgenius Linux - Newbie 15 04-12-2005 02:35 PM
Mounting a Hard Drive Bill413 Linux - Newbie 6 11-15-2004 05:19 PM
Mounting a Hard Drive Garoth Linux - Software 9 11-11-2004 08:47 PM
mounting a second hard drive evilRhino Linux - General 2 10-17-2002 01:22 AM
Mounting hard drive Runt888 Linux - Newbie 1 08-29-2001 02:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:40 AM.

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
Open Source Consulting | Domain Registration