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-28-2003, 05:05 AM   #1
mallesite
LQ Newbie
 
Registered: Oct 2003
Posts: 9

Rep: Reputation: 0
Mounting fat32 - Linux Mandrake 9.1?


Hello

I have now installed Linux Mandrake 9.1 and I would like to view my windows-patitions in it. I have used this forum alot, but still I cannot get it working. Here is what I have done and the error I get...

I have viewed the "fstab" file and it seems that Mandrake already has mounted my drives:
----
/dev/hda6 / ext2 defaults 1 1
none /dev/pts devpts mode=0620 0 0
none /mnt/cdrom supermount dev=/dev/scd0,fs=auto,ro,--,iocharset=iso8859-15,codepage=850,umask=0 0 0
/dev/hda1 /mnt/win_c ntfs iocharset=iso8859-15,ro,umask=0 0 0
/dev/hda5 /mnt/win_d vfat iocharset=iso8859-15,codepage=850,umask=0 0 0
none /proc proc defaults 0 0
----

Well my problem is then. I have created the folders: "/mnt/win_d" as superuser and I tried to write "mount -t vfat /dev/hda5 /mnt/win_d" because I have no idea how to view the folder content. I get the following error (Translated from Danish :-)

----
mount: either is /dev/hda5 already mounted or /mnt/win_d occupied
mount: according mtab is /dev/hda5 already mounted as /mnt/win_d
----

Well, I should have known that, but if its already mounted, then why can I not access it?

Like I said, I am running "Linux Mandrake 9.1"

Martin
 
Old 10-28-2003, 05:11 AM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,568

Rep: Reputation: 164Reputation: 164
The error message means the partiton is mounted. What heppens when you try the following sequence:
cd /mnt/win_d
ls
Do you get an error message or a list of files? Or maybe the directory is empty?
 
Old 10-28-2003, 05:24 AM   #3
mallesite
LQ Newbie
 
Registered: Oct 2003
Posts: 9

Original Poster
Rep: Reputation: 0
Hello Mara

Thank you for the quick answer.

I have tried to access the folder "/mnt/win_d" and done a "ls". The folder is empty?

Martin
 
Old 10-28-2003, 05:29 AM   #4
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,568

Rep: Reputation: 164Reputation: 164
Empty may mean two things: empty partition or not mounted. Try the command:
mount
It lists all currently mounted partitions. Is /dev/hda5 on the list? I think it's listed. So umount it and mount again (first moved out of the /mnt/win_d directory)
umount /mnt/win_d
mount /mnt/win_d
Is 'ls' output different now?
 
Old 10-28-2003, 05:57 AM   #5
mallesite
LQ Newbie
 
Registered: Oct 2003
Posts: 9

Original Poster
Rep: Reputation: 0
I have now tried it, and nothing happened.... Still empty.

When I do a "mount" I get this:
----
/dev/hda6 on / type ext2 (rw)
none on /proc type proc (rw)
none on /proc/bus/usb type usbdevfs (rw)
none on /dev type devfs (rw)
none on /dev/pts type devpts (rw,mode=0620)
none on /mnt/cdrom type supermount (ro,dev=/dev/scd0,fs=auto,--,iocharset=iso8859-15,codepage=850,umask=0)
/dev/hda5 on /mnt/win_d type vfat (rw,iocharset=iso8859-15,codepage=850,umask=0)
/dev/hda1 on /mnt/win_c type ntfs (ro,iocharset=iso8859-15,umask=0)
----

So it looks like it is alredy mounted...

Martin
 
Old 10-28-2003, 06:09 AM   #6
mallesite
LQ Newbie
 
Registered: Oct 2003
Posts: 9

Original Poster
Rep: Reputation: 0
Ok... Thats weird...

I can now open all my files on the mounted drives using "konqeror"?! When I write "file:/mnt/win_d" I can open my disk, but when I am in "konsol" I cannot see anything in "cd /mnt/win_d" ? That I cannot understand.... Should'nt it be possible to see the folder in "konsol"??

Hmm.. very weird...

Martin
 
Old 10-28-2003, 01:00 PM   #7
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,085

Rep: Reputation: 398Reputation: 398Reputation: 398Reputation: 398
When typed into the konsole, "cd /mnt/win_d" you will change to that directory, but itnot show you the files until you ask it to. To see the files there, you need to list them:

ls

...and there are your files.

Hope this helps.
 
  


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
Mounting fat32 partition in Mandrake 10.1 kumakun Linux - Newbie 2 03-06-2005 03:11 PM
mounting a fat32 hdd on my linux server halaszrobert Linux - Networking 1 08-09-2004 01:54 AM
Help mounting a FAT32 drive in Mandrake 10.0 Community mannymann Linux - Newbie 4 05-13-2004 03:49 AM
error mounting fat32 parition under linux -- help! testsubject Linux - Hardware 3 03-05-2004 08:46 PM
Mounting FAT32 partition in Linux correro Linux - General 18 03-10-2003 02:30 AM


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