Tagged: geexbox PXE
April 26, 2017 at 13:54 #11632
hum, I joined the team after 1.0, so, no idea.
Now, with a flat rootfs, I can boot using nfs but I have still some errors (ro mount right now)
Once solved , you should be able to modify everything (I hope ! )April 26, 2017 at 14:31 #11633
Thank you very much for the best of allApril 26, 2017 at 15:21 #11634
Ok I ‘ve found the problem.
I have to export my fs with
/data/geexbox-nfs 192.168.1.0/24(rw,no_root_squash)else root (write) access is not allowed
I boot geexbox using :
kernel=vmlinuz root=/dev/nfs nfsroot=192.168.1.2:/data/geexbox-nfs ip=dhcp
note that if you use a flat roofs, you need to disable connman else the network card is deactivated … (just rename connman.service to connman.service2 in /lib/systemd/system )
I’m building a new version that you can useApril 26, 2017 at 15:30 #11635
Thank you for looking forward to your new versionApril 26, 2017 at 15:41 #11636
sending the file : 416 MBApril 26, 2017 at 16:14 #11637
hum I’ve a problem to send the file : it’s very slow today.
you can try that instead :
in your nfs-server : at /tftpboot/GEEXBOX
you should already have the content of the cd, so the file rootfs should be present
create a new directory and mount rootfs file inside it
mkdir /tftpboot/GEEXBOX-rootfs mount -o loop /tftpboot/GEEXBOX/rootfs /tftpboot/GEEXBOX-rootfs
listing the content of /tftpboot/GEEXBOX-rootfs, you should have all files
copy all files from /tftpboot/GEEXBOX-rootfs to /tftpboot/GEEXBOX
rename /tftpboot/GEEXBOX/lib/systemd/system/connman.service to /tftpboot/GEEXBOX/lib/systemd/system/connman.service2
modify /tftpboot/GEEXBOX/boot/pxelinux.cfg/default (last line) to
APPEND rw root=/dev/nfs nfsroot="ip-of-nfs-server":/tftpboot/GEEXBOX ip=dhcp
in the nfs server :
modify /etc/export (first line) to
Try to boot :pApril 26, 2017 at 18:37 #11638April 26, 2017 at 18:57 #11641
??April 26, 2017 at 19:06 #11642
Please click “pic” that the three small characters have a link picture can seeApril 26, 2017 at 19:27 #11643
and What should I see ?
does the kernel stop at 2,29 s ?
you have no more lines ?
I can re-test from my side, but I used a basic kernel from our distro with the command lines posted previously.
I don’t think it makes difference but I use vmware now.April 26, 2017 at 19:48 #11644April 26, 2017 at 20:18 #11645
Here is mine using rootfs file from a regular iso unpacked to a directory on my nfs-server
Are you sure everything is in place, exported fs ? please show your boot command line (press TAB)April 26, 2017 at 20:40 #11646April 26, 2017 at 20:57 #11647
no info about ip in your video ? like this : http://download.geexbox.org/tests/tom/i386/ip-set.png
are your sure your dhcp server is ok ?
what returns on the nfs-server :
showmount -e localhostApril 26, 2017 at 21:06 #11648
Time to sleep, sorry, from my side, everything seems to work, I think something is not well configured on your server or in virtualbox
As you use virtualbox, double check using an iso that you have a working network interface once booted. And look if the problem does not come with the virtual ethernet interface configured on virtualbox (should be configured on the same lan than the host: shared). And you can change the device too to test.
You must be logged in to reply to this topic.