This is a discussion on Getting nuts with making a bootable FreeBSD CDROM - BSD ; 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 ...
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....
make buildkernel KERNCONF=METHUSALIX
make installkernel DESTDIR=/var/tmp/freebsd-cdrom/
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 \
Before making the .iso, i also created a custom boot.loader.conf:
root@methusalix# cat /var/tmp/freebsd-cdrom/boot/loader.conf.local
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:
Waiting 5 seconds for SCSI devices to settle
da0 at ahc0 bus 0 target 0 lun 0
Fixed Direct Access SCSI-2 device
da0: 40.000MB/s transfers (20.000MHz, offset 8, 16bit), Tagged Queueing
da0: 4350MB (8910423 512 byte sectors: 64H 32S/T 4350C)
da1 at ahc0 bus 0 target 1 lun 0
Fixed Direct Access SCSI-3 device
da1: 40.000MB/s transfers (20.000MHz, offset 8, 16bit), Tagged Queueing
da1: 35239MB (72170880 512 byte sectors: 64H 32S/T 35239C)
Manual root filesystem specification:
: Mount using filesystem
? List valid disk boot devices
Abort manual input
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... :-)