Mark Atwood wrote:
>
> I can use mknbi-linux to make a netbootable linux kernel image with an
> initrd. That works fine.
>
> Is their a way I can make a Linux NBI that has an "ordinary" root
> filesystem ramdisk, one that does /bin/init instead of the
> linuxrc/privot_root deal?
Sure, just don't make a 'linuxrc' file, instead:
root=/dev/ram init=/whatever/you/like (/sbin/init even).
This is the right way to do things now, see
linux/Documentation/initrd.txt.
I use a shell script init which later exec's the real init - still
pid=1.
> Or am I stuck with having to construct an initrd that tftp's a
> rootdisk image down and mounts and pivots to that?
I use userspace tftp quite a bit for my work; what tftp are you using?
I've patched RedHat's tftp-0.17 for command-line operation, and like it
pretty well. The tftp included with busybox wasn't very robust and
would frequently time out and fail.
regards,
David
--
David L. Parsley
Network Administrator
Roanoke College
|