Date: Tue, 1 May 2001 15:49:19 -0700 (PDT) From: Rick Duvall <maillist@coastsight.com> To: Sven Huster <sven.huster@mailsurf.com> Cc: freebsd-questions@freebsd.org, freebsd-hackers@freebsd.org Subject: Re: Bootable CD IV Message-ID: <Pine.BSF.4.21.0105011546570.6452-100000@ns1.coastsight.com> In-Reply-To: <3.0.6.32.20010502004207.0107d530@mx.mailsurf.com>
next in thread | previous in thread | raw e-mail | index | archive | help
So, you mean I need to create that rootmfs.gz thing that is on the second floppy of the freebsd install, then mount cdrom as something other than root? I do actually have a copy of my / on my cd, so, I don't see why it's failing to mount root. The only thing I can see is if I create the mfsroot.gz and get it compressed with kernel.gz like it is in the 2.88M boot.flp image. I just wish I knew what files to put in the root image, and how to get it to merge with kernel.gz. Thanks... Sincerely, Rick Duvall On Wed, 2 May 2001, Sven Huster wrote: > *This message was transferred with a trial version of CommuniGate(tm) Pro* > Hi > > i think it tries to mount root before it reads fstab, which is > on root. > > the problem i see, is that boot from cdrom simulates a floppy. > so the system will try to use the simulated floppy for the root device. > > i think you will need at least a minmal root fs on this bootable image, > you use to create the cdrom. > > regards > Sven > > At 12:03 01.05.01 -0700, you wrote: > >*This message was transferred with a trial version of CommuniGate(tm) Pro* > >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-questions" in the body of the message > > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" 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.0105011546570.6452-100000>