Linux - NewbieThis 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.
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.
Hi, new to Linux (obviously) and just installed Fedora last week. I have 4 partitions spread through 2 hard drives. Suprisingly I can boot to just fine to linux or winxp without a problem. Now that I am in Fedora I would like to be able to access a FAT32 partition a a way to share files between the two OS (music, drivers I download to get my network card working under Fedora, etc). If it is possible, how do I do it? Thanks.
First, you need to figure out which partitions are FAT32. You would use the mount command to mount partitions. In Linux, you can only access contents of a partition if you mount that particular partition.
You would know which FAT32 partitions to use by:
Code:
fdisk -l
You can search this forum for help with mount command. There are zillion posts on mounting FAT32 partitions. You can also use, man pages that come with linux
Code:
man mount
To get help on man command
Code:
man man
There are two ways to mount a partition:
1. To mount a partition manually;
2. To mount a partition automatically at boot.
To mount manually, you have to use the mount command. To mount automatically, you need to make specific entry in /etc/fstab file.
It's easy to setup but we need a little more info. Post your /etc/fstab file and the output of:
$ su
<enter root password>
# /sbin/fdisk -l
fstab controls what partitions are mounted at boot and fdisk -l lists all partitions by device file that your system recognizes, whether mounted or not.
Hello, I'm new to linux too, I am also using FC4.
I have jumped from forum to forum, topic to topic and landed here.
here is some info..
Disk /dev/hda: 61.4 GB, 61492838400 bytes
16 heads, 63 sectors/track, 119150 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes
Device Boot Start End Blocks Id System
Disk /dev/hdb: 80.0 GB, 80060424192 bytes
255 heads, 63 sectors/track, 9733 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hdb1 * 1 1023 8217243 54 OnTrackDM6
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 104391 83 Linux
/dev/sda2 14 19457 156183930 8e Linux LVM
Disk /dev/sdb: 163.9 GB, 163928604672 bytes
255 heads, 63 sectors/track, 19929 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 2 12748 102390277+ f W95 Ext'd (LBA)
/dev/sdb2 * 12749 16572 30716280 c W95 FAT32 (LBA)
/dev/sdb3 16573 19929 26965102+ c W95 FAT32 (LBA)
/dev/sdb5 3826 12748 71673966 e W95 FAT16 (LBA)
_______________________________________________________________________
The setup as you see above is 2x160gb Maxtor SATA's NO RAID!!!
sda1=linux boot
sdb2=windoze boot
all but linux are fat32 partitions, unknown to me the 2xIDE's appear to have no partitons in linux! Why? (visible in XP)
Basicly, I would like very much to know how to be able to see the fat partitons in Linux.
I have read lots of forums, man, and HOWTO's but none so far have done anything but add folders here and there which don't link to the drives!
Sorry for the lengthy comment, please help!
Danjah
Also, this is what happens as i try the above suggestions...
mount: mount point /mnt/winshare does not exist
[root@localhost ~]# mount -t vfat -o rw /dev/sdb1 /mnt/windrive
mount: mount point /mnt/windrive does not exist
[root@localhost ~]# mount -t vfat -o rw /dev/sdb1 /mnt/WinDrive
mount: wrong fs type, bad option, bad superblock on /dev/sdb1,
missing codepage or other error
(aren't you trying to mount an extended partition,
instead of some logical partition inside?)
In some cases useful info is found in syslog - try
dmesg | tail or so
You have to create the mountpoint before you can mount to it. You did not create "/mnt/winshare".
To fix (at least the missing mountpoint part):
Code:
$ su -
# cd /mnt
# mkdir winshare
[edit]
p.s. - When you "mkdir /mnt/winshare" (an alternate way of doing the same as above) you will only be creating an empty directory. Known as a "mountpoint". Then you need to run the "mount" command to actually mount the FAT32 partition to the newly created mountpoint. Then, and only then, will you be able to see the contents of the FAT32 partition.
[/edit]
RE: p.s -
I've tryed mounting it! - This is what I get...
[root@localhost ~]# mount -t vfat -o rw /dev/sdb1 /mnt/WinDrive
mount: wrong fs type, bad option, bad superblock on /dev/sdb1,
missing codepage or other error
(aren't you trying to mount an extended partition,
instead of some logical partition inside?)
In some cases useful info is found in syslog - try
dmesg | tail or so
OK, now I see that you re-edited your post above and it's now saying something totally different. Stop doing that! Make a new post and say "I mistyped above, this is what I really meant to say..."
Otherwise, we get terribly confused here because we'll type a post, like mine above, that referes to some text quote that no longer exists (because you edited it out). Very confusing.
Please make a new post stating exactly what is happening NOW. ;-)
Appologise for the messy forum
_____________________________________
From the top.
1: mkdir /mnt/WinDrive
mount /dev/sdb2 /mnt/WinDrive (thanks michaelk)
(please tell me which switches to use) -rw etc...
Editing previous posts is not always bad. Just don't change the entire nature of the post. Add information, don't change something that's already there (minor spelling/grammer corrections are exempt). It's also nice to add an [edit][/edit] section similar to what I did above so that people know something has changed or been added since the original post.
"mount point /mnt/windrive does not exist" is TOTALLY different than "mount: wrong fs type, bad option, bad superblock on /dev/sdb1,"
Just some tips to help you get better help in the future!
Try:
Code:
mount -t vfat -o rw /dev/sdb2 /mnt/windrive
This should mount your FIRST FAT32 partition. Looks like you have two FAT32's and one FAT16 you could choose from.
OK, I'm NOT going to edit my post above! I'll add a new one.
It looks like over time /mnt/windrive has changed to /mnt/WinDrive on your system. Character case is significant! Modify whatever suggestions you get to account for the slippery naming convention of this mountpoint.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.