Subject: Re: making bootable rescue CD?
To: None <netbsd-users@netbsd.org>
From: Rob Quinn <rquinn+11121@sec.sprint.net>
List: netbsd-users
Date: 05/21/2001 10:07:46
>> My kernel is too big to fit on a single floppy anymore, so I'd like to
>> figure this out.
> you may use 2.88MB floppy emulation.
The ``mkisofs -b'' says something like that. That's not my problem though, the
kernel still fits into the fake floppy that's on the bootable CD. The CD just
doesn't boot on my laptop. To get around that, I was putting the same kernel
(with 'root on cd0a') on a floppy and booting from it.
> put much-stripped down / filesystem in ramdisk and everything else in /usr
> as iso9660 filesystem. do mount /usr at the beginning. more work could
> reduce / filesystem size down to about 1MB i think
_Just_ the kernel is over 1.4M, with no ramdisk, even after compression. I
can't make a single boot floppy anymore. I thought figuring out why my CD
doesn't boot on some machines would be more productive than moving to 2 boot
floppies.
> i did similar thing with linux and have full-CD bootable linux, but i had few
> thinks making it easier (like linux initrd)
For now, I took out IPsec and a few other options and the kernel shrunk back
down enough to fit on a floppy.
> Can you use DOSBOOT?
I won't be able to test this myself until tonight. The man page says "shared
common code with ... boot" and "in UFS mode, files can only be loaded from
devices known to the BIOS". Will I be able to boot a kernel from a CD?
> Another possibility would be LS-120 drive that can read giant floppies of 120
> MB in addition to conventional 1.44 MB and 720 KB diskettes.
My goal is to have a bootable CD (and a single floppy if I have to) that I can
hand out to non-technical people in the field. They won't have any unusual
hardware available.