From owner-freebsd-current@freebsd.org Mon Feb 29 15:55:37 2016 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A3345AB8019 for ; Mon, 29 Feb 2016 15:55:37 +0000 (UTC) (envelope-from bsd-lists@bsdforge.com) Received: from udns.ultimatedns.net (static-24-113-41-81.wavecable.com [24.113.41.81]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 85012107D for ; Mon, 29 Feb 2016 15:55:36 +0000 (UTC) (envelope-from bsd-lists@bsdforge.com) Received: from ultimatedns.net (localhost [127.0.0.1]) by udns.ultimatedns.net (8.14.9/8.14.9) with ESMTP id u1TFvXUk040218 for ; Mon, 29 Feb 2016 07:57:39 -0800 (PST) (envelope-from bsd-lists@bsdforge.com) To: In-Reply-To: <1456743667.143653098@f423.i.mail.ru> References: <1456743667.143653098@f423.i.mail.ru> From: "Chris H" Subject: Re: NTFS disks mounting trouble Date: Mon, 29 Feb 2016 07:57:39 -0800 Content-Type: text/plain; charset=UTF-8; format=fixed MIME-Version: 1.0 Message-id: <076d9dab6c4b5c1ae2ad80804958c753@ultimatedns.net> Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Feb 2016 15:55:37 -0000 On Mon, 29 Feb 2016 14:01:07 +0300 Олег Жаркой wrote > Hi peoples! > I install FreeBSD-Current and sysutils/fusefs-ntfs , but when I try mount > any NTFS partition I receive error message: [root@zbsd /dev]# ntfs-3g > /dev/ada0s2 /mnt Error reading bootsector: Invalid argument > Failed to mount '/dev/ada0s2': Invalid argument > The device '/dev/ada0s2' doesn't seem to have a valid NTFS. > Maybe the wrong device is used? Or the whole disk instead of a > partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around? > > [root@zbsd /dev]# file -s /dev/ada0s2 > /dev/ada0s2: DOS/MBR boot sector, code offset 0x52+2, OEM-ID "NTFS ", > sectors/cluster 8, Media descriptor 0xf8, sectors/track 63, heads 255, hidden > sectors 2929352704, dos < 4.0 BootSector (0x80), FAT (1Y bit by descriptor); > NTFS, sectors/track 63, sectors 921599, $MFT start cluster 38400, $MFTMirror > start cluster 2, bytes/RecordSegment 2^(-1*246), clusters/index block 1, > serial number 0a0b64eefb64ec60e > > [root@zbsd /dev]# uname -a > FreeBSD zbsd 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r296078: Fri Feb 26 > 18:55:46 IRKT 2016 root@zbsd:/usr/obj/usr/src/sys/zbsd amd64 [root@zbsd > /dev]# kldstat Id Refs Address Size Name >  1 39 0xffffffff80200000 f50aa0 kernel >  2 1 0xffffffff81152000 2d1670 zfs.ko >  3 2 0xffffffff81424000 a398 opensolaris.ko >  4 1 0xffffffff8142f000 b67ab0 nvidia.ko >  5 2 0xffffffff81f97000 450c0 linux.ko >  6 2 0xffffffff81fdd000 7ee8 linux_common.ko >  7 1 0xffffffff81fe5000 14dd0 fuse.ko >  8 1 0xffffffff82211000 23c7 ums.ko >  9 1 0xffffffff82214000 1890 uhid.ko > 10 1 0xffffffff82216000 1564 fdescfs.ko > 11 1 0xffffffff82218000 23a msdosfs_iconv.ko > 12 1 0xffffffff82219000 322f libiconv.ko > > What wrong? Dunno. Maybe a bad boot sector? Is it possible to mount it via: mount -t MSDOS /dev/ada0s2 /mnt ? Just a hunch. --Chris