Arch's "Smart" Installers. Chapter 3. How to make your life easier

Post Reply
User avatar
Grey
Posts: 2003
Joined: Wed Jul 22, 2020 12:33 am
Location: Russia
Has thanked: 75 times
Been thanked: 366 times

Arch's "Smart" Installers. Chapter 3. How to make your life easier

Post by Grey »

So, how to create an installer with the previous two installers (alis & archinstall). Let's try to keep within 10 steps :lol:
Let's agree that we do this in Fossapup ;) :
1. Download both scripts to your disk. Of course devx.sfs is needed. --recursive doesn't seem to be needed. It's just in case ;)

Code: Select all

git clone --recursive https://github.com/picodotdev/alis
git clone --recursive https://github.com/archlinux/archinstall

2. Download the official Arch image.
3. Unpack or mount the image.
4. "Pull out" the airootfs.sfs file from the image, which is located inside the image at the path /arch/x86_64/
You can use the console or GUI version of PowerISO for this.
5. Unpacking airootfs.sfs using UExtract.
6. Copy the installers from the first step to the opt(you can choose something else :) ) folder inside airootfs.
7. Packing airootfs back. Using dir2sfs :!: Don't forget to rename the file by removing 9.5 or whatever version of Fossapup you have now :)
PackIt is possible, but it needs to be configured there.
8. We return airootfs inside the image.
9. Putting the iso image back together. You can use PowerISO again for 8 & 9 steps. Or command line.

10. Now you can boot from the image (PowerISO does not "kill" loaders). We are waiting for the download to the console. We launch Midnight Commander using the mc command.
Now it remains to use the commander to go to /opt/alis or /opt/archinstall and run alis.sh in the case of alis. Or the archinstall command in the case of archinstall (because there's a Python).

Of course, it is desirable (but not necessary ;) ) to configure the conf files according to your preferences before step 7.

Fossapup OS, Ryzen 5 3600 CPU, 64 GB RAM, GeForce GTX 1050 Ti 4 GB, Sound Blaster Audigy Rx with amplifier + Yamaha speakers for loud sound, USB Sound Blaster X-Fi Surround 5.1 Pro V3 + headphones for quiet sound.

User avatar
Grey
Posts: 2003
Joined: Wed Jul 22, 2020 12:33 am
Location: Russia
Has thanked: 75 times
Been thanked: 366 times

Re: Arch's "Smart" Installers. Chapter 3. How to make your life easier

Post by Grey »

Oh, I almost forgot. In Commander, you can press F4 and edit the conf files. But the files will change only for this session before the reboot... because we have iso, read-only.

Fossapup OS, Ryzen 5 3600 CPU, 64 GB RAM, GeForce GTX 1050 Ti 4 GB, Sound Blaster Audigy Rx with amplifier + Yamaha speakers for loud sound, USB Sound Blaster X-Fi Surround 5.1 Pro V3 + headphones for quiet sound.

User avatar
Grey
Posts: 2003
Joined: Wed Jul 22, 2020 12:33 am
Location: Russia
Has thanked: 75 times
Been thanked: 366 times

Re: Arch's "Smart" Installers. Chapter 3. How to make your life easier

Post by Grey »

I received a signal that the new iso is now in a different format. The image is not a CD disk, but a hard disk. PowerISO is "powerless" against such an image.
Checked it out. Indeed, the new one is different.

Not a problem :) The scheme and procedure remains the same.
:idea: Just do all the actions on the disk image released before May of this year. And take airootfs from the new images.
Well, or if you like adventures, then use console utilities to "gut" and build an image :)

Arch_old_and_new_iso.gif
Arch_old_and_new_iso.gif (11.05 KiB) Viewed 477 times

Fossapup OS, Ryzen 5 3600 CPU, 64 GB RAM, GeForce GTX 1050 Ti 4 GB, Sound Blaster Audigy Rx with amplifier + Yamaha speakers for loud sound, USB Sound Blaster X-Fi Surround 5.1 Pro V3 + headphones for quiet sound.

Post Reply

Return to “Other Distros”