LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 11-25-2005, 09:12 AM   #1
Mickaletto
Member
 
Registered: Nov 2005
Posts: 32

Rep: Reputation: 15
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
 
Old 11-25-2005, 09:16 AM   #2
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: Tupelo, MS
Distribution: Gentoo
Posts: 6,926

Rep: Reputation: 124Reputation: 124
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.
 
Old 11-25-2005, 09:20 AM   #3
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: SuSE, Ubuntu
Posts: 3,511

Rep: Reputation: 58
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

Last edited by abisko00; 11-25-2005 at 09:22 AM.
 
Old 11-25-2005, 09:40 AM   #4
ethics
Senior Member
 
Registered: Apr 2005
Location: London
Distribution: Arch - Latest
Posts: 1,522

Rep: Reputation: 45
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)
 
Old 11-25-2005, 04:54 PM   #5
Mickaletto
Member
 
Registered: Nov 2005
Posts: 32

Original Poster
Rep: Reputation: 15
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...
 
Old 11-26-2005, 05:12 AM   #6
Mickaletto
Member
 
Registered: Nov 2005
Posts: 32

Original Poster
Rep: Reputation: 15
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
 
  


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
Linux on a FAT partition? ninjabob7 Linux - General 5 11-12-2005 03:14 PM
Accessing a FAT partition? or NTFS? cucolin@ Linux - Hardware 5 11-23-2004 06:54 AM
Accessing FAT partition from fedora linux_ub Linux - General 4 07-09-2004 03:38 PM
How do I access a FAT partition in Linux slice4e Linux - Newbie 6 09-04-2003 06:40 AM
Mandrake 9.0: Accessing partition on windows drive(FAT) face_master Linux - Distributions 3 01-18-2003 09:37 AM


All times are GMT -5. The time now is 11:49 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration