LinuxQuestions.org
Review your favorite Linux distribution.
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 01-18-2008, 05:16 AM   #1
cjagdish69
Member
 
Registered: Oct 2003
Location: Bombay,Maharashtra,India
Posts: 60

Rep: Reputation: 15
win fat32 partition on RHEL 3


Dear,

I have 2 machines. One machine is having Windows XP(IP 172.16.4.40) and another machine is having RHEL ES 4(Nahant)(IP 172.16.4.4).

The windows machines is having c:/d:/e:/f: as drive letters. Out of which c: , d: , e: are NTFS and f: is FAT32.

I want to mount the windows fFAT32) on my linux machine ?

How can I achieve this ?

- JAGDISH.
 
Old 01-18-2008, 06:22 AM   #2
anupamsr
Member
 
Registered: Sep 2004
Location: India
Distribution: Kubuntu, Archlinux, Suse, Gentoo, Mandrake
Posts: 370

Rep: Reputation: 30
Code:
$ mkdir my_f_drive
$ mount /dev/hda1 my_f_drive
Your F: drive is /dev/hda1 or hda2 or hda3 so on. To see the list, you can do "ls /dev/hda*"

Alternatively, you can use a very powerful tool: "fdisk -l /dev/hda". Warning: it could be intimidating.

NOTE: This is assuming you have a normal harddisk with many many partitions and not many different harddisks, in which case it will be /dev/hdb. In case of trouble, see through fdisk.
 
Old 01-20-2008, 11:38 PM   #3
cjagdish69
Member
 
Registered: Oct 2003
Location: Bombay,Maharashtra,India
Posts: 60

Original Poster
Rep: Reputation: 15
Sir,


Thanks for the reply and it worked for me successfully. Now if i have 2 different machines. One is having windows xp and the other machine is having linux. I want to mount the windows partition of machine1 on linux machine say machine2.

In the solution suggested by you, it is assumed that the windows partition as well as linux partitions are on the same machine. But how I can achieve the same if i am having 2 different machines ?

Thanks in advance.

- JAGDISH.
 
Old 01-21-2008, 03:22 AM   #4
anupamsr
Member
 
Registered: Sep 2004
Location: India
Distribution: Kubuntu, Archlinux, Suse, Gentoo, Mandrake
Posts: 370

Rep: Reputation: 30
I don't know if it is possible to "mount" it, because you will have to have some sort of network connection. It is no more a problem of doing something with _your_ hardware. It is now a problem of accessing some other hardware. For that, have a look at http://en.wikipedia.org/wiki/Network_file_system.

For example, you can set up samba server, and access another computer as a share (akin to what we have in Windows).

There are many possibilities depending on your operating system.

Also have a look at SSF ( http://en.wikipedia.org/wiki/Secure_Shell_Filesystem ).

I am sure you will get plenty of help on internet.

Last edited by anupamsr; 01-22-2008 at 05:45 AM.
 
Old 01-21-2008, 10:38 PM   #5
cjagdish69
Member
 
Registered: Oct 2003
Location: Bombay,Maharashtra,India
Posts: 60

Original Poster
Rep: Reputation: 15
windows remote fat32 partition mount on RHEL 3 - Got solution

Sir,

My both the machines are in lan. I have resolved the problem as under :

I wanted to share "F:" of windows on RHEL 3.

Created a folder in /media called "WinFat32" using "mkdir -p /media/WinFat32".

and from root issued following command :

# mount -t smbfs -o user=user_name,password=password_for_the_user //winservernameORIP_address/Folder_name

The Folder_name gets mounted on /media/WinFat32 in RHEL3.


Still i will try to mount the same with the Samba also.

Thanks for the co-operation.
 
Old 01-21-2008, 11:51 PM   #6
zeeshanhayat
Member
 
Registered: Oct 2004
Distribution: Fedora, Debian, Free BSD
Posts: 71

Rep: Reputation: 15
Quote:
# mount -t smbfs -o user=user_name,password=password_for_the_user //winservernameORIP_address/Folder_name
The above command mounts windows drive on your Linux machine. So basically you have been using Samba without knowing it.
 
Old 01-22-2008, 03:31 AM   #7
cjagdish69
Member
 
Registered: Oct 2003
Location: Bombay,Maharashtra,India
Posts: 60

Original Poster
Rep: Reputation: 15
SAMBA is working

Yes , in my PC the samba service is ON.

Though i succeedeed in mounting the partition on RHEL 3.0, i am not able to write/create any files on the mounted partition.

My fstab file is containing entry as follows :

//jagdish/FEDORAMC /media/jagdish cifs username=root,password=pasword,user,exec,rw,sync 0 0


The permissions for the folder /media/jagdish are as follows :

[root@Metro media]# l
total 32
drwxr-xr-x 26 root root 4096 Jan 22 14:27 ..
drwxr-xr-x 5 root root 4096 Jan 21 14:32 .
drwxr-xr-x 2 root root 4096 Dec 15 12:05 floppy
drwxr-xr-x 2 root root 4096 Dec 15 12:05 cdrom
drwxrwxrwx 1 root root 0 Jan 1 1980 jagdish


What will be the problem ? I have already written "rw" while mounting, then why i am not able to write/Create files on the mounted partition ?

Any clue ?

Thanks in Advance.

- JAGDISH.
 
Old 01-22-2008, 05:44 AM   #8
anupamsr
Member
 
Registered: Sep 2004
Location: India
Distribution: Kubuntu, Archlinux, Suse, Gentoo, Mandrake
Posts: 370

Rep: Reputation: 30
I have not worked on Samba since long time, so I cannot help you.

I would say, you should start a new thread asking how to have read/write permissions using samba. You will be able to get better help by doing so.

Since your actual problem has been solved, you can mark this thread SOLVED.
 
  


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
How to format to FAT32, and how to mount my FAT32 partition. bonniehandi Linux - Newbie 16 03-05-2006 07:54 PM
mounted win partition: permission probl in win? eeried Linux - Newbie 4 08-01-2004 04:52 AM
Partition mounting/KDE errors after creating Fat32 Partition BertBert Linux - General 1 07-07-2004 10:59 AM
a shared win/lin partition. fat32 my only option? murray_linux Slackware 9 06-15-2004 03:57 AM
Formating a FAT32 partition, putting the partition correctly into FSTAB, and more. squall14716 Linux - General 14 10-27-2003 10:16 PM

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

All times are GMT -5. The time now is 01:14 PM.

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