LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   fat32 or ext2 partition problem (https://www.linuxquestions.org/questions/linux-newbie-8/fat32-or-ext2-partition-problem-474205/)

mihalisla 08-15-2006 06:42 PM

fat32 or ext2 partition problem
 
Hello , i 'd like to know on whitch partition format linux and windows are allowed to write on fat32 or ext2?
I ask this because my suse 10.1 cannot access a fat32 partition it says "permission denied " when i'm root
Ialso tried chown and mount commands.
Thank you for reading this message

sundialsvcs 08-15-2006 07:10 PM

There could be several reasons why you're seeing that ... none of which may have anything to do with the format of the disk. (You might not be getting there.) Start at the beginning, and tell us everything including verbatim error-texts.

mihalisla 08-15-2006 07:17 PM

at some point i saw a message about loop recycling or sth.My main problem right now is on whitch file system linux and windows can write on.Fat32 or ext2 or sth else.
Thank you for your reply

J.W. 08-15-2006 07:21 PM

If you need to write to a single partition under both Windows and Linux, make it FAT32. If you previously got a "denied" message when trying to write to the partition from Linux, it almost certainly was a permissions error. To avoid, mount it with 777 permissions
Code:

mount -o umask=000 /dev/sda1 /mnt/hd
subsitute the appropriate values for "/dev/sda1" and "/mnt/hd" depending on your own system

mihalisla 08-15-2006 07:33 PM

Thank you once again
I'll try it at some point tommorow after work

tnandy 08-16-2006 06:11 AM

Quote:

whitch partition format linux and windows are allowed to write on fat32 or ext2?
Linux can write to both FAT32 and EXT2 along with many other file systems. My computer can boot to both Linux and Windows. The Linux partitions are formatted EXT3. I also have a partition that is shared by both Linux and Windows that is formatted FAT32. I can write to the FAT32 partition from both operating systems.

In order to be able to write to the FAT32 partition, I had to add "umask=000" on the proper line in /etc/fstab thusly:
Code:

/dev/hda3  /D  vfat  defaults,umask=000  0  0
Of course, your hard drive partition is probably not /dev/hda3 and your mount point is probably not /D, so you will have to supply these parameters based on your computer's setup.

odcheck 08-16-2006 06:15 AM

and once you're in your windows you can use "winSCP" wich is a free software that works like the Explorer. And you can even copy files from Windows to EXT3
but everything that has been posted above is correct.

Note: If you're copying files larger 2GB you will have a problem ;-)

mihalisla 08-16-2006 07:30 PM

Thanks alot guys it all run just great
Greetings


All times are GMT -5. The time now is 09:29 PM.