How can I boot from a root filesystem (maybe squashfs or dd image)?
|
2017-10-01, 22:20
Post: #3
|
|||
|
|||
RE: How can I boot from a root filesystem (maybe squashfs or dd image)?
(2017-10-01 21:58)NiKiZe Wrote: You could always dd your disk to an iSCSI device and boot from that with iPXEs sanboot command. Hi NiKiZe, To answer your questions: - No, I don't need it to work when the network is unplugged - I only want my disk image stored on a server for the client to fetch - Yes, I want the image mounted read-only and changes saved in RAM - AFAIK this is default behavior? - No, I don't need to store any data on the client - Yes, ideally I want it to work for multiple clients at once I've tried a lot of things with squashfs. A lot of it was based around this tutorial: http://willhaley.com/blog/create-a-custo...-17-zesty/ And a lot of it I took from this guide: https://www.ibm.com/developerworks/commu...u%20(OPAL) However these were both for PXE. I tried to adapt them to iPXE by simply using the kernel and initrd from these guides in my config. I got examples from places like these: - https://www.reversengineered.com/2014/05...e-network/ - http://forum.ipxe.org/showthread.php?tid=7134 Additionally, instead of attempting to make the installation with debootstrap or similar, I also tried installing Ubuntu Server 17.04 in a virtual machine, mounting it in another virtual machine, and creating the image with mksquashfs. So my config may have looked something like this: Code: #!ipxe This results in iPXE 'freezing': https://i.imgur.com/6DDgmng.png The server is not transmitting anything either. |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)