chaotix
Member
- Joined
- Jun 16, 2012
- Messages
- 47
http://lxtek.de/pandora/pboot/
While trying to get Ubuntu to work I felt that it would be nice to have more flexible booting options. So I patched together an Initramfs that presents you a boot menu and allows you to boot from NFS, loopfiles, loopfiles from NFS (if your really feel the need to do that
), USB thumb drives and of course from NAND or an SD-card partition.
I tried to implement this via kexec but either the kexec system call is broken in the Pandora 3.2 kernel or I just could not get it to work. So now it's just an initramfs. Although this setup does allow it to boot via NFS or from filesystems that are compiled as modules.
It can be used with different kernels as it bind mounts the modules directory either from NAND or from a user specified location for itself and for the root filesystem it boots.
This is probably only interesting to developers (just boot from NFS so you can make snapshots of the rootfs on the fly) and people who don't want to repartition their SD-cards to test out a new operating system (just put a loopfile with the operating system on you possibly FAT formatted partition).
While trying to get Ubuntu to work I felt that it would be nice to have more flexible booting options. So I patched together an Initramfs that presents you a boot menu and allows you to boot from NFS, loopfiles, loopfiles from NFS (if your really feel the need to do that
I tried to implement this via kexec but either the kexec system call is broken in the Pandora 3.2 kernel or I just could not get it to work. So now it's just an initramfs. Although this setup does allow it to boot via NFS or from filesystems that are compiled as modules.
It can be used with different kernels as it bind mounts the modules directory either from NAND or from a user specified location for itself and for the root filesystem it boots.
This is probably only interesting to developers (just boot from NFS so you can make snapshots of the rootfs on the fly) and people who don't want to repartition their SD-cards to test out a new operating system (just put a loopfile with the operating system on you possibly FAT formatted partition).