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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
11-25-2005, 09:12 AM
|
#1
|
Member
Registered: Nov 2005
Posts: 32
Rep:
|
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
|
|
|
11-25-2005, 09:16 AM
|
#2
|
HCL Maintainer
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Gentoo on headless; Arch on everything that requires a GUI
Posts: 6,941
Rep: 
|
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.
|
|
|
11-25-2005, 09:20 AM
|
#3
|
Senior Member
Registered: Mar 2004
Location: Munich
Distribution: Ubuntu
Posts: 3,517
Rep:
|
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.
|
|
|
11-25-2005, 09:40 AM
|
#4
|
Senior Member
Registered: Apr 2005
Location: London
Distribution: Arch - Latest
Posts: 1,522
Rep:
|
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)
|
|
|
11-25-2005, 04:54 PM
|
#5
|
Member
Registered: Nov 2005
Posts: 32
Original Poster
Rep:
|
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...
|
|
|
11-26-2005, 05:12 AM
|
#6
|
Member
Registered: Nov 2005
Posts: 32
Original Poster
Rep:
|
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 09:36 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|