From owner-freebsd-questions Thu Apr 26 16:47:31 2001 Delivered-To: freebsd-questions@freebsd.org Received: from ns1.coastsight.com (ns1.coastsight.com [208.46.230.17]) by hub.freebsd.org (Postfix) with ESMTP id 09CC237B423 for ; Thu, 26 Apr 2001 16:47:28 -0700 (PDT) (envelope-from maillist@coastsight.com) Received: from ns1.coastsight.com ([208.46.230.17]) by ns1.coastsight.com with esmtp (Exim 2.05 #1) id 14svTr-0009kF-00; Thu, 26 Apr 2001 16:47:27 -0700 Date: Thu, 26 Apr 2001 16:47:27 -0700 (PDT) From: Rick Duvall To: Mike Meyer Cc: questions@freebsd.org Subject: Re: Custom boot cd for FreeBSD In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Okay, I have gotten this far: I took boot.flp from the cd-rom floppies/boot.flp, and I used vnconfig to mount it on /mnt. I replaced kernel.gz with my own kernel.gz, and modified boot/loader.conf to just have the command "start" in it and nothing else. I added /boot/cdboot to the floppy image, but I don't know if that did anything. I unmount /dev/vn0a and vnconfig -u vn0, and then burn a cd. The cd boots, to an extent. It boots to the boot: prompt, where I have to put in boot -C (is there a way around having to do that?), then it loads the kernel (white text). It get's to: acd0: CDROM at ata1-master using PIO3 Mounting root from cd9660:cd0a no such device 'cd' setrootbyname failed iso_mountroot: can't find rootvp Root mount failed: 6 Mounting root from cd9660:acd0a Then, it just hangs there and won't go any further. What should I try next? Thanks. Sincerely, Rick Duvall On Thu, 26 Apr 2001, Rick Duvall wrote: > Okay... So, I guess my next question is (after trying everything on that > page), how do I make the bootable 2.88M floppy image to burn to the > CD? Do I actually need to create a physical floppy disk, or can I just > make an image of a disk? > > Sincerely, > > Rick Duvall > > On Mon, 23 Apr 2001, Mike Meyer wrote: > > > Rick Duvall types: > > > Could somebody please document, make a FAQ, or something about making a > > > custom boot cd for FreeBSD. It is documented on how to make a custom > > > bootable floppy with a custom kernel, but not a cd. What if the kernel > > > won't fit on a floppy? the bootable cd would be nice. Use mkisofs with > > > el-torito to make an image, ftp it over to a winblows box and use the cd > > > creating software, or write with cdrecord. > > > > The handbook now has an entry on creating CDs at > http://www.freebsd.org/doc/en_US.ISO_8859-1/books/handbook/creating-cds.html > > >. It doesn't have a lot of detail on creating a bootable CD (I still > > haven't done that), but the general idea is that you create an image > > of a bootable floppy - except you get to use a 2.88M floppy for the > > kernel - and put that in the tree for the CD. You then use the -b flag > > of mkisofs to point out where the boot image is in the tree, and it > > should do the rest. > > > > If you do this and find problems, or can provide clarifications, feel > > free to let me know and I'll submit them, or do a send-pr on them > > yourself. > > > > > -- > > Mike Meyer http://www.mired.org/home/mwm/ > > Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-questions" in the body of the message > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message