LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   win fat32 partition on RHEL 3 (https://www.linuxquestions.org/questions/linux-newbie-8/win-fat32-partition-on-rhel-3-a-614489/)

cjagdish69 01-18-2008 05:16 AM

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 f:(FAT32) on my linux machine ?

How can I achieve this ?

- JAGDISH.

anupamsr 01-18-2008 06:22 AM

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.

cjagdish69 01-20-2008 11:38 PM

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.

anupamsr 01-21-2008 03:22 AM

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.

cjagdish69 01-21-2008 10:38 PM

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.

zeeshanhayat 01-21-2008 11:51 PM

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.

cjagdish69 01-22-2008 03:31 AM

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.

anupamsr 01-22-2008 05:44 AM

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.


All times are GMT -5. The time now is 10:02 PM.