How can I boot from a root filesystem (maybe squashfs or dd image)?
|
2017-10-01, 22:39
Post: #4
|
|||
|
|||
RE: How can I boot from a root filesystem (maybe squashfs or dd image)?
(2017-10-01 22:20)ajr Wrote: To answer your questions:Multiple clients make iSCSI for a bad option, with your approach of http fetching it will only need network at boot and then it can go offline. We haven't gotten to what is default yet, but yes with initrd or fetch over http it will be all in RAM. My question about storing data was supposed to be in regards to iSCSI as permanent storage, but that was a bad stated question. (2017-10-01 22:20)ajr Wrote: The only reason for it to freeze there should be that iPXE is done, kernel is executing but something fails. So more likely it's your kernel that freezes rather then iPXE. Try to only do Code: kernel http://10.0.0.2/ipxe/vmlinuz Are you sure that that same kernel works when you are booting from disk? The concept that you have here does work. As an example of systemrescuecd working via iPXE you can test this script: http://b800.org/sysr/sysrcd.ipxe In regards to your username= and fetch= those are not handled by the kernel, so you will need to have scripts in your initrd that handles those, and also something that mounts the squashfs etc. If you want to do all this scripting on your own, that's lots of work. Another approach that I totally forgot is to use legacy nfsroot, but with that you will still need scripts that creates a local ramfs overlay, unless you want to store files on the NFS share, but that causes issues with multiple clients. Use GitHub Discussions VRAM bin |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 4 Guest(s)