Re: pxeboot not working for knoppix 7.2.0
- To: debian-knoppix@lists.debian.org
- Subject: Re: pxeboot not working for knoppix 7.2.0
- From: kolrus <thomas@kolrus.eu>
- Date: Sun, 16 Mar 2014 12:21:11 -0700 (PDT)
- Message-id: <[🔎] 1394997671694-3206844.post@n7.nabble.com>
- In-reply-to: <53066410.1080609@cs.vt.edu>
- References: <5303DD7F.2030303@cs.vt.edu> <8be45c50-e3f3-42aa-8514-310e56ec3090@email.android.com> <53042888.9030308@cs.vt.edu> <53050240.2060009@cs.vt.edu> <20140219234946.GI4982@knopper.net> <53066410.1080609@cs.vt.edu>
Hello Ryan,
I think, tg3 module needs ptp - and ptp needs pps - module, which is not
loaded...
One possible workaround solution is:
- Extract miniroot.gz from tftp root dir - maybe /srv/tftp.
mkdir /root/pxe
cd /root/pxe
gunzip -c /srv/tftp/miniroot.gz | cpio -i
In this dir You will see something like this:
drwxrwxrwt 2 root root 4096 Mar 16 20:14 tmp
drwxr-xr-x 11 root root 61440 Mar 16 20:14 dev
drwxr-xr-x 2 root root 4096 Mar 16 20:14 bin
drwxr-xr-x 2 root root 4096 Mar 16 20:14 UNIONFS
drwxr-xr-x 2 root root 4096 Mar 16 20:14 sys
drwxr-xr-x 2 root root 4096 Mar 16 20:14 ramdisk
drwxr-xr-x 2 root root 4096 Mar 16 20:14 mnt-user
drwxr-xr-x 2 kolrus kolrus 4096 Mar 16 20:14 home
drwxr-xr-x 3 root root 4096 Mar 16 20:14 usr
drwxr-xr-x 2 root root 4096 Mar 16 20:14 proc
drwxr-xr-x 4 root root 4096 Mar 16 20:14 modules
drwxr-xr-x 2 root root 4096 Mar 16 20:14 mnt-system
drwxr-xr-x 2 root root 4096 Mar 16 20:14 mnt
drwxr-xr-x 2 root root 4096 Mar 16 20:14 static
drwxr-xr-x 2 root root 4096 Mar 16 20:14 KNOPPIX
-rwxr-xr-x 1 root root 38983 Mar 16 20:14 init
drwxr-xr-x 2 root root 4096 Mar 16 20:14 etc
drwxr-xr-x 2 root root 4096 Mar 16 20:14 sbin
drwxr-xr-x 3 root root 4096 Mar 16 20:14 lib
- From booted Knoppix DVD You need to copy
/lib/modules/3.9.6/kernel/drivers/ptp and
/lib/modules/3.9.6/kernel/drivers/pps dirs to modules/drivers/ dir within
dir where miniroot.gz is extracted - /root/pxe/modules/drivers/ in above
example. (You can boot Knoppix DVD on machine where miniroot.gz is
extracted, and then mount file system where miniroot is extracted or boot
Knoppix on other machine with network connection and copy needed dirs with
scp or rsync or use some other possible solution for this...)
- In directory where miniroot.gz is extracted in ./init script file modify
the load_modules() function by inserting /modules/drivers/*/*.ko into "for
mod in /modules/*.ko /modules/scsi/*.ko; do" line. (Original line is: "for
mod in /modules/*.ko /modules/scsi/*.ko /modules/drivers/*/*.ko; do". New
will be: "for mod in /modules/*.ko /modules/scsi/*.ko
/modules/drivers/*/*.ko; do".)
- Compress the extracted miniroot into new miniroot.gz.
cd /root/pxe
find ./ | cpio -H newc -o | gzip -c - > /srv/tftp/miniroot.gz
Thats all. You have a pxe server with new miniroot.gz which is capable to
boot pxe clients with tg3, e1000 and some other network adapters which needs
ptp and pps modules... I think...
-----
-----------------------------------
Tamas Kolrus
--
View this message in context: http://debian.2.n7.nabble.com/pxeboot-not-working-for-knoppix-7-2-0-tp3185535p3206844.html
Sent from the debian-knoppix mailing list archive at Nabble.com.
Reply to: