LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how do i mount my windows partition ? (https://www.linuxquestions.org/questions/linux-newbie-8/how-do-i-mount-my-windows-partition-123651/)

abiagi 12-07-2003 05:15 PM

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.

Tinkster 12-07-2003 05:24 PM

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

qwijibow 12-07-2003 05:26 PM

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 :)

qwijibow 12-07-2003 05:29 PM

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

Tinkster 12-07-2003 05:38 PM

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


Cheers,
Tink

abiagi 12-07-2003 05:42 PM

Thank you so much, it works now. I can't thank you enough.

abiagi 12-07-2003 05:44 PM

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

qwijibow 12-07-2003 05:46 PM

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]

abiagi 12-07-2003 06:45 PM

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.


All times are GMT -5. The time now is 05:45 AM.