LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 12-07-2003, 06:15 PM   #1
abiagi
Member
 
Registered: Aug 2003
Location: Orange County, CA
Distribution: slackware 9.0
Posts: 104

Rep: Reputation: 15
how do i mount my windows partition ?


Hey all,

I'd like to access my D: drive which uses a fat32 files system. During installation a couple of days ago it asked if I wanted this partition to be visible in Linux and I said yes, but when I use the browser to go to /dev/fat-d ( which is what I named it during setup ) it shows up as completely empty. I went to the console and typed

mount /dev/fat-d but it said it wasn't found in /etc/fstab

My question is what is the format to add it to /etc/fstab?

I know there is a certain format. Here's what my /etc/fstab looks like now.

/dev/hda3 / ext2 defaults 1 1
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0‰

CAN SOMEONE PLEASE HELP????

THANK YOU.
 
Old 12-07-2003, 06:24 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,004
Blog Entries: 11

Rep: Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903
man fstab
has all the info you need :)

Basically you'll be fine with
/dev/hdaX /mnt/fat-d auto,user,users,uid=<your numeric user id> 1 1

where X is the partition number you want to
mount, and /mnt/fat-d is the directory you
created as the mount point ofr it.

But you should really read man mount and
man fstab to get an idea of what you're doing ;)


Cheers,
Tink
 
Old 12-07-2003, 06:26 PM   #3
qwijibow
Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
test it with.....

su
[passwd]
mkdir /mnt/windows
mount -t vfat /dev/hdb1 /mnt/windows
cd /mnt/windows

and see if it is mounted...
if so, add the line

/dev/hdb1 vfat noauto,mask=0 0 0

to /etc/fstab

or change noauto to auto if you want the disk to be automatically munted dureing bootup..

then, if you like, change the entry in fstab from /dev/hdb1 to /dev/windows
and issue the command
ln -s /dev/hdb1 /dev/windows

then you can
mount /dev/windows
or
mount /dev/hdb1

depending wether u decided to make the link or not.

in linux, FAT32 is called vfat
 
Old 12-07-2003, 06:29 PM   #4
qwijibow
Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
oopt, looks like tinkster answered before me.....
but if i may id like to make a slight point...

since you say windows is on your D:\ disk, this usually means it is you primary slave, and therefore device /dev/hdbX, not /dev/hdaX

hehe
 
Old 12-07-2003, 06:38 PM   #5
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,004
Blog Entries: 11

Rep: Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903
Jumping to conclusions quij ;) ... many
people will have two or three windows
paritions on one drive :}


Cheers,
Tink
 
Old 12-07-2003, 06:42 PM   #6
abiagi
Member
 
Registered: Aug 2003
Location: Orange County, CA
Distribution: slackware 9.0
Posts: 104

Original Poster
Rep: Reputation: 15
Thank you so much, it works now. I can't thank you enough.
 
Old 12-07-2003, 06:44 PM   #7
abiagi
Member
 
Registered: Aug 2003
Location: Orange County, CA
Distribution: slackware 9.0
Posts: 104

Original Poster
Rep: Reputation: 15
now, since you're a guru, can you tell me how to make it so I can plug in my Sony HandyCam DVcamcorder via USB and access it as I would a removable drive? If you know this one, you're my idol
 
Old 12-07-2003, 06:46 PM   #8
qwijibow
Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
okay yeah.....
by saying hdb1 i was assuming Primary Master was not partitioned, and the windows was installed on the primary slave... (also non partitoned)..

but, by saying hdaX you were assuming the the D windows drive was a partiton (default second partiton) on the primary master.. which is also quaite a large assumtion...

how about we call it a draw ?
(or does guru status give you benefit of the doubt :P)
lol.....

[assumption]either way, i think this question has been asnwered[/assumption]

[edit] OOPS.... again some1 posting just a fraction of a time before me has made me look stupid... didnt see the follow-up question. sorry, i cant help with that 1.[/edit]

Last edited by qwijibow; 12-07-2003 at 06:49 PM.
 
Old 12-07-2003, 07:45 PM   #9
abiagi
Member
 
Registered: Aug 2003
Location: Orange County, CA
Distribution: slackware 9.0
Posts: 104

Original Poster
Rep: Reputation: 15
does anyone know how to mount my sony handycam via USB. Once I plug it in , how can I make it show up on the desktop. Forgive my ignorance.
 
  


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
cannot mount windows partition scng Linux - Networking 6 07-09-2005 11:56 PM
How many windows partition can I mount? subaruwrx Debian 4 12-23-2004 07:29 PM
Mount Windows partition? JoseSilva Linux - General 7 01-28-2004 12:44 AM
How do I mount a Windows partition? jianneng Linux - Newbie 6 02-08-2003 01:06 AM
can't mount windows nt partition cyberswami Linux - General 3 01-26-2003 10:22 PM


All times are GMT -5. The time now is 06:34 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration