[Peeweelinux] Adding nfsroot parameters to lilo

Dennis W. Tokarski [email protected]
Thu, 17 Apr 2003 10:47:10 -0400


Stephen Lee wrote:
> I added the following bits to the lilo.conf portion in
> pwl_target_functions:
> 
> image = $rd_bp_kernel
> root = /dev/nfs
> label = nfs
> vga = 768
> append = "console=tty2 ip=bootp  \
>           nfsroot=192.168.1.200:/export/linux/root"

[snip]

> 
> According to nfsroot.txt in the kernel docs (2.4.20), you're suppose to
> create a dummy device (mknod /dev/boot255 c 0 255) to satisfy the
> root=/dev/nfs requirement. I created the device on the system hosting
> prior to runnig pwlconfig but that didn't help lilo recognize /dev/nfs.
> How do  I do this with pwlconfig or manually. 
> 

Right, but the device you name in "root=" needs to be the same
as the dummy device you created. So either say "root=/dev/boot255"
or rename the device to "/dev/nfs".

   --Dennis