[Peeweelinux] Adding nfsroot parameters to lilo
Stephen Lee
[email protected]
17 Apr 2003 10:10:03 -0700
On Thu, 2003-04-17 at 07:47, Dennis W. Tokarski wrote:
> 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".
>
I gotcha, thanks Dennis. In the mean time, I added root=/dev/nfs to the
append line and that seemed fix the problem.
Stephen