Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 04 Feb 2002 18:47:25 -0500 (EST)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Michael Reifenberger <root@nihil.plaut.de>
Cc:        FreeBSD-Current <current@freebsd.org>
Subject:   RE: Making bootable recovery CD using cdboot/loader fails
Message-ID:  <XFMail.020204184725.jhb@FreeBSD.org>
In-Reply-To: <20020202180322.K472-100000@nihil>

next in thread | previous in thread | raw e-mail | index | archive | help

On 02-Feb-02 Michael Reifenberger wrote:
> Hi,
> a CD created using the following commands fails during loading
> /boot/kernel/kernel (just freezes up) under a recent current:
> 
> cd /usr/tmp
> mkdir root
> dump -0a -f - / | ( cd root; restore -r -f - )
> dd if=/dev/zero of=root/boot/boot.catalog count=5
> mkisofs -b boot/cdboot -no-emul-boot -c boot/boot.catalog \
>       -r -J -V LiveCD \
>       -o root.iso root
> burncd -e -f /dev/acd0c blank data root.iso fixate
> 
> Using a loader binary from 4.5-mini.iso works insofar that it works with
> a 4.5 /kernel but can't execute a -current kernel (loader version too low...)
> 
> Any clues how to debug this problem?

Hmm, I've never done a manual boot.catalog, always just ran mkisofs as so:

mkisofs -b boot/cdboot -no-emul-boot -r -J -o foo.iso /some/dir

and let mkisofs create its own boot.catalog.  If you do that instead of
creating one yourself does it work any better?  If not, then you can revert the
revisions that turned off all the debugging output, hook up a serial console on
COM1, and prepare to be spammed with lots of debug output. :)

-- 

John Baldwin <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.020204184725.jhb>