howto mount logical fat32 partition? (Invalid argument error...)

Shantanoo freebsd at dhumketu.cjb.net
Tue Mar 30 08:35:52 PST 2004


+++ Tamas ZADORI [freebsd] [30-03-04 00:24 +0200]:
| Hi!
| 
| After browsing and googleing a lot I have no other idea how to mount my
| logical partition. I'm using RELEASE-5.2.1 with a freshly compiled
| kernel (yes, with msdosfs included).
| 
| The output of fdisk is here:
| 
| #fdisk ad0
| ******* Working on device /dev/ad0 *******
| parameters extracted from in-core disklabel are:
| cylinders=116301 heads=16 sectors/track=63 (1008 blks/cyl)
| 
| Figures below won't work with BIOS for partitions not in cyl 1
| parameters to be used for BIOS calculations are:
| cylinders=116301 heads=16 sectors/track=63 (1008 blks/cyl)
| 
| Media sector size is 512
| Warning: BIOS sector numbering starts with sector 1
| Information from DOS bootblock is:
| The data for partition 1 is:
| sysid 7 (0x07),(OS/2 HPFS, NTFS, QNX-2 (16 bit) or Advanced UNIX)
|     start 63, size 16386237 (8001 Meg), flag 80 (active)
| 	beg: cyl 0/ head 1/ sector 1;
| 	end: cyl 1019/ head 254/ sector 63
| The data for partition 2 is:
| sysid 15 (0x0f),(Extended DOS (LBA))
|     start 16386300, size 100840005 (49238 Meg), flag 0
| 	beg: cyl 1020/ head 0/ sector 1;
| 	end: cyl 1023/ head 254/ sector 63
| 
| # file -s /dev/ad0s5
| /dev/ad0s5: x86 boot sector, extended partition table
| 
| After I try to mount it brings up the following error:
| 
| root at cheetah:~# mount -t msdos /dev/ad0s5 /mnt
| msdosfs: /dev/ad0s5: Invalid argument
| root at cheetah:~# mount -t msdosfs /dev/ad0s5 /mnt
| msdosfs: /dev/ad0s5: Invalid argument
| root at cheetah:~# mount_msdosfs /dev/ad0s5 /mnt
| mount_msdosfs: /dev/ad0s5: Invalid argument
| 
| Is there a workaround for this? As I mentioned I found nothing on the
| web that could help me.
| 
| Thanks,
| Thomas
| 
| ps: I'm not on the list, please cc it to me as well.

try 'scandisk' through windows and then try re-mounting.
This type of prob. is faced when you have Win2k and FBSD dual booted.


More information about the freebsd-questions mailing list