From owner-freebsd-questions@FreeBSD.ORG Thu Jan 31 17:26:40 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 92A0316A417 for ; Thu, 31 Jan 2008 17:26:40 +0000 (UTC) (envelope-from mark@msen.com) Received: from shell.msen.com (msen.com [148.59.86.2]) by mx1.freebsd.org (Postfix) with ESMTP id 36C1D13C447 for ; Thu, 31 Jan 2008 17:26:40 +0000 (UTC) (envelope-from mark@msen.com) X-Sent-To: Received: from [192.168.2.5] (c-71-238-82-210.hsd1.mi.comcast.net [71.238.82.210]) (authenticated bits=0) by shell.msen.com (8.14.2/8.14.2) with ESMTP id m0VH8Wwi031389 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Thu, 31 Jan 2008 12:08:33 -0500 (EST) (envelope-from mark@msen.com) From: Mark Moellering Organization: Psyberation To: freebsd-questions@freebsd.org Date: Thu, 31 Jan 2008 12:08:21 -0500 User-Agent: KMail/1.9.5 References: <47A1E239.2070102@onetel.com> In-Reply-To: <47A1E239.2070102@onetel.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200801311208.23044.mark@msen.com> Received-SPF: Pass (sender authenticated); receiver=msen.com; client-ip=71.238.82.210; envelope-from= Received-SPF: Pass (sender authenticated); receiver=msen.com; client-ip=71.238.82.210; helo=[192.168.2.5] X-Milter: Spamilter (Reciever: shell.msen.com; Sender-ip: 71.238.82.210; Sender-helo: [192.168.2.5]; ) Subject: Re: ls sees disk but mount_ntfs doesn't X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: mark@msen.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Jan 2008 17:26:40 -0000 On Thursday 31 January 2008 9:59 am, Chris Whitehouse wrote: > Hi, > > I'm trying to get some data off a laptop. The disk is buried inside > somewhere so to avoid dismantling the laptop I am trying to mount it > using a FreeBSD livefs cd (7.0RC1). > > Note all the commands and output below are typed up by hand but I think > they are accurate. > > Fixit# ls -l /dev/ad0s2 > crw-r----- 1 root operator 0, 94 Jan 31 13:39 /dev/ad0s2 > Fixit# mount_ntfs -o ro /dev/ad0s2 /mnt > mount_ntfs: /dev/ad0s2: No such file or director > > > So I thought I would try using ntfs-3g which I would prefer anyway as it > is probably safer. > > Fixit# pkg_add -r fusefs-ntfs > Fetching ftp://[pathto]fusefs-ntfs.tbs...pkg_add: warning error writing > to tar: Broken pipe Done. > pkg_add: unable to open table of contents of file '+CONTENTS' - not a > package? > Fixit# > > Lastly dmesg shows: > GEOM_LABEL: Label for provider ad0s2 is ntfs/HDD. > > So how can I mount the hard disk? > > Or can anyone suggest an alternative way to get the data other than > dismantling the laptop? I've tried ping which is a linux based disk > cloning livecd but it can't see network or a usb hard drive. > > As a secondary question, could ntfs-3g be included in the livefs CD? It > seems like quite a useful utility to have. > > Thanks > > Chris Chris, On my system, the ntfs partition you need to mount is ad0s1 Also, make sure that the ntfs driver is either in your kernel or loaded as a module at boot, should be ntfs_load="YES" in loader.conf as module This should allow you to mount the drive, assuming nothing major is wrong with it. (I have dual boot system andthese are the settings I use) obviously, if you are not mounting as root, you have to make sure you can mount as a user... Mark Moellering Psyberation, inc.