Arch ISO Thread

Arch ISO Thread
62 Replies
Kyle Gospo
Kyle GospoOP•10mo ago
@bsherman @Noel @j0rge So, to recap We're tired of waiting for upstream, and even if upstream pulls through the install experience still isn't exactly great Noel and I found this:
Kyle Gospo
Kyle GospoOP•10mo ago
GitLab
Peter Eisenmann / OS-Installer · GitLab
A generic OS-Installer that can be customized by distributions
Kyle Gospo
Kyle GospoOP•10mo ago
Which is beautiful, and extendable enough that we may be able to make this work for us It runs on a live CD image, which Fedora doesn't really do anymore but another OS is using it that's based on Arch (and another on Nix)
Kyle Gospo
Kyle GospoOP•10mo ago
GitHub
GitHub - arkanelinux/arkaneiso: Configuration files for mkarchiso
Configuration files for mkarchiso. Contribute to arkanelinux/arkaneiso development by creating an account on GitHub.
Kyle Gospo
Kyle GospoOP•10mo ago
That would be this one Would mean we have a bootable microscopic arch image that then just launches GNOME OS installer, and let's us do what we need to install an OCI image (including locally)
Kyle Gospo
Kyle GospoOP•10mo ago
Here's an arch mkiso github action as well ready to go Noel also did some work to get bootc to install an image and then immediately rebase to a remote URL which I believe we can leverage through this installer it also supports FDE and user account creation, both of which we need
Kyle Gospo
Kyle GospoOP•10mo ago
GitHub
GitHub - arkanelinux/os-installer-config: Configuration files for o...
Configuration files for os-installer. Contribute to arkanelinux/os-installer-config development by creating an account on GitHub.
Kyle Gospo
Kyle GospoOP•10mo ago
here are the configs for the installer arcanelinux ships just to show how it works
HikariKnight
HikariKnight•10mo ago
wait, so we might actually make the meme installer?
EdLin
EdLin•10mo ago
I need to use ujust distrobox-arch and make a meme neofetch window after hearing this. 😉
fiftydinar
fiftydinar•10mo ago
I wonder what would new installer still lack? It doesn't look bad based on screenshots I saw but VanillaOS type of installer is definitely much better
Noel
Noel•10mo ago
More so a PoC at this point, but yeah. Arch is flexible enough to provide this kind of live environment to run the installer. I've tried with the Fedora tooling and it will likely be tougher to use. @Kyle Gospo when are you thinking you will have some time to work on it? I'm happy to help where I can, I'm just unavailable all day today.
HikariKnight
HikariKnight•10mo ago
i just love the offhand joke me and kyle did might actually be a possible solution, and there is also a small part of me that find it funny to leverage arch to install fedora
Noel
Noel•10mo ago
All roads lead back to Arch Linux.
HikariKnight
HikariKnight•10mo ago
in the end linux ends up just being linux, weird how that works out i want to try help with this too if i can 👀
fiftydinar
fiftydinar•10mo ago
I still don't get why we need Arch ISO instead of normal one, besides the harder work comment from Noel what are the issues with new Fedora installer?
Noel
Noel•10mo ago
The issue is creating an offline installer using the existing Fedora tooling. All solutions I've seen have been net installs. Or requiring a live rebase.
fiftydinar
fiftydinar•10mo ago
Ah, I forgot about offline installers when I started to use online ones. It's just nice that you're always installing the latest image
Noel
Noel•10mo ago
Yeah. An offline installer will be more reliable for things like the steam deck. Or users that have slower Internet. We could still probably support an offline and an online installer with this solution. Because the major difference would be if we do an OSTree deploy from an online registry vs one that is included in the ISO. We also may be able to program some retry logic if the deploy fails which would be harder to do in anaconda.
fiftydinar
fiftydinar•10mo ago
Plot twist: Fedora sees our work, ditches their installer & switches to ours instead
Kyle Gospo
Kyle GospoOP•10mo ago
I'll point you to the repo when I have it set up 😉 First step is just getting a live CD made Then we get to figure out os-install
HikariKnight
HikariKnight•10mo ago
awesome, hopefully i will be able to understand it and help 😄
Kyle Gospo
Kyle GospoOP•10mo ago
Occurred to me that because this is a live CD, it solves our lack of a virutal keyboard issue too I really think this is the way @j0rge @Noel
Noel
Noel•10mo ago
One other thing that occured to me is that Fedora 39 Live CDs can also be used for this. @Skynet and I have already been testing the possibilities with this
Kyle Gospo
Kyle GospoOP•10mo ago
I got a functioning archiso build going as well trying to get it to a place where we can play w/ the actual installer
j0rge
j0rge•10mo ago
yeah other than the meme thing why not use the existing fedora live CD?
Kyle Gospo
Kyle GospoOP•10mo ago
how did the Fedora live CD thing go?
j0rge
j0rge•10mo ago
but whatever I have no strong opinions
Kyle Gospo
Kyle GospoOP•10mo ago
100% based on ease-of-build I'll go with whatever gets us across the finish line sooner
Noel
Noel•10mo ago
So the hiccup I was running into with the official live CD is that it's really big. (2GB) You can use a minimal kickstart file to create it, but it doesn't include the dependencies needed for running Anaconda.
Kyle Gospo
Kyle GospoOP•10mo ago
w/ the minimal kickstart how big is it?
Noel
Noel•10mo ago
1GB
Kyle Gospo
Kyle GospoOP•10mo ago
that's not bad, and that's a working/bootable copy of GNOME I assume? minus everything
Noel
Noel•10mo ago
The minimal one does not include gnome.
Kyle Gospo
Kyle GospoOP•10mo ago
oh lord that's a term?
Noel
Noel•10mo ago
Yeah, no DE
Kyle Gospo
Kyle GospoOP•10mo ago
ow the arkane linux installer, with a whole gnome DE and the install files on-disk, is 2.4GB
Noel
Noel•10mo ago
So it's pretty comparable. It really depends whether we want to use anaconda or retrofit the OS-Installer program.
j0rge
j0rge•10mo ago
oh so size is the reason. 😄
Kyle Gospo
Kyle GospoOP•10mo ago
100% on the retrofit IMO what's the build process like for the fedora liveCD? I can work on coprs for os-install
Kyle Gospo
Kyle GospoOP•10mo ago
oh that's incredible
Noel
Noel•10mo ago
Right. Realistically the biggest hurdle is we just need anaconda to start and install podman and OSTree.
Kyle Gospo
Kyle GospoOP•10mo ago
I think we skip anaconda, go for a GNOME live desktop with zero applications installed, and get os-installer working
Skynet
Skynet•10mo ago
I'm making changes to that right now actually. It looks like the official Fedora ISO is created using lorax, so I'm trying to figure out where the configs are for that so I can recreate that process in that repo
Kyle Gospo
Kyle GospoOP•10mo ago
Then we have a virtual keyboard and a functioning installer UI I can make a copr for os-installer today so we have RPMs to grab it w/
Noel
Noel•10mo ago
Live ISO would be ideal. However anaconda does run in a window in the live installer.
Kyle Gospo
Kyle GospoOP•10mo ago
That would be old anaconda though, no? WIth the confusing user entry screen we have to guide people through
Noel
Noel•10mo ago
Rawhide has the new version.
Kyle Gospo
Kyle GospoOP•10mo ago
hmmm Guess I need to see it
Noel
Noel•10mo ago
Realistically, it doesn't matter if you use normal Fedora workstation, because all they are doing in the Silverblue installer is running a kickstart command to use ostree deploy Only reason I get a bit nervous using the OS-Installer is there seems to be confusion on what it's used for. It's apparently not used for gnome-os. Anaconda is a known quantity I'm open to Lorax as well, I just don't have expertise on how to use it. I can get some screenshots in a bit. It looks pretty slick. weird. I thought I saw new anaconda installer, but it did not appear in the most recent attempt to build. maybe I'm just seeing things.
Kyle Gospo
Kyle GospoOP•10mo ago
well, I like this better than doing arch anyway so all the more reason for me to make that os-install copr
Noel
Noel•10mo ago
Oh ok, so you'd rather do Fedora, just have an OS-install copr?
Kyle Gospo
Kyle GospoOP•10mo ago
yeah, if it's not too complicated that keeps us closer to home
Noel
Noel•10mo ago
Ok sure. We can probably skip worrying about anaconda then. We can pick a lighter weight image to use too.
Kyle Gospo
Kyle GospoOP•10mo ago
yep, my vote is still gnome w/ no applications maybe toss a couple things on there for recovery purposes like prompt & gnome disks
Noel
Noel•10mo ago
sure. that's pretty easy. if you're able to get it into a copr, we can use the livecd-creator to add it as a package. I think kickstart allows you to add additional repos. oh, it's pretty easy. repo --name=<repo-name> --mirrorlist=<mirror-url>
Noel
Noel•10mo ago
so this is what Silverblue uses to deploy using anaconda:
No description
Noel
Noel•10mo ago
@Kyle Gospo we may have an issue with this method because our images are already OCI and are not in an OStree repo format. we may need to do some nasty stuff to get this working: https://www.aleskandro.com/posts/rpm-ostree-container-native-fedora-silverblue-kinoite-dual-boot/ this is an example of someone deploying using OStree from an OCI container. OK, I may have found the missing piece: https://pykickstart.readthedocs.io/en/latest/kickstart-docs.html#ostreecontainer this exists in kickstart. and has since fedora 38 gonna give it a try. OK. theory may be sound here.
Noel
Noel•10mo ago
No description
Noel
Noel•10mo ago
this is still pulling the image down from the internet. BUT. if I make it available on disk itself and we point to it, it could work. I probably should've picked one of our smaller images XD
Want results from more Discord servers?
Add your server