From owner-freebsd-questions@freebsd.org Mon Aug 3 23:06:23 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 5DD5D9B249A for ; Mon, 3 Aug 2015 23:06:23 +0000 (UTC) (envelope-from ike@michaeleichorn.com) Received: from mx1.eichornenterprises.com (mx1.eichornenterprises.com [104.236.13.122]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx1.eichornenterprises.com", Issuer "StartCom Class 1 Primary Intermediate Server CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 033E74E for ; Mon, 3 Aug 2015 23:06:22 +0000 (UTC) (envelope-from ike@michaeleichorn.com) Received: from mail.eichornenterprises.com (cpe-24-166-126-146.neo.res.rr.com [24.166.126.146]) by mx1.eichornenterprises.com (OpenSMTPD) with ESMTP id f495141c; Mon, 3 Aug 2015 19:06:13 -0400 (EDT) Received: by mail.eichornenterprises.com (OpenSMTPD) with ESMTPSA id b83b39a4; TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO; Mon, 3 Aug 2015 19:06:12 -0400 (EDT) Message-ID: <1438643172.1420.11.camel@michaeleichorn.com> Subject: Re: USB stick and some help with it. From: "Michael B. Eichorn" To: Bernt Hansson , freebsd-questions@freebsd.org Date: Mon, 03 Aug 2015 19:06:12 -0400 In-Reply-To: <55BFF081.5050703@bananmonarki.se> References: <55BF6AA0.2030802@bananmonarki.se> <55BFAC5D.5070309@sneakertech.com> <55BFB064.60507@gmail.com> <55BFF081.5050703@bananmonarki.se> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.16.4 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit 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: Mon, 03 Aug 2015 23:06:23 -0000 On Tue, 2015-08-04 at 00:51 +0200, Bernt Hansson wrote: > > On 2015-08-03 20:18, jd1008 wrote: > > > > On 08/03/2015 12:01 PM, Quartz wrote: > > > Can you do a quick sanity check and see if the stick can be wiped > > > on > > > a different machine? Or perhaps the same machine by booting off a > > > > > > live linux cd. Being on old flash drive there's a possibility > > > it's > > > just up and died due to wear and the problem isn't due to FreeBSD > > > at > > > all. > > I second Quartz's suggestion. > > Just download a live linux cd, such as: > > http://ftp.uni-kl.de/pub/linux/knoppix-dvd/KNOPPIX_V7.4.1DVD-2014 > > -09-15-EN.iso > > > > along with checksum files: > > http://ftp.uni-kl.de/pub/linux/knoppix-dvd/KNOPPIX_V7.4.1DVD-2014 > > -09-15-EN.iso.md5 > > > > http://ftp.uni-kl.de/pub/linux/knoppix-dvd/KNOPPIX_V7.4.1DVD-2014 > > -09-15-EN.iso.sha1 > > > > > > Once you burn it to dvd, boot it, and use the gui to launch a > > terminal > > (icon for it is at bottom left bar). > > > My burner can no longer burn dvds only plain cds. Arch Linux still fits on a 700MiB CD. https://www.archlinux.org/download/ The CD boots into a live environment as root. so you can skip: > > then you run > > su - > > And start here: > > then you insert the usb stick. > > Assuming there is only one HD in the machine, the stick will be > > named /dev/sdb If more than one HD in the machine, say 4 HD (sda, > > sdb, sdc, sdd), then > > the stick will be sde. > > > > Run > > > > dd if=/dev/zero of=/dev/sd? bs=1M > > where ? is b or c or d ...etc depending on how many HD's you have > > in > > the system. > > You do not need to specify the count, because dd will stop when the > > > > stick is full of > > zeros. > > > > Once done, unplug the stick, and reinsert it. > > > > then run the command fdisk /dev/sd? (? as explained above) > > > > create 1 partition. > > set it's type to whatever you want. I usually use the letter c as > > the > > type > > to mean fat lba. > > > > To finish, type the command w to the fdisk session > > and you are done. > > > > Now type fdisk -l /dev/sd? > > > > and you will see the drive has 1 partition. > > > > now create a filesystem on your drive: > > > > mkfs -t vfat /dev/sd?1 (again ? as explained above). > > > > type the command > > reboot > > and the dvd drive will get ejected. > > press the return key to boot into your normal HD. > > > > > > The stick is now useable and mountable. > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org"