Tech-Byte-Tips / RPi-PXE

Turn any Raspberry Pi into a PXE Server!
33 stars 6 forks source link

Empty image files generated #6

Open firebolt637 opened 2 weeks ago

firebolt637 commented 2 weeks ago

I seem to be having a lot of issues with getting RPi-PXE to properly generate an image from a running Pi.

I have a Pi3B+ with a base version of Raspberry Pi OS (Legacy,64 bit) Lite installed onto the SD card when using the Pi (also a 3B+) that has RPi-PXE installed (Using Pi OS Lite 64bit) to generate an image file it will run though as if everything is fine however when looking at the image files it created under boot it has just made an empty folder names my image and under filesystems its made what seems to be the entire folder structure however many (not all) files are missing.

If I use rsync to move the files over manually this works however when assigning a Pi to that image i moved manually the Pi will kernel panic on boot saying "not syncing: no working init found". I'm unsure if that's just due to me moving it manually or another reason yet

To address the first problem for now has this been seen before, as i highly expect it to be a configuration issue on my end however i just cant seem to find much resources to help me solve it.

PREngineer commented 2 weeks ago

Hi @firebolt637. Are you using the proper branch?

It seems to me like you are talking about old versions of Raspbian. For that, you have to use the "old-boot" branch. The "main" or "new-boot" branches are for Raspbian Bookworm+ where the firmware was placed somewhere else.