The officially official Devuan Forum!

You are not logged in.

#1 2018-06-18 02:43:10

minghia
Member
Registered: 2018-06-18
Posts: 11  

Network booting

How do I get the Devuan distro to network boot? I know with Raspbian you follow the documentation here: https://www.raspberrypi.org/documentati … utorial.md but the command

vcgencmd 

doesn't exist and nor does its package libraspberrypi-bin. Any ideas on how I get started?

Tony

Offline

#2 2018-06-18 06:32:57

ralph.ronnquist
Administrator
From: Battery Point, Tasmania, AUS
Registered: 2016-11-30
Posts: 1,253  

Re: Network booting

You might find something useful at https://www.syslinux.org/wiki/index.php?title=PXELINUX.

Offline

#3 2018-06-18 07:21:46

minghia
Member
Registered: 2018-06-18
Posts: 11  

Re: Network booting

That's only useful if you have a machine with a proper PXE BIOS. There is some black magic you have to do to get a Raspberry Pi to boot off the network

echo program_usb_boot_mode=1 | sudo tee -a /boot/config.txt

and then reboot the system. The Raspbian doco states you can check the system has changed by typing:

$ vcgencmd otp_dump | grep 17:
17:3020000a

to verify that the system has changed into network boot mode but this doesn't work with Devuan as the vcgencmd command is not present. I got it to boot but the kernel panicked.

Offline

#4 2018-06-18 07:54:25

ralph.ronnquist
Administrator
From: Battery Point, Tasmania, AUS
Registered: 2016-11-30
Posts: 1,253  

Re: Network booting

Right. Some random googling suggests https://volumio.org/forum/vcgencmd-comm … html#p6319 to me, but you might have tried that already?

Offline

#5 2018-06-18 09:16:06

minghia
Member
Registered: 2018-06-18
Posts: 11  

Re: Network booting

I got around the missing vcgencmd by using a Raspian SD card that I had lying around. Of course it doesn't work if one doesn't install mount.nfs. Unfortunately since we are basically a Centos shop getting and my target is isolated from the real world I have to go a round about way to get files onto this system.

Offline

#6 2018-06-19 12:02:04

minghia
Member
Registered: 2018-06-18
Posts: 11  

Re: Network booting

I upgrade to ascii and one of my problems appears to be finding the right combination of bootcode.bin, start.elf, kernel?.img and the associated files to get the system to boot up. If I use the current Raspbian stable set of files I can get the system to load the root file system but the kernel panics. Does anyone have any ideas?

I went back to booting from a SD card but for some reason when I tried to install nfs-common it failed to configure. I have tried the numerous recommendations about this problem but a status 10 as the reason for the install configuration of nfs-common is a tad useless unless I can find out what it means. Has anyone got nfs-common working on Devuan ascii on a Raspberry Pi 3B?

I love that the fact I don't have to use systemd but surely getting a NFS client should be relative easy.

Offline

#7 2018-06-19 15:33:42

golinux
Administrator
Registered: 2016-11-25
Posts: 3,318  

Re: Network booting

Maybe try #devuan-arm on freenode.

Offline

#8 2018-06-19 21:41:09

Dutch_Master
Member
Registered: 2018-05-31
Posts: 286  

Re: Network booting

NFS is a server-client system, so just nfs-common on its own doesn't work at all, as you've experienced. What you need is to install nfs-server on the appropriate machine and then configure both server and client to exchange data. For the server, you 'export' the directory you want to share, while on the client, a line must be added to fstab so the kernel knows where to find it. See the NFS man-pages for more detailed info.

Offline

#9 2018-06-22 05:25:23

minghia
Member
Registered: 2018-06-18
Posts: 11  

Re: Network booting

I got the system to boot and run after using the latest ascii raspberry pi image and happy days. The problem is that I want to separately mount /usr but the system complains that it can't find libgssapi_krb5.so.2 and the system is next to useless. Is there way to disable Kerebros under Devuan or am I stuck?

Offline

Board footer