Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 02 Feb 2004 21:16:36 +0100
From:      Martin <nakal@web.de>
To:        FreeBSD Current <freebsd-current@freebsd.org>
Subject:   How to make a custom bootable CD-R(W) of CURRENT?
Message-ID:  <1075752995.693.68.camel@klotz.local>

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

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




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