From owner-freebsd-questions Fri Feb 21 5:15:15 2003 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 474FB37B405 for ; Fri, 21 Feb 2003 05:15:12 -0800 (PST) Received: from catflap.home.slightlystrange.org (pc1-cmbg1-4-cust43.cmbg.cable.ntl.com [62.253.133.43]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2E51643FAF for ; Fri, 21 Feb 2003 05:15:11 -0800 (PST) (envelope-from dan@slightlystrange.org) Received: from danielby by catflap.home.slightlystrange.org with local (Exim 3.36 #1) id 18mD15-000M1h-00 for freebsd-questions@freebsd.org; Fri, 21 Feb 2003 13:15:03 +0000 Date: Fri, 21 Feb 2003 13:15:03 +0000 From: Daniel Bye To: freebsd-questions@freebsd.org Subject: Re: mount_ntfs fails Message-ID: <20030221131503.GA84412@catflap.home.slightlystrange.org> Reply-To: dan@slightlystrange.org Mail-Followup-To: freebsd-questions@freebsd.org References: <1045832096.214.6.camel@lucifer> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1045832096.214.6.camel@lucifer> User-Agent: Mutt/1.4i X-Scanner: exiscan *18mD15-000M1h-00*t2iZGYkgRAU* (SlightlyStrange.org, Using NOD32 http://www.nod32.com) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, Feb 21, 2003 at 01:54:57PM +0100, Didier Wiroth wrote: > Hey, > > I have two harddisks: > 1) ad0 with 1 slice containing Windows XP pro > 2) ad2 with two slices s1 is ntfs and s2 is freebsd 4.7-release > > I can mount_ntfs without problems ad2s1 from freebsd! > > BUT I can't mount_ntfs ad0s! When I try to mount it with the following > command: > mount_ntfs /dev/ad0s1 /mnt > > I get the following error: > mount_ntfs: /dev/ad0s1: Invalid argument > > And in /var/log/messages I see this: > Feb 21 13:46:39 lucifer /kernel: ad0s1: slice extends beyond end of > disk: truncating from 78140097 to 4408785 sectors > Feb 21 13:46:39 lucifer /kernel: ntfs_loadntnode: BREAD FAILED > Feb 21 13:46:39 lucifer /kernel: ntfs_vget: CAN'T LOAD ATTRIBUTES FOR > INO: 0 > > 1) What is the problem with ad0? > 2) What can I do to resolve the problem so that I'm able to mount_ntfs > ad0s1? Does "mount_ntfs /dev/ad0s1c /mnt" work? I have had similar moments of darkness, and seem to recall that was one way out. I'm not sure of the reason for this - it is something to do with the way Windows installs itself on the disk, and with the BSD disk name convention, the c partition represents the whole slice. That's my theory, anyway ;-) -- Daniel Bye PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc PGP Key fingerprint: 3D73 AF47 D448 C5CA 88B4 0DCF 849C 1C33 3C48 2CDC _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message