From owner-freebsd-hackers@FreeBSD.ORG Wed Nov 27 07:12:27 2013 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 470F455B for ; Wed, 27 Nov 2013 07:12:27 +0000 (UTC) Received: from mout.gmx.net (mout.gmx.net [212.227.17.21]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id D4ADF2C07 for ; Wed, 27 Nov 2013 07:12:26 +0000 (UTC) Received: from scdbackup.webframe.org ([87.167.189.128]) by mail.gmx.com (mrgmx002) with ESMTPSA (Nemesis) id 0LuxG5-1VcSVd2lsX-0107ZP for ; Wed, 27 Nov 2013 08:12:24 +0100 Date: Wed, 27 Nov 2013 08:11:23 +0100 From: "Thomas Schmitt" To: freebsd-hackers@freebsd.org Subject: Re: how to build a liveDVD Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit References: <20131126202457.GA1065@tiny-r255948> In-Reply-To: <20131126202457.GA1065@tiny-r255948> Message-Id: <16497640725031909990@scdbackup.webframe.org> X-Provags-ID: V03:K0:tA/Mwuc+gonzFh5vXq2jFAQ1EiS3plrvshrOwMe4Tr7wdzdIh6C L1hDvKtJrVKd8w0qqCaqn1EldXwfxJdCC+Fm+0bSnkwLWCBp1fOE0tBB3hjl88CKpt5cJuH YZVF/QMY+bGJf5qW3iZvo9OyfKtlVdQplwZhA3Q83oPoTJY40nJHfLuobtfiP5dHnAbjpZI /q6KMbE0Lsy+g/tMe+PNA== X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Nov 2013 07:12:27 -0000 Hi, Matthias Apitz wrote: > I've created a lot of times USB keys which acts as a FreeBSD live system, > [...] Is there some kindo of tutorial to do the same based on a DVD I once exercised my ISO 9660 producing program with this: https://wiki.freebsd.org/AvgLiveCD It booted up to a menu, at least. The difference between booting from USB stick (or hard disk) and CD/DVD/BD is that the BIOS will not start the booting by executing code of the Master Boot Record, but rather lookup the El Torito Boot Catalog to execute the Boot Image file. In the wiki example step 4 the Boot Image is the file boot/cdboot. It obviously was created as /tmp/R/boot/cdboot by the "make" commands in step 2, or else the mkisofs run would not find it and fail. The Boot Catalog gets created by mkisofs. The shown mkisofs options will not only work with mkisofs but also with genisoimage and with my program xorriso (by its emulation: xorriso -as mkisofs ...options...). Have a nice day :) Thomas