Markus Weber wrote: > Hello Guys, > > i wonder if it is possible to boot opensuse-arm JeOS, e.g. this image > http://download.opensuse.org/ports/armv6hl/factory/images/openSUSE-Factory-ARM-JeOS.armv6-rootfs.armv6l-Current.tbz > from an nfs share and what adjustments have to be made to the > bootloader or vice versa. > > Background: i have a pi v1 and want to use my DLink NAS as nfs server > to boot from. I found a few tutorials on the net, but none is suitable > for opensuse. Can anybody give me a guide to the pi part to accomplish > this? > > so far i have: > - A nfs share with no_root_squash and insecure (if necessary) flags, > - A small (2gb) sd card, > - A pi (obviously) > - no glue how i can add boot parameters. > > Any help appreciated and thanks in advance. > markus > Hi Markus,
It is my understanding that the Raspberry Pi v. 1 (at least models A & B) requires an SD card to boot. This is because the ARM core needs to load firmware from the FAT partition to actually enable the CPU. One of the books I have (Raspberry Pi Hacks - O'Reilly) actually says it cannot boot from any other device. And here (http://raspberrypi.stackexchange.com/questions/10489/how-does-raspberry-pi-boot) is a decent explanation of how the Pi boots. However, after the firmware is loaded, we load U-Boot rather than a kernel directly. And U-Boot might be able to load a kernel on a NFS file system. I don't know if this will work for the Pi, but here's the link (http://www.denx.de/wiki/view/DULG/LinuxNfsRoot). I'm guessing the process would look something like: -ARM core loads firmware off SD card -U-Boot is loaded -U-Boot looks for kernel/initrd on NFS You'd still need the SD card for the firmware and U-Boot, but possibly the rest of the system could be over NFS. This is an interesting idea, I'm curious to know how it goes. - Alex A. -- To unsubscribe, e-mail: [email protected] To contact the owner, e-mail: [email protected]
