From owner-freebsd-questions@freebsd.org Wed Sep 9 18:51:15 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id DD9993D8DA5 for ; Wed, 9 Sep 2020 18:51:15 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from mail-il1-x12c.google.com (mail-il1-x12c.google.com [IPv6:2607:f8b0:4864:20::12c]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BmrhM1CVcz4cgw for ; Wed, 9 Sep 2020 18:51:14 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: by mail-il1-x12c.google.com with SMTP id w8so3327790ilj.8 for ; Wed, 09 Sep 2020 11:51:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=+XOrouUkpavIhlFt0uQWenRS6TUuWM5GHnNJNxBmflE=; b=dBfQrha2DWKv8M1bksWD8SQlYlCixdds28U8fWW+exm9CBMioD5iT9Qfh+ekI/mZx3 +5vKf5n7Ibyz7byd9qjL0XcByzyIOD0GIbWeln9w0Ukbws/Tx5N/ZYGceD46A/4Ddc/O G5NWO1qS4JRP2QCfXpSaSFtTEF/19DdWm34gonstHNJsG54S8LC0WWXY+QLoo2kE+h9/ Y0fhBmmOaDPwio0pFXCr8SgMFlCSoOmk4SOI/jDkB2/JDKYUoIOAyMas2veMOhgxh74B /4ZqgR1oJ8BRSUhNCmqn10cXW8v6UiJBtbsExut9RgO5ua1kFRh02GO5TZ99qFmjbUJc W/WA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=+XOrouUkpavIhlFt0uQWenRS6TUuWM5GHnNJNxBmflE=; b=ixvwFi0n4DflA33PthAFAzSR0RnetwYkCuEKePct+2cct1deqishIeeVCjkEAHVlDf u8sejCvtdgJXEpXLca/SaUwQOTt8U6+jrrff4GqVPTxBfcKDfNkUfqS+mLzhxwJ76urh 8+726d3sjOHhMNvJFaVz7MY1h5yDaNIk+jF76pZBFTwZVpE9XPRmhusDJ9Yob81jpbwc B7ExHSLyJHGprLOjNKxXhLYsZVHVC7ytnfXZYEps5hAgoyrILdgvBxW0seJ6sBH7a5xK SPtJQKQfqlTX4DzKTRr4pKsJg5LMS+k+6Lp0MrWC1uqjws+Z4GGIop2MHbe6lTMJ8ms5 aoJQ== X-Gm-Message-State: AOAM531koP7Zy6LShX0gnEt5+Yi+AV3Vdlw68s+CXFBBCBE7V6U9cE9L jvHU7RmoHhVt/l5G5CkYgOYqt8ptzxEz4m3p0iyd5gbX6PJosg== X-Google-Smtp-Source: ABdhPJwCkXkFWuFuxFB8Pmzb8PFYAUt6uPqmyO4FwNa7NPDsP8vrVQfswwAsWwMYqRuZgU7rWAmVPGEwDzoZu62dOmw= X-Received: by 2002:a92:91ca:: with SMTP id e71mr4589435ill.185.1599677474063; Wed, 09 Sep 2020 11:51:14 -0700 (PDT) MIME-Version: 1.0 References: <5e6835d9-c556-6059-feb4-f9195cfbab5f@hotmail.com> In-Reply-To: From: Aryeh Friedman Date: Wed, 9 Sep 2020 14:51:02 -0400 Message-ID: Subject: Re: mounting a windows 10 drive To: Manish Jain Cc: FreeBSD Mailing List X-Rspamd-Queue-Id: 4BmrhM1CVcz4cgw X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=dBfQrha2; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of aryehfriedman@gmail.com designates 2607:f8b0:4864:20::12c as permitted sender) smtp.mailfrom=aryehfriedman@gmail.com X-Spamd-Result: default: False [-4.41 / 15.00]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-1.40)[-1.395]; FREEMAIL_TO(0.00)[hotmail.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.02)[-1.022]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-0.99)[-0.993]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::12c:from]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Sep 2020 18:51:16 -0000 On Wed, Sep 9, 2020 at 2:47 PM Manish Jain wrote: > > > On 2020-09-10 00:14, Manish Jain wrote: > > > > > > On 2020-09-09 23:47, Aryeh Friedman wrote: > >> I have just installed Windows 10 1903 on a new drive (UEFI), > >> /dev/ada0, on > >> the same machine I have FreeBSD 12.1pl9 on an older drive (MBR/BIOS), > >> dev/ada1. Both boot fine independently but I can't seem to figure > >> out how > >> to mount the windows "C:" drive in FreeBSD. Both OS's where installed > >> using automatic disk allocation. I tried sysutils/fuse-ntfs to no > avail. > >> Ideas? > >> > >> Here is the gpart info on the drives: > >> > >> Geom name: ada0 > >> modified: false > >> state: OK > >> fwheads: 16 > >> fwsectors: 63 > >> last: 2000409230 > >> first: 34 > >> entries: 128 > >> scheme: GPT > >> Providers: > >> 1. Name: ada0p1 > >> Mediasize: 554696704 (529M) > >> Sectorsize: 512 > >> Stripesize: 0 > >> Stripeoffset: 1048576 > >> Mode: r0w0e0 > >> efimedia: > >> HD(1,GPT,73c6a8f0-5211-4bb4-a143-13c4d89949a4,0x800,0x108800) > >> rawuuid: 73c6a8f0-5211-4bb4-a143-13c4d89949a4 > >> rawtype: de94bba4-06d1-4d40-a16a-bfd50179d6ac > >> label: Basic data partition > >> length: 554696704 > >> offset: 1048576 > >> type: ms-recovery > >> index: 1 > >> end: 1085439 > >> start: 2048 > >> 2. Name: ada0p2 > >> Mediasize: 104857600 (100M) > >> Sectorsize: 512 > >> Stripesize: 0 > >> Stripeoffset: 555745280 > >> Mode: r0w0e0 > >> efimedia: > >> HD(2,GPT,193621c7-305e-4a91-9b61-03dccc2d6892,0x109000,0x32000) > >> rawuuid: 193621c7-305e-4a91-9b61-03dccc2d6892 > >> rawtype: c12a7328-f81f-11d2-ba4b-00a0c93ec93b > >> label: EFI system partition > >> length: 104857600 > >> offset: 555745280 > >> type: efi > >> index: 2 > >> end: 1290239 > >> start: 1085440 > > > > Have you tried `mount -t msdosfs -o rw /dev/ada0p2 /mnt` ? > > > > Regards, > > Manish Jain > > The other thing to try is : > > ntfs-3g /dev/ada0p3 /mnt > > I have taken 3 as an example. It could be anything greater than 0. > # mount -t msdosfs -o rw /dev/ada0p2 /mnt # ls /mnt EFI # umount /mnt # ntfs-3g /dev/ada0p3 /mnt NTFS signature is missing. Failed to mount '/dev/ada0p3': Invalid argument The device '/dev/ada0p3' 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? -- Aryeh M. Friedman, Lead Developer, http://www.PetiteCloud.org