From owner-freebsd-hackers Tue Jun 26 3: 2:50 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from updraft.jp.freebsd.org (updraft.jp.FreeBSD.ORG [210.157.158.42]) by hub.freebsd.org (Postfix) with ESMTP id 8C7A137B406 for ; Tue, 26 Jun 2001 03:02:46 -0700 (PDT) (envelope-from matusita@jp.FreeBSD.org) Received: from localhost (localhost [127.0.0.1]) by updraft.jp.freebsd.org (8.11.3+3.4W/8.11.3) with ESMTP/inet id f5QA2da24968; Tue, 26 Jun 2001 19:02:39 +0900 (JST) (envelope-from matusita@jp.FreeBSD.org) Cc: hackers@freebsd.org In-Reply-To: References: X-Face: '*aj"d@ijeQ:/X}]oM5c5Uz{ZZZk90WPt>a^y4$cGQp8:!H\W=hSM;PuNiidkc]/%,;6VGu e+`&APmz|P;F~OL/QK%;P2vU>\j4X.8@i%j6[%DTs_3J,Fff0)*oHg$A.cDm&jc#pD24WK@{,"Ef!0 P\):.2}8jo-BiZ?X&t$V X-User-Agent: Mew/1.94.2 XEmacs/21.5 (alfalfa) X-FaceAnim: (-O_O-)(O_O- )(_O- )(O- )(- -)( -O)( -O_)( -O_O)(-O_O-) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Dispatcher: imput version 20000228(IM140) Lines: 34 From: Makoto MATSUSHITA To: "Lawrence S. Lansing" Subject: Re: custom bootable CD & /usr/src/sys/i386/boot/cdboot Date: Tue, 26 Jun 2001 19:02:27 +0900 Message-Id: <20010626190227C.matusita@jp.FreeBSD.org> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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