From owner-freebsd-questions@FreeBSD.ORG Wed Feb 10 22:07:16 2010 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 D6B48106568D for ; Wed, 10 Feb 2010 22:07:16 +0000 (UTC) (envelope-from sonicy@otenet.gr) Received: from kane.otenet.gr (kane.otenet.gr [83.235.67.31]) by mx1.freebsd.org (Postfix) with ESMTP id 423DD8FC18 for ; Wed, 10 Feb 2010 22:07:15 +0000 (UTC) Received: from pulstar.local (athedsl-4556921.home.otenet.gr [94.70.84.129]) by kane.otenet.gr (8.13.8/8.13.8/Debian-3) with ESMTP id o1AM7Ew7014000; Thu, 11 Feb 2010 00:07:14 +0200 Message-ID: <4B732E12.5060408@otenet.gr> Date: Thu, 11 Feb 2010 00:07:14 +0200 From: Manolis Kiagias User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.7) Gecko/20100111 Thunderbird/3.0.1 MIME-Version: 1.0 To: Pierre-Luc Drouin References: <4B7320DA.2080606@pldrouin.net> <4B732695.5080701@otenet.gr> <4B732795.70702@pldrouin.net> <4B732B7C.6000102@pldrouin.net> In-Reply-To: <4B732B7C.6000102@pldrouin.net> X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: FreeBSD-questions@freebsd.org Subject: Re: How to create a FreeBSD 8.0 boot CD without boot.flp? 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, 10 Feb 2010 22:07:16 -0000 On 10/02/2010 11:56 μ.μ., Pierre-Luc Drouin wrote: > I just realized that cdboot does not contain the kernel as boot.flp > used to, so I guess /boot/kernel has to be there... So it does not > seem to work with mkisofs. I did > > mkisofs -J -R -no-emul-boot -b ./cdboot -iso-level 3 -V FreeBSD_Custom > -o custom_FreeBSD_8_0_i386_cd.iso custom_FreeBSD_8_0_i386_cd > > and it throws: > mkisofs: Uh oh, I cant find the boot image './cdboot' > > I tried with the absolute path for cdboot and it does not help either. > From the mkisofs man page it says that -no-emul-boot has to be added > if the size of the image file is not 1200, 1440, or 2880 kB. I noticed > that the cdboot file is only 1.2 kB, so I guess -no-emul-boot is > required... Do you have an idea what could be wrong? > > Thanks! > No need to specify an absolute path - the path you are using for the files is used. Here is another example: Assuming your files are in my_cd_files (and there is a boot/cdboot directory structure in there): mkisofs -J -R -no-emul-boot -b boot/cdboot -iso-level 3 -V FreeBSD_Custom -o custom-freebsd.iso my_cd_files or you could even do: cd my_cd_files mkisofs -J -R -no-emul-boot -b boot/cdboot -iso-level 3 -V FreeBSD_Custom -o ../custom-freebsd.iso . (note the dot at the end)