Ole,
The bzImage that is included with the 2.09pre4 kernels is assuming that
you will first be loading an initrd as your root filesystem. Then,
the /linuxrc script will take care of mounting the NFS filesystem and
then do a pivot_root to make the NFS filesystem root.
Take a look at the buildk script, included in the ltsp_initrd_kit. It
should give you an idea of the kernel commandline options you need.
Jim McQuillan
[EMAIL PROTECTED]
On 17 Nov 2001, Ole Sebastian Stein wrote:
> Ole Sebastian Stein <[EMAIL PROTECTED]> writes:
>
> Ok. I did as you suggested and now the client loads grub and an
> menu.lst file. But I cannot get the kernel to mount the nfs
> filesystem. The kernel is a bzImage built from the config-file in the
> ltsp_kernel-package (2.09pre4). I placed the modules in
> '/opt/ltsp/i386/lib/modules/2.4.9-ltsp-1' . (Is this correct btw? The
> kernel I have is called bzImage.)
>
> The error message reads as follows:
>
> VFS: Cannot open root device "nfs" or 00:ff
> Please append a correct "root=" boot option
> Kernel panic: VFS: Unable to mount root fs on 00:ff
>
>
>
> In the grub lst-file I pass the following parameters:
>
> timeout=10
> title Boot from Network
> root (nd)
> kernel /tftpboot/lts/bzImage root=/dev/nfs ip=192.168.0.5:192.168.0.2:192.\
> 168.0.1:255.255.255.0:::'off' nfsroot=192.168.0.2:/opt/ltsp/i386/
>
>
> What is wrong with the parameters? What should they be?
>
>
> > Quick way to get PXE grub working:
> >
> > download source for grub, configure it (./configure --enable-diskless
> > --enable-eepro100 --enable-rtl8139 --enable-3c90x --enable-tulip
> > --enable-via-rhine --enable-otulip --prefix=/tmp/fakeroot/)
> >
> > do a make, then make install
> >
> > go into the /tmp/fakeroot/share/grub/i386-pc dir, copy pxegrub and
> > nbgrub into your /tftpboot directory.
> >
> > edit your dhcpd.conf to look something like this:
> >
> > host term1 {
> > hardware ethernet 00:08:c7:49:9e:99;
> > fixed-address 10.0.0.101;
> > filename "pxegrub";
> > option option-150 "/menu.lst";
> > next-server 10.0.0.1;
> > }
> >
> > note the option option-150 line, menu.lst is in /tftpboot and is the
> > grub config file. It looks something like this:
> >
> > default=0
> > timeout=60
> > title Boot from Network
> > root (nd)
> > kernel /bzImage
> >
> > That should get you started, I don't know if pxegrub will work stock nbi
> > kernels, I always use homemade ones. The other file from grub, nbgrub
> > is to boot from etherboot incase you have a machine w/o PXE. It is setup
> > the same just change "pxegrub" to "nbgrub" in your dhcpd.conf. Hope
> > this helps.
> >
> > -ethan
> >
> > On Fri, 2001-11-16 at 19:03, Ole Sebastian Stein wrote:
> > > Hi, I am back with a new question:
> > >
> > > After having fixed my dhcp-server and lots of other things in my local
> > > network, time has come for making that thin client boot something.
> > >
> > > I have a 3c905c-tx-m (i guess) with PXE. I would like it to load
> > > grub, and then load a ltsp-kernel.
> > >
> > > I have read the PXE-documentation on www.ltsp.org, but only the method
> > > with rom-o-matic is described. It would be nice to have grub instead
> > > so I could give varying parameters to the kernels I test without
> > > having to go through the trouble of changing the dhcp-settings (i.e
> > > which file to load) every time.
> > >
> > > Which file (and where do I get it) should I tell the dhcp-server to
> > > give to the thin client? Should I run imggen on it? Where do I place
> > > the config-file and what should it look like?
> > >
> > > Thanks.
> > >
> > > --
> > > Ole Sebastian Stein
> > >
> > > ``It is a mistake to think you can solve any major problems with just
> > > potatoes.'' - Life, the universe and everything (Chapter 24), D. Adams
> > >
>
>
> --
> Ole Sebastian Stein
>
> ``It is a mistake to think you can solve any major problems with just
> potatoes.'' - Life, the universe and everything (Chapter 24), D. Adams
>
> _____________________________________________________________________
> Ltsp-discuss mailing list. To un-subscribe, or change prefs, goto:
> https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
> For additional LTSP help, try #ltsp channel on irc.openprojects.net
>
_____________________________________________________________________
Ltsp-discuss mailing list. To un-subscribe, or change prefs, goto:
https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help, try #ltsp channel on irc.openprojects.net