From owner-freebsd-doc@FreeBSD.ORG Mon Oct 11 17:20:28 2004 Return-Path: Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D53AF16A4CE for ; Mon, 11 Oct 2004 17:20:28 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id A858643D2F for ; Mon, 11 Oct 2004 17:20:28 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.11/8.12.11) with ESMTP id i9BHKSvX029210 for ; Mon, 11 Oct 2004 17:20:28 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i9BHKSl4029209; Mon, 11 Oct 2004 17:20:28 GMT (envelope-from gnats) Date: Mon, 11 Oct 2004 17:20:28 GMT Message-Id: <200410111720.i9BHKSl4029209@freefall.freebsd.org> To: freebsd-doc@FreeBSD.org From: Sebastian Schulze Struchtrup Subject: subject=Re: docs/70952: Handbook section 16.6.2 has bad example X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Sebastian Schulze Struchtrup List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Oct 2004 17:20:28 -0000 The following reply was made to PR docs/70952; it has been noted by GNATS. From: Sebastian Schulze Struchtrup To: freebsd-gnats-submit@FreeBSD.org, jon@whoweb.com Cc: Subject: subject=Re: docs/70952: Handbook section 16.6.2 has bad example Date: Mon, 11 Oct 2004 19:17:44 +0200 doc/70952: > There appear to be two problems with the example > First, the cdboot file is not a standard floppy boot size so using > the -b flag without a corresponding -no-emul-boot flag. > The mkisofs(8) manpage describes this.Second, the -U flag does not > appear to work with FreeBSD. Booting a CDrom created with -U > produces the following boot error: > Looking up /BOOT/LOADER...file not found > and the boot procedure hangs. I discoved the same problem regarding the missing -no-emul-boot parameter to mkisofs. But booting the created CDROM (with -U) works fine for me. The boot code looks for /BOOT/LOADER and /boot/loader. A patch to correct the documentation is attached below. I have added the -no-emul-boot flag and added another sentence describing the reason for adding this. Index: chapter.sgml =================================================================== RCS file: /usr/home/cvs/freebsd/doc/en_US.ISO8859-1/books/handbook/disks/chapter.sgml,v retrieving revision 1.222 diff -U2 -r1.222 chapter.sgml --- chapter.sgml 26 Sep 2004 20:08:31 -0000 1.222 +++ chapter.sgml 8 Oct 2004 16:01:55 -0000 @@ -1032,5 +1032,9 @@ El Torito bootable CD. This option takes an argument which is the path to a boot image from the top of the - tree being written to the CD. So, given that + tree being written to the CD. The default for mkisofs is to use + floopy disc emulation with an image sizes of exactly 1200, 1440 or + 2880 KB. The FreeBSD cdrom boot loader /boot/cdboot + does not use any emulation. Hence, we have to add the + . So, given that /tmp/myboot holds a bootable FreeBSD system with the boot image in @@ -1039,5 +1043,5 @@ /tmp/bootable.iso like so: - &prompt.root; mkisofs -U -R -b boot/cdboot -o /tmp/bootable.iso /tmp/myboot + &prompt.root; mkisofs -U -R -no-emul-boot -b boot/cdboot -o /tmp/bootable.iso /tmp/myboot Having done that, if you have vn