From owner-freebsd-questions@freebsd.org Tue Aug 4 15:36:32 2015 Return-Path: Delivered-To: freebsd-questions@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 A4B0D9B3DA5 for ; Tue, 4 Aug 2015 15:36:32 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "wonkity.com", Issuer "wonkity.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 6049FE24 for ; Tue, 4 Aug 2015 15:36:31 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.15.2/8.15.2) with ESMTPS id t74FaSdR064384 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 4 Aug 2015 09:36:28 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.15.2/8.15.2/Submit) with ESMTP id t74FaR3w064342; Tue, 4 Aug 2015 09:36:28 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Tue, 4 Aug 2015 09:36:27 -0600 (MDT) From: Warren Block To: Bernt Hansson cc: freebsd-questions@freebsd.org Subject: Re: USB stick and some help with it. [SOLVED] The usb stick is in the trash now. In-Reply-To: <55C0084B.4000209@bananmonarki.se> Message-ID: References: <55BF6AA0.2030802@bananmonarki.se> <55C0084B.4000209@bananmonarki.se> User-Agent: Alpine 2.20 (BSF 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (wonkity.com [127.0.0.1]); Tue, 04 Aug 2015 09:36:28 -0600 (MDT) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Aug 2015 15:36:32 -0000 Okay. Just to review: When having trouble writing to a USB stick on FreeBSD, the first thing to suspect is old partition metadata. That can be removed with 'gpart destroy'. After that, suspect USB quirks and then hardware problems, in that order. Very little besides gpart(8) and dd(1) should be needed. Maybe usbconfig(8) for USB quirks. I have not found a Linux utility similar to gpart in capability and ease of use. Some Linux utilities can be useful, but don't reach for them until you have tried what is available in FreeBSD. And please be careful about applying Linux remedies in FreeBSD, because they are not identical systems.