Re: [gentoo-user] Can't mount a fat32 partition

2005-07-14 Thread aabb
Thanks all. It's fixed. When I ran dosfsck /dev/hda5 I got the error:

Logical sector size is zero

So I re-created the file system with mkfs -t vfat -F 32 /dev/hda5
(after backing up all my files!) and now it mounts properly. Not sure I
understand it because I hadn't run the mkfs command on hda1 either. I
formatted both from Win98.

Thanks again,

Alex

Maybe it isn't really a FAT32 filesystem?

Could you try something like: strings /dev/hda5  | less

With a FAT32 filesystem, I get:

mkdosfs
BRJF_KEYFAT32
This is not a bootable disk.  Please insert a bootable floppy and
press any key to try again ...
RRaA
rrAa{
mkdosfs
BRJF_KEYFAT32
This is not a bootable disk.  Please insert a bootable floppy and
press any key to try again ...
list of short filenames on system...

Obviously I formatted the above with mkdosfs, but you can see the label
(RJF_KEY) and type as well.

By comparison, on NTFS, I get:

374 t+a`j
454 Invalid partition table
504 Error loading operating system
543 Missing operating system
0077003 NTFS
...

HTH

-Richard
  


-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Can't mount a fat32 partition

2005-07-13 Thread aabb
Hi,

Here's a strange one...

I use 2 partitions for Windows 98, hda1 and hda5. I set both up as type
c (fat32 LBA) during my gentoo installation, using fdisk. The entries
in /etc/fstab are almost identical:

/dev/hda1/mnt/win_cvfatumask=0,noexec  0 0
/dev/hda5/mnt/win_dvfatumask=0,noexec  0 0

Yet hda1 mounts with no problems, whereas hda5 doesn't. If I execute
mount /mnt/win_d I get the error:

mount: wrong fs type, bad option, bad superblock on /dev/hda5,
   or too many mounted file systems

I tried various combinations (such as mount -t vfat /dev/hda5
/mnt/win_d) and always get the same error. The only differences between
the 2 partitions that I can think of are:

(a) hda1 is primary whereas hda5 is logical
(b) hda5 is larger than hda1 (20 Gb and 15 Gb, respectively)
(c) hda1 is set as the boot partition in fdisk.

If I type the above error in Google I get many hits, but nothing helped.
Any ideas?

Thanks.
Alex
-- 
gentoo-user@gentoo.org mailing list