[root@www /root]# mount -t vfat /dev/hda1 /mnt/dos
mount: wrong fs type, bad option, bad superblock on /dev/hda1,
or too many mounted file systems
I''ve checked the manpage for mount and the above conforms to it (or so i guess). Does anyone know, if I''m using any wrong parameters with mount?
thanks
mount trouble
I run this command to mount my DOS''s "C:" drive in linux, I keep getting this error:
[size="1"]----#!/usr/bin/perlprint length "The answer to life,universe and everything";
here is the fdisk o/p of /dev/hda, if its of any use:
Device Boot Start End Blocks Id System/dev/hda1 * 1 638 5124703+ b Win95 FAT32/dev/hda2 639 1000 2907765 83 Linux/dev/hda3 1001 1245 1967962+ 82 Linux swap
[size="1"]----#!/usr/bin/perlprint length "The answer to life,universe and everything";
thanks for the above post, but I get that very same error :/
I also tried: mount /dev/hda1 /mnt/dos -t msdos (but the same error again)..
BTW I can boot windows on that partition absolutely okay.. I''ve also tried running scandisk & ndd (for surface) when running windows without any reported problems
I also tried: mount /dev/hda1 /mnt/dos -t msdos (but the same error again)..
BTW I can boot windows on that partition absolutely okay.. I''ve also tried running scandisk & ndd (for surface) when running windows without any reported problems
[size="1"]----#!/usr/bin/perlprint length "The answer to life,universe and everything";
i don''t remember if fat fs support is built into the kernel or not, but you might want to check and see if you have it installed. what distro are you running? and in the (unlikely) event that it''s actually too many mounted filesystems, what else is mounted when you try to run this?
quote:
Original post by cyanide
I run this command to mount my DOS''s "C:" drive in linux, I keep getting this error:[root@www /root]# mount -t vfat /dev/hda1 /mnt/dosmount: wrong fs type, bad option, bad superblock on /dev/hda1, or too many mounted file systems
I''ve checked the manpage for mount and the above conforms to it (or so i guess). Does anyone know, if I''m using any wrong parameters with mount?
thanks
Recompile the kernel with VFat enabled. Some distro don''t have that option compiled in.
[Cyberdrek | ]
thanks for the replies.. Just wanted to make sure if it wasn''t something that I was doing wrong or missing any prerequisites to loading the dos drive..
That machine is still on an RH 6.2 installation (its basically for testing my sites offline, so i didn''t want to mess with it in anyway
but I guess its time for me to upgrade to RH 9 and that should take care of these vfat problem too
That machine is still on an RH 6.2 installation (its basically for testing my sites offline, so i didn''t want to mess with it in anyway
![](smile.gif)
[size="1"]----#!/usr/bin/perlprint length "The answer to life,universe and everything";
quote:No, checking that your kernel has VFAT support built in or has a VFAT loadable module available does. Not every Linux user has a DOS partition lying about somewhere, even if they run Windows on the same machine (some only have FAT32 or NTFS), so RedHat 9 may also not have VFAT enabled by default. Rebuilding the kernel and make sure it''s in there is one way to do things; checking the current kernel config is another way; and yet a third is checking for the availability of a loadable module for your kernel.
Original post by cyanide
That machine is still on an RH 6.2 installation (its basically for testing my sites offline, so i didn''t want to mess with it in anywaybut I guess its time for me to upgrade to RH 9 and that should take care of these vfat problem too
Good luck.
Ok, I did that.. Also using make menuconfig I also changed all the modules () to built in (<*>) for:
and then recompiled the kernel but I still have that darned error with mount. Anyway thanks for the ideas
DOS FAT fs supportMSDOS fs supportUMSDOS: Unix-like filesystem on top of standard MSDOS filesystemVFAT (Windows-95) fs support
and then recompiled the kernel but I still have that darned error with mount. Anyway thanks for the ideas
![](smile.gif)
[size="1"]----#!/usr/bin/perlprint length "The answer to life,universe and everything";
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement