Support install over network

Here is the place were the team and the community projects meet together. Help us to develop SolydXK projects or contribute your ideas for future releases.
vacnt
Posts: 30
Joined: 23 Oct 2014 19:24

Support install over network

Postby vacnt » 19 Dec 2016 13:56

Quite a few distros support network install. It's useful as portable computers increasingly do not come with optical drives and there isn't always a spare USB stick to use.

https://netboot.xyz/ has some examples

User avatar
belze
Posts: 221
Joined: 29 Sep 2014 16:31
Location: Torino, Italy

Re: Support install over network

Postby belze » 26 Dec 2016 11:02

This is very nice. Never used before, tho.
-------
Image

vacnt
Posts: 30
Joined: 23 Oct 2014 19:24

Re: Support install over network

Postby vacnt » 23 Sep 2017 23:52

One way to implement this is - in the ISO, add/change necessary files and include an ipxe script. Then a user could mount the ISO and run a web server to point to the ISO mount, then on the target machine type "chain http://local_server/solyd.ipxe" to boot

User avatar
Arjen Balfoort
Site Admin
Posts: 9282
Joined: 26 Jan 2013 19:36
Location: Netherlands
Contact:

Re: Support install over network

Postby Arjen Balfoort » 25 Sep 2017 14:03

Sounds nice to have but I don't have any experience in how to prepare a live iso for netboot. I don't need what's needed. So, if you know what needs to be changed (scripts/configs/packages) then I could make and build an ISO for testing.


SolydXK needs you!
Development | Testing | Translations

vacnt
Posts: 30
Joined: 23 Oct 2014 19:24

Re: Support install over network

Postby vacnt » 25 Apr 2018 22:16

I can start the installation using the script below, the iso is mounted on a directory called isomount on server.lan

Code: Select all

#!ipxe
kernel isomount/live/vmlinuz boot=live config components fetch=http://server.lan/isomount/live/filesystem.squashfs
initrd isomount/live/initrd.img
boot
but it fails near the end because installer needs /lib/live/mount/medium/live/vmlinuz

/var/log/live-installer-3.log

Code: Select all

22-04-2018 15:30:56 InstallerEngine.init_install  INFO      --> Chrooting
22-04-2018 15:30:56 InstallerEngine.update_progressINFO      Entering the system ... (1 of 20)
22-04-2018 15:30:56 utils.shell_exec              DEBUG     mv /target/etc/resolv.conf /target/etc/resolv.conf.bk
22-04-2018 15:30:56 utils.shell_exec              DEBUG     cp -f /etc/resolv.conf /target/etc/resolv.conf
22-04-2018 15:30:56 utils.getoutput               DEBUG     uname -r
22-04-2018 15:30:56 utils.getoutput               DEBUG     4.9.0-5-amd64
22-04-2018 15:30:56 utils.shell_exec              DEBUG     cp /lib/live/mount/medium/live/vmlinuz /target/boot/vmlinuz-4.9.0-5-amd64
22-04-2018 15:30:56 InstallerEngine.init_install  ERROR     No initrd found!
Is it possible to put all files used by the installer in /live/filesystem.squashfs ?

I think installation over network would work if /live/filesystem.squashfs contains all files used by the installer. Additionally if /live/filesystem.squashfs, /live/vmlinuz, /live/initrd.img and the ipxe script are hosted here, it should be possible to install SolydXK by calling something like

Code: Select all

chain http://downloads.solydxk.nl/solydx/script.ipxe


Return to “Suggestions & ideas / Open Projects”

Who is online

Users browsing this forum: No registered users and 2 guests