From owner-freebsd-current@FreeBSD.ORG Mon Feb 2 12:16:41 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 83C3D16A4CE for ; Mon, 2 Feb 2004 12:16:41 -0800 (PST) Received: from smtp.web.de (smtp04.web.de [217.72.192.208]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4821E43D1D for ; Mon, 2 Feb 2004 12:16:40 -0800 (PST) (envelope-from nakal@web.de) Received: from [217.225.236.37] (helo=[217.225.236.37]) by smtp.web.de with esmtp (TLSv1:DES-CBC3-SHA:168) (WEB.DE 4.99 #566) id 1AnkUo-0007kz-00 for freebsd-current@freebsd.org; Mon, 02 Feb 2004 21:16:38 +0100 From: Martin To: FreeBSD Current Content-Type: text/plain Message-Id: <1075752995.693.68.camel@klotz.local> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Mon, 02 Feb 2004 21:16:36 +0100 Content-Transfer-Encoding: 7bit Sender: nakal@web.de Subject: How to make a custom bootable CD-R(W) of CURRENT? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Feb 2004 20:16:41 -0000 Hi, I noticed there is no documentation about this topic. I would like to know: - how to use /boot/cdboot? - what is the minimal kernel configuration? What modules must be used? - where to put modules? - what does it mean when the characters on screen have red background while booting kernel? I really don't like signaling errors with colors. It's just as "informative" as a BSOD. - which is the most preferred way to make a CD? a) floppy emulation b) no emulation c) hard disk emulation - is it allowed to copy the kernel and its modules directly from /usr/obj or is something missing when i do that? - do I need to set rootdev? if yes, which one: - kernel configuration - loader.conf - both - can I use my current /boot directory for booting a CD? - I found the remark about booting a CD-R works "better" than booting a CD-RW. I cannot imagine that, but I want to ask to be sure. - how to use mfsroot.gz? Why can't I see the contents of the mfsroot after "load -t"? - does /boot/loader have to be same version as the kernel? What other dependencies are there? I have tried many possible ways to make a CD-RW now. All gave me same result. The boot messages are always written on red background and I get a panic somewhere. The panic doesnt have anything to do with mounting root file system. I would be happy if I ever got to this point. I tried: - floppy-emulation with gzipped kernel and mfsroot and acpi.ko, adjusted loader.rc and loader.conf - same as above, but with switched-off ACPI Both methods crash shortly after loading the kernel and showing me the version. - cdboot, kernel and all modules on CD9660-fs Seems to work best. Crashes while loading sc0 after loading vt0 (driver mistake make_dev "ttyv0"). The same kernel is my default kernel which works from hard disk. I already tried to remove sc or vt, but it does not boot at all in this case. --- I'm probably doing something _completely_ wrong that's why I want to ask here for help. Thank You in advance. Martin