Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Apr 2001 10:12:23 -0700 (PDT)
From:      Rick Duvall <maillist@coastsight.com>
To:        freebsd-questions@freebsd.org
Subject:   Custom Bootable CD III: Loader
Message-ID:  <Pine.BSF.4.21.0104271003350.42944-100000@ns1.coastsight.com>

next in thread | raw e-mail | index | archive | help
I am getting there!  I got floppies/boot.flp off of the install cd,
recompiled my kernel to have:

pseudo-device vn

Ran vnconfig -s labels -C vn0 boot.flp
mount /dev/vn0 /mnt
cd /mnt
rm kernel.gz
cp /etc/kernel.GENERIC /tmp/kernel
gzip /tmp/kernel
mv /tmp/kernel.gz /mnt
rm -r /mnt/boot
cp -R /boot /mnt/boot
cd /
umount /mnt
vnconfig -u vn0
mkisofs -o cd.iso -b boot.flp cd

Copied the ISO to my windows box, burnt it to a CD with Adaptec EZ CD
creator, and booted.  The sucker actually loads the kernel now!  Whoo
hoo!

Now, I need some help grasping the concept of how loader works with a boot
CD and a 2.88M floppy image.  I don't know whether the root filesystem
comes from a .gz file in boot.flp, or if the cd9660 filesystem on the CD
can be mounted as root.  Any input on this is greatly appreciated.

Sincerely,

Rick Duvall


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0104271003350.42944-100000>