From owner-freebsd-questions@FreeBSD.ORG Sun Sep 14 20:55:45 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A6D25913 for ; Sun, 14 Sep 2014 20:55:45 +0000 (UTC) Received: from mail-yk0-x230.google.com (mail-yk0-x230.google.com [IPv6:2607:f8b0:4002:c07::230]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 661316CA for ; Sun, 14 Sep 2014 20:55:45 +0000 (UTC) Received: by mail-yk0-f176.google.com with SMTP id 131so1632831ykp.35 for ; Sun, 14 Sep 2014 13:55:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=zPStwHhNSuxuZ/DtQjndnE6olVHXVsrhqsHe7Lo7//o=; b=hrLibIZtsXYmFqJITI1bJNn4NJuMdnwZY4R81Y64kmA7fUOiz1AUPbcoBaM/y6koDO PRc4SRPiw71Ndu9eaipp/g7SgqloKUIJqtwEbLit47XyTABVAG9McGdiG9EEgs91n9uN YSKU2HGJ0dM4oj412EPM+m70/Oe3QAb3wi61cN3gFTbLHHJ5Rg0wc8mj2vkngAtRLz5S H224POfCFuHPfEb5Nmbyg8CH6NOtUBUAZKbFeFBtDRo7AXQ3DLTXuhQhkzgq8gGVKQs/ izHTggLij++1pdrRgFueN7ALL4UTxFrozDggJ5B6gS75n39wI+3x/HFlg4bjdm3ANQOk Nfgg== MIME-Version: 1.0 X-Received: by 10.236.201.20 with SMTP id a20mr29607259yho.10.1410728144576; Sun, 14 Sep 2014 13:55:44 -0700 (PDT) Received: by 10.170.218.197 with HTTP; Sun, 14 Sep 2014 13:55:44 -0700 (PDT) In-Reply-To: <20140914192419.GA1559@tiny-r269739> References: <4D32ABC9-D0D0-48D2-98D3-FF1D72A4261E@gmail.com> <6.0.0.22.2.20140910111010.052bfb38@mail.computinginnovations.com> <20140914192419.GA1559@tiny-r269739> Date: Sun, 14 Sep 2014 13:55:44 -0700 Message-ID: Subject: Re: Using the ISO releases on USB sticks. From: Mehmet Erol Sanliturk To: Matthias Apitz , FreeBSD Questions Mailing List Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Sep 2014 20:55:45 -0000 On Sun, Sep 14, 2014 at 12:24 PM, Matthias Apitz wrote: > El d=C3=ADa Sunday, September 14, 2014 a las 02:55:04PM -0400, Michael Po= well > escribi=C3=B3: > > > Warren Block wrote: > > > > > On Sun, 14 Sep 2014, atar wrote: > > > > > >> Just wanted to know please why does the command 'dd > > >> if=3DFreeBSD-i386-disc1.iso of=3DmyUSB-stick' doesn't make the USB s= tick > > >> bootable like it would does for CDROMs or DVDs? What's the differenc= e > > >> between CDROM and an USB? > > I always test new versions of FreeBSD on USB keys, right now while > typing I run a 11-CURRENT with KDE ... and mutt as MUA booted from an USB > key, while the disk in the laptop has still an older FreeBSD. > > The procedure to creat a boot-able USB key is simple: > > - make a file system on it > - mount it to /mnt > - do 'make installkernel' and 'make installworld' with DESTDIR=3D/mnt > - enrich the file system in /mnt with some stuff (for example install > packages into it with 'chroot /mnt pkg install ...') > - unmount and reboot > > even better, if you do not use an USB key directly, but do all the above > to a mdconfig file system (a file system in a normal plain file) and > copy later the result with dd(1) to the real USB key; > > let me know if you need a detailed procedure of it. > > HIH > > matthias > > -- > Matthias Apitz | /"\ ASCII Ribbon Campaign: > E-mail: guru@unixarea.de | \ / - No HTML/RTF in E-mail > WWW: http://www.unixarea.de/ | X - No proprietary attachments > phone: +49-170-4527211 | / \ - Respect for open standards > | en.wikipedia.org/wiki/ASCII_Ribbon_Campaig= n > > > Dear Matthias , If you supply such an algorithm , me and other people may use it to generate boot-able USB sticks with some installed packages . Thank you very much . Mehmet Erol Sanliturk