From owner-freebsd-doc@FreeBSD.ORG Wed Aug 25 19:10:23 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 6303E16A53D for ; Wed, 25 Aug 2004 19:10:23 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4718543D45 for ; Wed, 25 Aug 2004 19:10:23 +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 i7PJANbd004323 for ; Wed, 25 Aug 2004 19:10:23 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i7PJANev004319; Wed, 25 Aug 2004 19:10:23 GMT (envelope-from gnats) Resent-Date: Wed, 25 Aug 2004 19:10:23 GMT Resent-Message-Id: <200408251910.i7PJANev004319@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-doc@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Jon Wallace Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D68EC16A4DA for ; Wed, 25 Aug 2004 19:01:12 +0000 (GMT) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id C19DE43D1D for ; Wed, 25 Aug 2004 19:01:12 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.12.11/8.12.11) with ESMTP id i7PJ1CTj027298 for ; Wed, 25 Aug 2004 19:01:12 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.12.11/8.12.11/Submit) id i7PJ1CGF027297; Wed, 25 Aug 2004 19:01:12 GMT (envelope-from nobody) Message-Id: <200408251901.i7PJ1CGF027297@www.freebsd.org> Date: Wed, 25 Aug 2004 19:01:12 GMT From: Jon Wallace To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Subject: docs/70952: Handbook section 16.6.2 has bad example X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Aug 2004 19:10:23 -0000 >Number: 70952 >Category: docs >Synopsis: Handbook section 16.6.2 has bad example >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Wed Aug 25 19:10:22 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Jon Wallace >Release: FreeBSD 5.2.1-RELEASE >Organization: Advanced Digital Research >Environment: # uname -a FreeBSD wallace 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #4: Mon Aug 9 21:29:44 EDT 2004 root@wallace:/usr/obj/usr/src/sys/WALLACE i386 >Description: The example provided in Handbook Section 16.6.2 contains an example that results in an error on the OS. The example is: # mkisofs -U -R -b boot/cdboot -o /tmp/bootable.iso /tmp/myboot Running this command however, produces the following error: # mkisofs -U -R -b boot/cdboot -o ../test.iso . Warning: creating filesystem that does not conform to ISO-9660. Size of boot image is 4 sectors -> mkisofs: Error - boot image './boot/cdboot' is not the an allowable size. The mkisofs command stops and no image is created. 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. >How-To-Repeat: 1)Try to create a bootable cdrom with # mkisofs -U -R -b boot/cdboot -o /tmp/bootable.iso /tmp/myboot 2) You should see an error: Size of boot image is 4 sectors -> mkisofs: Error - boot image './boot/cdboot' is not the an allowable size. 1) Try to build a bootable cdrom with the command mkisofs -U -R -b boot/cdboot -no-emul-boot -o ../test.iso . 2) Burn a cdrom with the test image 3) Boot the cdrom 4) The bootup will fail to find /boot/loader and stop >Fix: 1) Create a bootable cdrom with: mkisofs -L -D -R -b boot/cdboot -no-emul-boot -o ../test.iso . >Release-Note: >Audit-Trail: >Unformatted: