Go to advanced search

by JovianPyx
Sat Apr 04, 2020 6:20 pm
Forum: Advanced users
Topic: Raspberry Pi Zero W boot with NFS root filesystem
Replies: 105
Views: 4558

Re: Raspberry Pi Zero W boot with NFS root filesystem

Now that I have a buster system, I've redone the process from the cited website. It is going much much farther now and it is showing it's obviously made the NFS connection. It isn't all working though, it should at some point launch the GUI, but it's getting stuck before that. Not a kernel panic, it...
by JovianPyx
Sat Apr 04, 2020 3:09 am
Forum: Advanced users
Topic: Raspberry Pi Zero W boot with NFS root filesystem
Replies: 105
Views: 4558

Re: Raspberry Pi Zero W boot with NFS root filesystem

For now and this experiment, I'll leave broadcast on. I have a USB ethernet device which works on the pi zero w. As long as I have it working, I want to work on the initramfs again and see if I can make it work under buster. I believe there are some bugs in buster regarding the GUI based configurato...
by JovianPyx
Sat Apr 04, 2020 2:33 am
Forum: Advanced users
Topic: Raspberry Pi Zero W boot with NFS root filesystem
Replies: 105
Views: 4558

Re: Raspberry Pi Zero W boot with NFS root filesystem

I've been able to make wifi work using a buster install. It requires that SSID broadcast be on. When off, wifi stops working. When on, it begins to work again. My wpa_supplicant.conf has the SSID network name and the psk encrypted hex string. The jessie installation would connect whether broadcast w...
by JovianPyx
Sat Apr 04, 2020 2:30 am
Forum: Advanced users
Topic: Raspberry Pi Zero W boot with NFS root filesystem
Replies: 105
Views: 4558

Re: Raspberry Pi Zero W boot with NFS root filesystem

I've been able to make wifi work using a buster install. It requires that SSID broadcast be on. When off, wifi stops working. When on, it begins to work again. My wpa_supplicant.conf has the SSID network name and the psk encrypted hex string. The jessie installation would connect whether broadcast w...
by JovianPyx
Sat Apr 04, 2020 1:08 am
Forum: Advanced users
Topic: Raspberry Pi Zero W boot with NFS root filesystem
Replies: 105
Views: 4558

Re: Raspberry Pi Zero W boot with NFS root filesystem

What I'm seeing is that yes, NOOBS isn't working properly. It has a GUI based configurator, but it appears broken and only began to work once I edited the networking files. Even after getting that part working, I still cannot get pings going into or out of the pi zero w. Another issue is that if I t...
by JovianPyx
Sat Apr 04, 2020 12:53 am
Forum: Advanced users
Topic: Raspberry Pi Zero W boot with NFS root filesystem
Replies: 105
Views: 4558

Re: Raspberry Pi Zero W boot with NFS root filesystem

This is quite frustrating. I've installed Buster on the Pi Zero W. I cannot get the wifi to work now. ifconfig wlan0 reports an IP address. The desktop shows an active wifi, but if I try to ping a LAN device, I get Network unreachable. There appear to be some packets back and forth but no errors rep...
by JovianPyx
Fri Apr 03, 2020 8:18 pm
Forum: Advanced users
Topic: Raspberry Pi Zero W boot with NFS root filesystem
Replies: 105
Views: 4558

Re: Raspberry Pi Zero W boot with NFS root filesystem

In any event, I already put NOOBS on the SD card, so I need to start again. But I still don't understand how I tell whether the wpa_supplicant is installed. I see those 3 files that refer to wpa_supplicant - if it's not installed - why are those there?
by JovianPyx
Fri Apr 03, 2020 8:15 pm
Forum: Advanced users
Topic: Raspberry Pi Zero W boot with NFS root filesystem
Replies: 105
Views: 4558

Re: Raspberry Pi Zero W boot with NFS root filesystem

Do I understand correctly that wpa_supplicant is not installed in my image?
by JovianPyx
Fri Apr 03, 2020 7:57 pm
Forum: Advanced users
Topic: Raspberry Pi Zero W boot with NFS root filesystem
Replies: 105
Views: 4558

Re: Raspberry Pi Zero W boot with NFS root filesystem

Still Jessie. Is this a point where I should chuck jessie and start over with a buster install?
by JovianPyx
Fri Apr 03, 2020 7:56 pm
Forum: Advanced users
Topic: Raspberry Pi Zero W boot with NFS root filesystem
Replies: 105
Views: 4558

Re: Raspberry Pi Zero W boot with NFS root filesystem

Awesome! Thank you. I ran the edit script (with my file) and it created /tmp/initramfs with the contained files. I used the find command and found: ./etc/wpa_supplicant.conf ./sbin/wpa_supplicant ./var/run/wpa_supplicant Is it correct to say that the wpa_supplicant is installed? Had those files not ...
by JovianPyx
Fri Apr 03, 2020 7:30 pm
Forum: Advanced users
Topic: Raspberry Pi Zero W boot with NFS root filesystem
Replies: 105
Views: 4558

Re: Raspberry Pi Zero W boot with NFS root filesystem

I've never been able to get a shell prompt once the initramfs is boot. Neither sh -i nor the break=whatever in cmdline.txt
by JovianPyx
Fri Apr 03, 2020 7:29 pm
Forum: Advanced users
Topic: Raspberry Pi Zero W boot with NFS root filesystem
Replies: 105
Views: 4558

Re: Raspberry Pi Zero W boot with NFS root filesystem

Looking at that sub-post I see what looks quite similar to the script in the article I cited. There's modprobes and such there, but I don't see anywhere that he is "installing" the wpa_supplicant. Makes reference in the script to wpa_supplicant, but it looks just like what I have. So I'm still wonde...
by JovianPyx
Fri Apr 03, 2020 7:22 pm
Forum: Advanced users
Topic: Raspberry Pi Zero W boot with NFS root filesystem
Replies: 105
Views: 4558

Re: Raspberry Pi Zero W boot with NFS root filesystem

So I really need to be able to open the generated file in order to see if the wpa_supplicant is installed?

How is that done?
by JovianPyx
Fri Apr 03, 2020 7:13 pm
Forum: Advanced users
Topic: Raspberry Pi Zero W boot with NFS root filesystem
Replies: 105
Views: 4558

Re: Raspberry Pi Zero W boot with NFS root filesystem

I'm not sure what "install wpa_supplicant" means. Following the article http://retinal.dehy.de/docs/doku.php?id=technotes:raspberryrootnfs , I am assuming that happens within the scripts as they refer many times to wpa_supplicant. Is there something else I need to do beyond what is described there? ...
by JovianPyx
Fri Apr 03, 2020 6:27 pm
Forum: Advanced users
Topic: Raspberry Pi Zero W boot with NFS root filesystem
Replies: 105
Views: 4558

Re: Raspberry Pi Zero W boot with NFS root filesystem

I found this: http://manpages.ubuntu.com/manpages/xenial/man8/initramfs-tools.8.html where the break option is described. I will use the break= options shown there. Using break= did nothing, nor did break=premount (which is the same thing). I also tried break=top and still nothing different happened...
by JovianPyx
Fri Apr 03, 2020 6:17 pm
Forum: Advanced users
Topic: Raspberry Pi Zero W boot with NFS root filesystem
Replies: 105
Views: 4558

Re: Raspberry Pi Zero W boot with NFS root filesystem

I've found only general information about the command in cmdline.txt. I tried adding "break" to the line, didn't seem to have an effect. I also tried "break=", but I'm not sure I'm putting that in the right place - some documentation I read called it an initramfs parameter, is there a special place ...
by JovianPyx
Fri Apr 03, 2020 5:39 pm
Forum: Advanced users
Topic: Raspberry Pi Zero W boot with NFS root filesystem
Replies: 105
Views: 4558

Re: Raspberry Pi Zero W boot with NFS root filesystem

Ok, I see that now, I found ipconfig in kernel7.img (another system) so it's some internal command. Thanks, I've restored the original line (there was only one that I changed).
by JovianPyx
Fri Apr 03, 2020 5:10 pm
Forum: Advanced users
Topic: Raspberry Pi Zero W boot with NFS root filesystem
Replies: 105
Views: 4558

Re: Raspberry Pi Zero W boot with NFS root filesystem

Using #!/bin/sh -x did cause update-initramfs to spit out more information while update-initramfs runs, which helped locate a problem with one of the scripts, but what I really need is a way to troubleshoot what is happening once initramfs is in use. I'd like to use some script technique to see if I...
by JovianPyx
Fri Apr 03, 2020 4:50 pm
Forum: Advanced users
Topic: Raspberry Pi Zero W boot with NFS root filesystem
Replies: 105
Views: 4558

Re: Raspberry Pi Zero W boot with NFS root filesystem

The device full problem was that /var/tmp (tmpfs) was full. Deleted the files there (all related to the run of update-initramfs

It has now created the file.
by JovianPyx
Fri Apr 03, 2020 4:44 pm
Forum: Advanced users
Topic: Raspberry Pi Zero W boot with NFS root filesystem
Replies: 105
Views: 4558

Re: Raspberry Pi Zero W boot with NFS root filesystem

heh - the problem turned out to be no space in /var/tmp, but I still get all kinds of errors ending with

update-initramfs: failed for /boot/initrd.img-4.9.35+ with 127
by JovianPyx
Fri Apr 03, 2020 4:12 pm
Forum: Advanced users
Topic: Raspberry Pi Zero W boot with NFS root filesystem
Replies: 105
Views: 4558

Re: Raspberry Pi Zero W boot with NFS root filesystem

Getting more lost it seems. I tried to use the update command you gave, but it failed with a zillion messages that went screaming up. So I tried to use the create (-c instead of -u) and it complained that the target file existed. I deleted the file and tried again, but now it says the volume is full...
by JovianPyx
Fri Apr 03, 2020 3:27 pm
Forum: Advanced users
Topic: Raspberry Pi Zero W boot with NFS root filesystem
Replies: 105
Views: 4558

Re: Raspberry Pi Zero W boot with NFS root filesystem

I would change all the '/bin/sh' script headers to '/bin/sh -x' (note the space), which prints every command the shell attempts to execute to console. That will show you where it is failing. You can also pepper the things with 'busybox -i', which will drop it to an interactive shell that should all...
by JovianPyx
Fri Apr 03, 2020 3:23 pm
Forum: Advanced users
Topic: Raspberry Pi Zero W boot with NFS root filesystem
Replies: 105
Views: 4558

Re: Raspberry Pi Zero W boot with NFS root filesystem

Thank you DarkElvenAngel and dickon, this is what I need, a way to spit out information about what is happening.

I will work with this and post whatever I find.
by JovianPyx
Fri Apr 03, 2020 2:06 pm
Forum: Advanced users
Topic: Raspberry Pi Zero W boot with NFS root filesystem
Replies: 105
Views: 4558

Re: Raspberry Pi Zero W boot with NFS root filesystem

What would be most helpful is to know how to set up initramfs so that the machine boots to a prompt with just the ramfs. Perhaps then I can try to troubleshoot why the NFS volume won't mount.
by JovianPyx
Fri Apr 03, 2020 1:47 pm
Forum: Advanced users
Topic: Raspberry Pi Zero W boot with NFS root filesystem
Replies: 105
Views: 4558

Re: Raspberry Pi Zero W boot with NFS root filesystem

I've just noticed a glaring error in the article's wifi script source code. The script attempts to execute: ipconfig wlan0 & ipconfig is a Windows command. I changed ipconfig to ifconfig, but the results were the same, it still won't mount the NFS root filesystem and it's address never becomes pinga...

Go to advanced search