From owner-freebsd-hackers Tue May 1 12: 3:28 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from ns1.coastsight.com (ns1.coastsight.com [208.46.230.17]) by hub.freebsd.org (Postfix) with ESMTP id C37B437B422; Tue, 1 May 2001 12:03:22 -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 14ufQf-0001Qm-00; Tue, 1 May 2001 12:03:21 -0700 Date: Tue, 1 May 2001 12:03:21 -0700 (PDT) From: Rick Duvall To: freebsd-questions@freebsd.org Cc: freebsd-hackers@freebsd.org Subject: Bootable CD IV Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG So, let me get this straight: To make a bootable CD, you need to: 1. compile a kernel (generic will work) 2. gzip the kernel to kernel.gz 3. vnconfig -s labels -c vn0 boot.flp (from /cdrom/floppies/boot.flp) 4. mount /dev/vn0a /mnt 5. cp kernel.gz /mnt/kernel.gz 6. cp /boot/boot0 /mnt/boot/boot0;cp /boot/loader.4th /mnt/boot/loader.4th 7. umount /dev/vn0a;vnconfig -u vn0 8. mkdir /usr/cd;cp boot.flp /usr/cd 9. cp -R /bin /usr/cd;cp -R /etc /usr/cd;cp -R /sbin /usr/cd 10. pico -w /usr/cd/etc/fstab to mount acd0 as root. 11. mkisofs -o burnthis.iso -b boot.flp cd 12. Burn the ISO to a CD. 13. boot the CD. Okay, got that far. But, it will load the kernel, then hang and say that it cannot mount root device /dev/fd0. This doesn't make any sense to me becuase I specifically told fstab on the cd to use the cdrom as root. Am I stupid or something? Thanks. Sincerely, Rick Duvall To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message