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.
My apologies for the most classic of classic newbie problems, but I really am clueless.
I want to mount a FAT32 partition (created under Win XP) into Linux (RH 8). Bill Gates got one IDE hard drive (hda) with 2 NTFS and 1 FAT 32 partition. Linus has the other hardrive all to himself:
As you can see, I added an entry to /etc/fstab and also created a local mount directory. But ....
[root@localhost etc]# mount /dev/hda3
mount: wrong fs type, bad option, bad superblock on /dev/hda3,
or too many mounted file systems
(could this be the IDE device where you in fact use
ide-scsi so that sr0 or sda or so is needed?)
What could be the problem?
- The fs is correct ?
- The options are good ?
- I don't know what a superblock is - but the drive works under XP
- Too many mounted file systems? How many is too many?
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304
Rep:
i read through that whole thing till i got to the sw
at the bottom. i wish i had checked the answer first.
the sw means for mount to try to mount the drive,
but tell you you can't because of a bad option, or
in other words, its not an option. you meant rw.
Regardless of the fstab entries or switches, the mount command should still mount the filesystem.
On boot, I see an error emanating from the processing of fstab. In addition to the non-specific mount error (e.g., "mount: wrong fs type, bad option, bad superblock on /dev/hda3, or too many mounted file systems ..."), it says: "cannot read boot partition" (if memory serves me correctly).
I attempted to mount the other (NTFS) partitions on the Bill Gates hard disk (created under Windows XP), but Linux reports that the kernel is not compiled with NTFS support.
So, I am back to square one - why in the world can't my RH 8 Linux see a FAT32 partition on another hard disk?
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304
Rep:
to be sure, you're saying this doesn't work
mkdir /poop
mount -t vfat /dev/hda3 /poop
mount -t vfat /dev/hda1 /poop
mount -t vfat /dev/hda2 /poop
if you do have 2 ntfs partitions and 1 fat32,
on the primary master, this will not be able
to mount the ntfs drives and only the fat32
will end up mounted.
If you have an ntfs partition, you can't mount it with -t vfat anyway! And you certainly shouldn't be mounting filesystems over eachother - that's just plain daft.
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304
Rep:
i just did that incase his fat32 partition wasn't the one
he thought. I don't want it to mount unless its his fat32.
if he gets an error message for all 3, then we'd see.
i expected at most only one of those commands to work.
this is for testing, not for use.
i often accidently mount a partition on top of another one.
sometimes i accidenlty type mount dev/hda8 / mnt/hda8.
i just have to umount /dev/hda8 and do it over.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.