From owner-freebsd-questions@freebsd.org Mon Mar 25 16:47:41 2019 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4308D154574A for ; Mon, 25 Mar 2019 16:47:41 +0000 (UTC) (envelope-from jd1008@gmail.com) Received: from mail-it1-x141.google.com (mail-it1-x141.google.com [IPv6:2607:f8b0:4864:20::141]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3113074E77 for ; Mon, 25 Mar 2019 16:47:40 +0000 (UTC) (envelope-from jd1008@gmail.com) Received: by mail-it1-x141.google.com with SMTP id w18so14991298itj.4 for ; Mon, 25 Mar 2019 09:47:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-transfer-encoding; bh=BWaSLS5qApW9XLZdjgoXKTFGg2dXM6YV7zetvs/hPrg=; b=ZYrixQSCrVKMTfaaJzP55VA84Ij5mtmxPWIvN3iqCrv7Xz8Bedo5tYHWcR1qzsPDB8 CxBHlv5tYomlpi+M8vZKqSDc+gK1JtgCk5Wcx4dN/Tiwkug5F13bzwKE/JM6t1XdbG58 FmyEbynxxVgqfdP37qavZQHYJ9DCfrT/cZfRshyKp0/+JGkXXlV5mJARjHf9vtpFossV l1Iowf1MAGUv2pf+0li+shfyvyGWUM7BYqOAFBj5UtzNMuSjNVUkMFL/2m7dsOAOKUiL w6wxDNAOWjozgv6qTd27Q+fOZ01eWorX+IR6f9q70/zFowI4oPQ4R60w0KtvR/ahljvY cpgA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:content-transfer-encoding; bh=BWaSLS5qApW9XLZdjgoXKTFGg2dXM6YV7zetvs/hPrg=; b=juoRDZTrCucTR4Kq46U+DMoy95lmtRVf7hhZZ+W/zjrVrBZU1MaWMFZnMZTfxVxc5Q M6HDIrW+Y9rDDUGiSCzVQnO2Iz2oM3ZOrWzHMIJ/1qj/5xtZyHn7OwZQ6bBl7wI/1ORr 6/PjrsVul9ui5oVDUTPQOWuBzuEaw/rKEE4F/ZTOnOXofa4YlQhCNmincW4oY9VFnBJa 4wOZm+UwAf7ERfPVitcYIw5X2j5gfY9G8zFHJc2LZ9syqdYMzuwdXlBc/U4yXmrzHQFY QFxt3Y6uyfLWx3jSg0YRubNbWCYJjnDN+L0de76Qz6vAZ+747X4PZFEniE0V2wTQi5ms TFsw== X-Gm-Message-State: APjAAAWG57/ycDYkVHoYqxgEMN65dFaSkXdu3RCM3Xnn7n2JcyQApcec 8h4/m4bmzORnbpGezdz3uhkdG/Ue X-Google-Smtp-Source: APXvYqxipvs57W0ndtC/II0x39BzQzN/FL82MVGc8DLuM7PGcdn2eOrjwqJV1oYX1/qH897nf9/spA== X-Received: by 2002:a24:2808:: with SMTP id h8mr5499789ith.85.1553532458880; Mon, 25 Mar 2019 09:47:38 -0700 (PDT) Received: from localhost.localdomain (50-243-4-3-static.hfc.comcastbusiness.net. [50.243.4.3]) by smtp.gmail.com with ESMTPSA id a80sm6007881ita.0.2019.03.25.09.47.37 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 25 Mar 2019 09:47:38 -0700 (PDT) Message-ID: <5C990650.6030907@gmail.com> Date: Mon, 25 Mar 2019 10:48:16 -0600 From: JD User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: Unable to mount FAT16 partition (Invalid Argument) References: <3fbf4d30-e286-fe43-3476-d2f4626b2407@gmail.com> <93bd85ea-23ee-4932-34ed-45529c03022c@netfence.it> <3a981d25-529c-9df4-ef76-c2017d3b41f5@gmail.com> In-Reply-To: <3a981d25-529c-9df4-ef76-c2017d3b41f5@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 3113074E77 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=ZYrixQSC; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of jd1008@gmail.com designates 2607:f8b0:4864:20::141 as permitted sender) smtp.mailfrom=jd1008@gmail.com X-Spamd-Result: default: False [-4.56 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-0.92)[-0.923,0]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; IP_SCORE(-0.63)[ip: (1.91), ipnet: 2607:f8b0::/32(-2.86), asn: 15169(-2.14), country: US(-0.07)]; RCVD_IN_DNSWL_NONE(0.00)[1.4.1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Mar 2019 16:47:41 -0000 On 03/25/2019 10:25 AM, Peter Erickson wrote: > While the partition is only 250M, anything is worth a shot at this > point. Unfortunately, that didn't work either - same result. I'm glad > that I'm not the only one that's stumped. > > # mount -t msdosfs -o ro,large /dev/ada1p5 /mnt > mount_msdosfs: /dev/ada1p5: Invalid argument > > On 3/25/19 9:21 AM, Andrea Venturoli wrote: >> On 3/25/19 2:42 AM, Peter Erickson wrote: >>> I'm hoping to get some assistance mounting a FAT (FAT16?) partition >>> created by the VMware ESXi installer (version 6.7.0). Every attempt >>> to mount it on 11.2-RELEASE-p4, results in an "Invalid argument" >>> error, without much to indicate what is wrong or how to resolve it. >>> Any advice or direction would be much appreciated. >> >> I've had this problem in the past and solved using "-o large". >> According to the man page this shouldn't be your case (and I don't >> remember how big a partition I was trying to mount), but, for the >> price, it's worth trying :) >> >> HTH. >> >> bye Assuming the device you entered (ada1p5) is the device in question, have you tried the option -o fat instead of msdosfs ? Also, again assuming the device name is as you entered, have you tried dd if=/dev/ada1p5 of=/dev/null bs=1M count=10 and see what error mesage(s) you get.