Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Fat32 problem ...
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
greymonkey
n00b
n00b


Joined: 15 May 2005
Posts: 9

PostPosted: Sun Jun 12, 2005 8:12 pm    Post subject: Fat32 problem ... Reply with quote

I've used Partition Magic to convert my NTFS partition into a FAT32 partition, so I can read and write to it from both Windblows and Gentoo. I've hit a problem because now I can't mount the partition at all :/ I just don't understand what I'm missing, could anyone shed some light on this?

dmesg has the following information:

Quote:
dogg linux # dmesg | grep hdb
ide0: BM-DMA at 0xd400-0xd407, BIOS settings: hda:DMA, hdb:DMA
hdb: HDS722516VLAT80, ATA DISK drive
hdb: max request size: 1024KiB
hdb: 321672960 sectors (164696 MB) w/7938KiB Cache, CHS=20023/255/63, UDMA(100)
hdb: cache flushes supported
hdb: hdb1
VFS: Can't find a valid FAT filesystem on dev hdb.


fdisk -l /dev/hdb says the following:

Quote:
dogg linux # fdisk -l /dev/hdb

Disk /dev/hdb: 164.6 GB, 164696555520 bytes
255 heads, 63 sectors/track, 20023 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdb1 1 20023 160834716 c W95 FAT32 (LBA)


I have the relevant fat stuff compiled into the kernel:

Quote:
dogg linux # grep FAT .config
# DOS/FAT/NT Filesystems
CONFIG_FAT_FS=y
CONFIG_VFAT_FS=y
CONFIG_FAT_DEFAULT_CODEPAGE=437
CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1"


but when I try and mount it I get:

Quote:
dogg linux # mount -t vfat /dev/hdb1 /mnt/big/
mount: wrong fs type, bad option, bad superblock on /dev/hdb1,
or too many mounted file systems


It would mount when it was NTFS, and it works perfectly in Windows. Thanks for any help ...
Back to top
View user's profile Send private message
dgaffuri
Advocate
Advocate


Joined: 05 Jun 2005
Posts: 2078
Location: Italy

PostPosted: Sun Jun 12, 2005 9:53 pm    Post subject: Reply with quote

Please post the output of the p command of
Code:
fdisk /dev/hdb
Back to top
View user's profile Send private message
beatryder
Veteran
Veteran


Joined: 08 Apr 2005
Posts: 1138

PostPosted: Sun Jun 12, 2005 11:24 pm    Post subject: Reply with quote

Well, first thing you did wrong was use partitioin magic, sorry for the flame.

have you tried fscking it?

Code:

# emerge dosfstools
# fsck /dev/fat32partition

_________________
Dont make it idiot proof, make it work.
Neucode.org
<suppressed key>
Back to top
View user's profile Send private message
greymonkey
n00b
n00b


Joined: 15 May 2005
Posts: 9

PostPosted: Tue Jun 14, 2005 6:07 pm    Post subject: Reply with quote

Hey, thanks for the pointers. The output of the p from fdisk /dev/hdb

Quote:
Command (m for help): p

Disk /dev/hdb: 164.6 GB, 164696555520 bytes
255 heads, 63 sectors/track, 20023 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdb1 1 20023 160834716 c W95 FAT32 (LBA)


I've tried

Code:
# fsck /dev/hdb1


and it is *not* happy. It lists a lot of files which I've deleted ...
Back to top
View user's profile Send private message
beatryder
Veteran
Veteran


Joined: 08 Apr 2005
Posts: 1138

PostPosted: Tue Jun 14, 2005 6:19 pm    Post subject: Reply with quote

Well, my suggestion would be to back up your data and format the partitio if you can. If not, you may try booting to a windows98 floppy, and running scandisk on it from there.
_________________
Dont make it idiot proof, make it work.
Neucode.org
<suppressed key>
Back to top
View user's profile Send private message
greymonkey
n00b
n00b


Joined: 15 May 2005
Posts: 9

PostPosted: Tue Jun 14, 2005 9:54 pm    Post subject: Reply with quote

I dual boot and from within XP it will scandisk perfectly.

Thanks for the suggestions, I guess I'll have to move all my files and format it properly ...
Back to top
View user's profile Send private message
beatryder
Veteran
Veteran


Joined: 08 Apr 2005
Posts: 1138

PostPosted: Wed Jun 15, 2005 12:31 am    Post subject: Reply with quote

yeah, i have had zero luck with partition magic myself, it does not play nice with linux

have you tried using partition magic to scan the disk?
_________________
Dont make it idiot proof, make it work.
Neucode.org
<suppressed key>
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum