2015-04-24 8:58 GMT+02:00 Matwey V. Kornilov
23.04.2015 23:47, Markus Weber пишет:
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-A... 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
I am not sure about RPi, but in general you would need a bootloader with network and tftp support to fetch kernel and initrd. tftp url can be configured either hardcoded in bootloader or supplied in dhcp-reply. The rest is to set root= in kernel cmdline and configure nfs properly.
-- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
I'm using JeOS images for various board, and you can use the rootfs loaded via NFS, and If your bootloader permits this operation, you can load kernel, device tree (and initrd if you need) via tftpboot command. But, you need of a bootloader. I don't have a RPi, but, AFAIK, needs of SD card in order to load the bootloader. After bootloader is up, if you modify the config environment file (with the boot parameters you may need), you can boot from "network" (tftp + nfs server) If you don't know already, you need to setup this service on your pc (you can do with simple configuration, or you can choose for a DHCP server inside you PC). Remember that you have to tell to uboot all the information about you server (your PC), the image to load, the root to use (ex. root=/dev/nfs). Is not simple the first time, but, using NFS is very useful when you have to develop something inside the OS ( really faster than writing every time a SD). Advice: I think is not a good idea using an external router for your purpose. My 2c Bye Alexjan. -- Alexjan Carraturo -- Twitter/Facebook/Identica/flickr: axjslack Personal site: http://axjslack.wordpress.com -- -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org