LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   accessing fat partition in linux (https://www.linuxquestions.org/questions/linux-newbie-8/accessing-fat-partition-in-linux-386401/)

Mickaletto 11-25-2005 09:12 AM

accessing fat partition in linux
 
Hello, I installed linux mandrake and make FAT partition size 1.5GB to share files between linux and windows. I download rpm package from internet (in windows XP) and I copied that to FAT partition so I can install it under linux. Now when I boot to mandrake linux how to find that package i.e. how to acces that FAT partition?

Thanks

Bruce Hill 11-25-2005 09:16 AM

You should include that partition in your /etc/fstab file to mount it automatically and
have a normal user read/write to it. Adjust this line to suit your situation:
Code:

/dev/hda2        /Storage        vfat        users,umask=1000,rw,auto  1  0
In a terminal issue "man mount" and "man fstab" and study them to learn about this.

abisko00 11-25-2005 09:20 AM

With the mount command (as root), e.g.:
Code:

mount -t vfat /dev/hdxy /mnt/hdxy -o rw,umask=0
Replace 'hdxy' with the actual name of the partition and '/mnt/hdxy' with a mountpoint of your choice (may need to be created with 'mkdir' first).

To make it permanent, add a line to /etc/fstab, using the same parameters as above, e.g.:

Code:

/dev/hdxy  /mnt/hdxy  vfat  auto,umask=0  0 0
EDIT: Seems I was too late ;)

ethics 11-25-2005 09:40 AM

to list the partitions on your system login as root:

su - (include the dash)
password

fdisk -l (l for lama) if you have to specify a drive:

fdisk -l /dev/hda (if its on your first primary disk)

Mickaletto 11-25-2005 04:54 PM

That's a lot of information at once.
Here, I made a screenshot.
Can you recommend what exactly to do. I'm a bit frustrated since, I'm a linux user for a little more then 25 hours...
Ups it seems I cannot attach picture...

Mickaletto 11-26-2005 05:12 AM

problem solved
 
Problem is solved thanks to you guys.
I modiefed that line (bold) in fstab and it worked...
This is my fstab copy file that solved problem
Code:

/dev/hdb1 / ext3 defaults 1 1
none /dev/pts devpts mode=0620 0 0
/dev/hdb6 /home ext3 defaults 1 2
none /mnt/cdrom supermount dev=/dev/scd0,fs=auto,ro,--,iocharset=iso8859-1,codepage=850,umask=0 0 0
none /mnt/cdrom2 supermount dev=/dev/hdd,fs=auto,ro,--,iocharset=iso8859-1,codepage=850,umask=0 0 0
none /mnt/floppy supermount dev=/dev/fd0,fs=auto,--,iocharset=iso8859-1,sync,codepage=850,umask=0 0 0
/dev/hda1 /mnt/nt ntfs iocharset=iso8859-1,ro,umask=0 0 0
/dev/hda5 /mnt/nt2 ntfs iocharset=iso8859-1,ro,umask=0 0 0
none /proc proc defaults 0 0
/dev/hdb7 /mnt/win vfat users,rw,auto,umask=0 0 0
/dev/hdb5 swap swap defaults 0 0

Cheers


All times are GMT -5. The time now is 12:04 AM.