janneliukkonen / raspberry-netboot-creation-script

Script to create raspberry netboot images on PC using qemu and chroot.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Introduction

Read through the script. It creates a loop device from the raspbian image.

Mounts the loop device, copies root and boot sections.

Packages the whole root directory to rootfs.tar

Usage

./create_netboot_rpi.sh latest_raspbian.img rootfsfolder

Recommendations

Inside the chroot, run following to enable SSH server.

systemctl enable ssh

About

Script to create raspberry netboot images on PC using qemu and chroot.

License:MIT License


Languages

Language:Shell 100.0%