From owner-freebsd-questions@FreeBSD.ORG Wed Aug 1 19:22:30 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CCEEF16A420 for ; Wed, 1 Aug 2007 19:22:30 +0000 (UTC) (envelope-from lreid@cs.okstate.edu) Received: from a.cs.okstate.edu (a.cs.okstate.edu [139.78.113.1]) by mx1.freebsd.org (Postfix) with ESMTP id AD64213C459 for ; Wed, 1 Aug 2007 19:22:30 +0000 (UTC) (envelope-from lreid@cs.okstate.edu) Received: from [172.18.0.137] (unknown [70.168.226.150]) by a.cs.okstate.edu (Postfix) with ESMTP id C5256A0848; Wed, 1 Aug 2007 14:22:29 -0500 (CDT) Message-ID: <46B0DD73.7080304@cs.okstate.edu> Date: Wed, 01 Aug 2007 14:22:27 -0500 From: Reid Linnemann User-Agent: Thunderbird 2.0.0.0 (X11/20070615) MIME-Version: 1.0 To: Andrey Shuvikov References: <24393ae80708011217r336ecc44m10a129890da6952f@mail.gmail.com> In-Reply-To: <24393ae80708011217r336ecc44m10a129890da6952f@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Installing from USB Flash Drive X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Aug 2007 19:22:30 -0000 Written by Andrey Shuvikov on 08/01/07 14:17>> > On 8/1/07, Ross Penner wrote: >> Hi everybody, >> >> I'm trying to install a system on a machine that doesn't have an optical >> drive. I plan on using a USB flash drive to do the job and found a >> messages from hackers@freebsd.org >> (http://www.mail-archive.com/freebsd-hackers@freebsd.org/msg55434.html) >> about just such a thing. The script provided converts the CD image into >> one suitable for a flashmemory stick. I used and coverted it without >> issue. The instructions say to use dd to prepare the flash drive so >> executed >> #dd if=flashbsd.iso of=/dev/da0 > > This will copy CD to USB sector-by-sector recreating CD filesystem > (ISO-9660) on the stick. I don't think it's what system expects. I > tried to do similar thing some time ago. I don't remember details but > what I did was mounting CD-image and copying files from there to > preformatted USB stick. The script he referenced built a disk image from the iso-9660 fs to create his flashbsd.iso image - the .iso extension at this point is misleading. The script makes a dedicated freebsd memory disk, puts bootcode and a UFS filesystem on it, and copies the contents of the install CD to the UFS filesystem. It's this image that he is then dd'ing to the flash drive.