Hi folks,

i'd to like to boot my beloved FreeBSD machine from a CDROM and now
spent some evenings with that (Reason is i'd like to have some kind of
rescue CD, and mid term, a boot CD to support my homegrown RAID5 array...).

Well, following some advice from Mr. Google, i created a boot image
using something like....

cd /usr/src
make buildkernel KERNCONF=METHUSALIX
make installkernel DESTDIR=/var/tmp/freebsd-cdrom/
make buildworld
make installworld DESTDIR=/var/tmp/freebsd-cdrom/
cp /boot/device.hints /var/tmp/freebsd-cdrom/boot/
....
mkisofs -o freebsd-62.iso -r -no-emul-boot -b boot/cdboot \
var/tmp/freebsd-cdrom/

Before making the .iso, i also created a custom boot.loader.conf:

root@methusalix# cat /var/tmp/freebsd-cdrom/boot/loader.conf.local
verbose_loading="YES"
autoboot_delay="77"
beastie_disable="NO"
loader_logo="beastie"
rootdev="da0s1a"



Now, if i burn this .iso to a CD and put that disc into my FreeBSD,
everything works almost fine:

- Usual Stage1 loader messages appear
- Beastie menue appears
- Kernel loads and gives the usual messages

until i am asked for the root device:

(from dmesg)
Waiting 5 seconds for SCSI devices to settle
da0 at ahc0 bus 0 target 0 lun 0
da0: Fixed Direct Access SCSI-2 device
da0: 40.000MB/s transfers (20.000MHz, offset 8, 16bit), Tagged Queueing
Enabled
da0: 4350MB (8910423 512 byte sectors: 64H 32S/T 4350C)
da1 at ahc0 bus 0 target 1 lun 0
da1: Fixed Direct Access SCSI-3 device
da1: 40.000MB/s transfers (20.000MHz, offset 8, 16bit), Tagged Queueing
Enabled
da1: 35239MB (72170880 512 byte sectors: 64H 32S/T 35239C)

Manual root filesystem specification:
: Mount using filesystem
eg. ufs:da0s1a
? List valid disk boot devices
Abort manual input

mountroot> ufs:da0s1a
Trying to mount root from ufs:da0s1a
.....


Well, this is driving me nuts, i have to enter "ufs:da0s1a" here to
commence booting, although i thougt i have nailed this down with
rootdev=... in my loader.conf.local?

Perhaps i'm missing something obvious, but what is the magic spell to
make my CD automatically bootable?

Any hints or RTFMs appreciated... :-)

Cheers
Andreas