From owner-freebsd-questions@FreeBSD.ORG Tue Mar 30 08:35:52 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2F14316A4CE for ; Tue, 30 Mar 2004 08:35:52 -0800 (PST) Received: from dhumketu.homeunix.net (dialpool-210-214-66-100.maa.sify.net [210.214.66.100]) by mx1.FreeBSD.org (Postfix) with SMTP id 4BF7F43D41 for ; Tue, 30 Mar 2004 08:35:49 -0800 (PST) (envelope-from freebsd@dhumketu.cjb.net) Received: (qmail 4374 invoked by uid 1000); 30 Mar 2004 16:35:47 -0000 Date: Tue, 30 Mar 2004 22:05:47 +0530 From: Shantanoo To: Tamas ZADORI Message-ID: <20040330163547.GB4335@dhumketu.homeunix.net> Mail-Followup-To: Tamas ZADORI , freebsd-questions@freebsd.org References: <1080599071.776.5.camel@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1080599071.776.5.camel@localhost> User-Agent: Mutt/1.4i Organization: Hmmm... I dunno X-OS: FreeBSD 4.9-STABLE i386 cc: freebsd-questions@freebsd.org Subject: Re: howto mount logical fat32 partition? (Invalid argument error...) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Mar 2004 16:35:52 -0000 +++ 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@cheetah:~# mount -t msdos /dev/ad0s5 /mnt | msdosfs: /dev/ad0s5: Invalid argument | root@cheetah:~# mount -t msdosfs /dev/ad0s5 /mnt | msdosfs: /dev/ad0s5: Invalid argument | root@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.