Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Jun 2001 19:02:27 +0900
From:      Makoto MATSUSHITA <matusita@jp.FreeBSD.org>
To:        "Lawrence S. Lansing" <lansil@rpi.edu>
Cc:        hackers@freebsd.org
Subject:   Re: custom bootable CD & /usr/src/sys/i386/boot/cdboot
Message-ID:  <20010626190227C.matusita@jp.FreeBSD.org>
In-Reply-To: <Pine.A41.3.96.1010626002910.64824A-100000@vcmr-19.rcs.rpi.edu>
References:  <Pine.A41.3.96.1010626002910.64824A-100000@vcmr-19.rcs.rpi.edu>

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

I also want to know how to use cdboot, however:

lansil> 1 -- The boot image contains a gzipped kernel, MFS, loader, and other
lansil> relevant /boot stuff.  The Kernel and MFS in the boot image are used to
lansil> mount the CD filesystem, and possibly chroot to the CD filesystem.  The
lansil> FreeBSD install CD uses this method.

The boot image shouldn't require MFS, as installation floppy does. The
minimal requirement for boot image is: /boot/loader and its
configulation file, kernel itself (gzipped kernel will be required,
since kernel tends to be large), and that's all.

You can mount CD filesystem as 'root filesystem' after booting a kernel.
check -C option of boot(8) (loader(8) has same functionality, boot_cdrom
but it's not described in its manpage). Be aware that this method
doesn't work with recent 5-current although 4-stable works fine.

***

Demonstrative bootable CD-ROM image you may want to make is available
our SNAPSHOTs project:

ftp://current.jp.FreeBSD.org/pub/FreeBSD/snapshots/i386/ISO-IMAGES/live-releng4.iso

This is bootable 'live filesystem' of recent 4-stable (simply goes to
the single-user mode).

... and you can easily checks '5-current kernel doesn't work with
CD9660 filesystem as root' with live-current.iso.  I've already
reported to current@freebsd.org but no helps.

-- -
Makoto MATSUSHITA

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010626190227C.matusita>