netbootxyz / netboot.xyz

Your favorite operating systems in one place. A network-based bootable operating system installer based on iPXE.
https://netboot.xyz
Apache License 2.0
8.48k stars 652 forks source link

Add support for ArcoLinux and it's flavors #475

Closed thelamer closed 4 years ago

thelamer commented 4 years ago

Have a functional POC here:

:CUSTOM
imgfree
set url https://github.com/thelamer/boot-assets/releases/download/arco20x/
kernel ${url}vmlinuz archisobasedir=arch ip=dhcp archiso_http_srv=${url}
initrd ${url}initrd
boot

But this is custom built. Hope upstream can add PXE hooks to their existing live assets: https://github.com/arcolinux/arcolinux-iso/pull/20

arcolinuxz commented 4 years ago

https://github.com/arcolinux/arcolinux-iso-dev/commit/f33ea128e27f80032564fbebfe144838a78c9a4 I have added the code on this development github.

lets both test it out now

thelamer commented 4 years ago

@arcolinuxz sorry if I was not clear, but I have used those exact changes to build that POC boot snippet. Here is a video of the boot process if you don't have an IPXE setup: https://netboot-test.s3-us-west-2.amazonaws.com/bootarco.webm

What we need downstream is these changes to be in your rolling ISO downloads: (these files) https://bike.seedhost.eu/arcolinux/iso/

Is the arcolinux/arcolinux-iso-dev repo code used to publish any iso assets on any of these mirrors ? I can ingest them and show you another boot demo.

arcolinuxz commented 4 years ago

I have created this in my development iso https://github.com/arcolinux/arcolinux-iso-dev/commit/f33ea128e27f80032564fbebfe144838a78c9a4d I have build the iso that way.

It gives us a LOT of messages when we build it - hardware stuff missing. But nevertheless it builds and installs fine. We have the iso

i provide the download link and you test it.

Does that sound good?

erik

On Sat, Jan 11, 2020 at 6:36 PM Ryan Kuba notifications@github.com wrote:

@arcolinuxz https://github.com/arcolinuxz sorry if I was not clear, but I have used those exact changes to build that POC boot snippet. Here is a video of the boot process if you don't have an IPXE setup: https://netboot-test.s3-us-west-2.amazonaws.com/bootarco.webm

What we need downstream is these changes to be in your rolling ISO downloads: (these files) https://bike.seedhost.eu/arcolinux/iso/

Is the arcolinux/arcolinux-iso-dev repo code used to publish any iso assets on any of these mirrors ? I can ingest them and show you another boot demo.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/netbootxyz/netboot.xyz/issues/475?email_source=notifications&email_token=AIX253S3V6FHRA2YBFNGVY3Q5H7Q3A5CNFSM4KB6DX4KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIWG5QQ#issuecomment-573337282, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIX253XAHNFRBFX7HTQSUKTQ5H7Q3ANCNFSM4KB6DX4A .

thelamer commented 4 years ago

Sure

arcolinuxz commented 4 years ago

https://www.dropbox.com/sh/4iiv2r9yjjtx2w2/AAB3sWwNPhMDxKCNS4Ns17xNa?dl=0

Lets agree you tell when you got it and I delete the share.

thelamer commented 4 years ago

I only see a checksum and package list in that share: Screenshot_2020-01-11_22-41-10

thelamer commented 4 years ago

got it arcolinux-dev-v20.2.1.iso

arcolinuxz commented 4 years ago

It was uploaded 44 minutes ago.

Just timing

On Sun, Jan 12, 2020 at 7:44 AM Ryan Kuba notifications@github.com wrote:

got it arcolinux-dev-v20.2.1.iso

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/netbootxyz/netboot.xyz/issues/475?email_source=notifications&email_token=AIX253VDRXUC2N4A3PHH2M3Q5K35BA5CNFSM4KB6DX4KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIWTH2A#issuecomment-573387752, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIX253WOSRPV3Y6XZINEKMTQ5K35BANCNFSM4KB6DX4A .

thelamer commented 4 years ago

Yeah boots up great, should work on all your flavors if you add these hooks to the ISO build process: arcoboottest2

New boot snippet with updated assets from your ISO:

:CUSTOM
imgfree
set url https://github.com/thelamer/boot-assets/releases/download/arco20x-dev/
kernel ${url}vmlinuz archisobasedir=arch ip=dhcp archiso_http_srv=${url}
initrd ${url}initrd
boot

Side note about Possible missing firmware that is just an initramfs builder thing, it is a desync between distro firmware packages and what the head kernel wants. In any case not a cause for concern as it will embed what it has available.

arcolinuxz commented 4 years ago

Cool

Do you have a link I can test it before I delete the iso?

arcolinuxz commented 4 years ago

is the resolution a bit ok

thelamer commented 4 years ago

The boot snippet is the link (you need an ipxe setup to try it )here are the assets : https://github.com/thelamer/boot-assets/releases/tag/arco20x-dev

The resolution is just because I wanted a small screenshot in virtualbox. The livecd experience is all there.

I could build you a custom ipxe iso that loads this remote content , would you be interested in that for testing ?

arcolinuxz commented 4 years ago

If that is not too much trouble and work, yes please. So I can show my team members.

Cheers erik

On Sun, Jan 12, 2020 at 4:39 PM Ryan Kuba notifications@github.com wrote:

The boot snippet is the link (you need an ipxe setup to try it )here are the assets : https://github.com/thelamer/boot-assets/releases/tag/arco20x-dev

The resolution is just because I wanted a small screenshot in virtualbox. The livecd experience is all there.

I could build you a custom ipxe iso that loads this remote content , would you be interested in that for testing ?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/netbootxyz/netboot.xyz/issues/475?email_source=notifications&email_token=AIX253UL2USM7ZRB3J7FUUDQ5M2RZA5CNFSM4KB6DX4KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIW4Z3A#issuecomment-573426924, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIX253WQ2XNSA3K6JCKX5VLQ5M2RZANCNFSM4KB6DX4A .

thelamer commented 4 years ago

I would recommend this iso in a VM locally: (legacy pcbios iso format also the VM will need ~4 gigs of mem) https://netboot-test.s3-us-west-2.amazonaws.com/netboot.xyz.iso

But if needed here are USB images and EFI compatible flavors: https://netboot-test.s3-us-west-2.amazonaws.com/netboot.xyz.usb https://netboot-test.s3-us-west-2.amazonaws.com/netboot.xyz-efi.iso https://netboot-test.s3-us-west-2.amazonaws.com/netboot.xyz-efi.usb

Let me know if you have any questions. Edit: if you want to see our current real menu the current release is here: https://boot.netboot.xyz/ipxe/netboot.xyz.iso

arcolinuxz commented 4 years ago

I see it will boot up and show calamares.

thelamer commented 4 years ago

Yep that's it, just the Live CD experience except downloaded at boot time instead of loading an ISO locally.

If your team decides to merge these changes into your build configuration let us know and we will turn on asset ingestion and advertise the boot options in our menus.

arcolinuxz commented 4 years ago

I was thinking it only makes sense to do that for ArcoLinux - all the rest is NOT done because not interesting. Just ArcoLinux (xfce, openbox and i3) should be created.

On Sun, Jan 12, 2020 at 10:31 PM Ryan Kuba notifications@github.com wrote:

Yep that's it, just the Live CD experience except downloaded at boot time instead of loading an ISO locally.

If your team decides to merge these changes into your build configuration let us know and we will turn on asset ingestion and advertise the boot options in our menus.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/netbootxyz/netboot.xyz/issues/475?email_source=notifications&email_token=AIX253XI6XO5VSOTOSFPXIDQ5OD45A5CNFSM4KB6DX4KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIXEY2Q#issuecomment-573459562, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIX253UCBP3MKBTHWMQKTSDQ5OD45ANCNFSM4KB6DX4A .

thelamer commented 4 years ago

From upstream:

We have decided not to follow this path for the moment.
We have 35 isos but just one is suitable and even then it shows calamares upon boot.

We let our users BUILD an iso. So they will see the extra messages in the iso building with all the questions as a result. We could bypass this by making a separate iso but that seems a lot of work and not that much gain.

For now we will not pursue this path. Who knows we can do it in the future.

I do not 100% understand the reasoning I think some of it is lost in translation. All of the ISOs are running arch and capable of using these hooks, the messages about firmware missing are just normal warns durinig initramfs generation.

In any case they have made a decision so closing this out.