Adding Calamares into my iso

I am creating my own arch-based distro and every time I try to add Calamares it says it can’t be installed in releng of archiso , also if I changed Calamares configs of the one that installed on my laptop shall it change the one which I will include in my iso ?

You need to provide more details if you want people to respond.
What is the error message? How are you adding Calamares to archiso?
Have you looked at our github

to see how we are doing things?

1 Like

You basically need to build you own calamares package with your own configs. Then you can include it your ISO.

calamares isn’t in the Arch repos so you need to build the package in host it in your repos before you can add it to the list of packages in archiso.

3 Likes

do you mean I need to configure calamares which on my laptop or you meant to uploaded it on the internet before I edit it

Calamares is controlled a by a series of config and qml files. Those are customized by each distro.

There series of steps could look like this:

  • Customize those files to meet your needs
  • Create PKGBUILD and build a package containing Calamares and your configs
  • Place package into your distro’s repo
  • Add that package to the list of packages that are installed into your ISO
  • Build your ISO

error: config file /etc/pacman.d/endeavouros-mirrorlist could not be read: No such file or directory

Since you haven’t provided any context for that error there is nothing I can do to really help with it.

However, it looks to me like you are pulling in some EOS-specific packages or config. You probably shouldn’t be doing that if you are building your own distro.

1 Like

how to fix it
plz

I have two comments:

  1. You shared an error message with no context whatsoever. I don’t even know what you did to get that error.
  2. If you are building your own distro, you need to be able to solve simple errors like that yourself.

That being said, I am guessing you are trying to use our somewhat-customized ISO building scripts or Calamares configs to build your own distro. That isn’t wise.

You should instead start with vanilla archiso and calamares and then look to our config for inspiration, not just copy it wholesale.

2 Likes

[mkarchiso] INFO: Creating a list of installed packages on live-enviroment…
error: config file /etc/pacman.d/endeavouros-mirrorlist could not be read: No such file or directory

If something is trying to read the endeavouros-mirrolist, you have some EOS-specific files in your config or package list. You need to find them.

(13/31) Install DKMS modules
==> dkms install --no-depmod nvidia/545.29.06 -k 6.6.2-arch1-1
==> depmod 6.6.2-arch1-1
(14/31) Updating linux initcpios…
==> Building image from preset: /etc/mkinitcpio.d/linux.preset: ‘archiso’
==> Using configuration file: ‘/etc/mkinitcpio.conf’
→ -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
==> Starting build: ‘6.6.2-arch1-1’
→ Running build hook: [base]
→ Running build hook: [udev]
→ Running build hook: [modconf]
→ Running build hook: [kms]
==> WARNING: Possibly missing firmware for module: ‘ast’
→ Running build hook: [memdisk]
→ Running build hook: [archiso]
→ Running build hook: [archiso_loop_mnt]
→ Running build hook: [archiso_pxe_common]
==> WARNING: Possibly missing firmware for module: ‘adf7242’
==> WARNING: Possibly missing firmware for module: ‘bnx2x’
==> WARNING: Possibly missing firmware for module: ‘qed’
==> WARNING: Possibly missing firmware for module: ‘nfp’
==> WARNING: Possibly missing firmware for module: ‘liquidio’
==> WARNING: Possibly missing firmware for module: ‘mlxsw_spectrum’
==> WARNING: Possibly missing firmware for module: ‘bna’
==> WARNING: Possibly missing firmware for module: ‘softing_cs’
→ Running build hook: [archiso_pxe_nbd]
→ Running build hook: [archiso_pxe_http]
→ Running build hook: [archiso_pxe_nfs]
→ Running build hook: [block]
==> WARNING: Possibly missing firmware for module: ‘qla2xxx’
==> WARNING: Possibly missing firmware for module: ‘bfa’
==> WARNING: Possibly missing firmware for module: ‘wd719x’
==> WARNING: Possibly missing firmware for module: ‘aic94xx’
==> WARNING: Possibly missing firmware for module: ‘qla1280’
==> WARNING: Possibly missing firmware for module: ‘xhci_pci’
→ Running build hook: [filesystems]
→ Running build hook: [keyboard]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: ‘/boot/initramfs-linux.img’
==> Image generation successful
(15/31) Updating the appstream cache…
:heavy_check_mark: Metadata cache was updated successfully.
(16/31) Updating the DBeaver bundles.info database…
(17/31) Reloading system bus configuration…
Skipped: Running in chroot.
(18/31) Warn about old perl modules
(19/31) Updating fontconfig cache…
(20/31) Probing GDK-Pixbuf loader modules…
(21/31) Updating GIO module cache…
(22/31) Compiling GSettings XML schema files…
(23/31) Probing GTK2 input method modules…
(24/31) Probing GTK3 input method modules…
(25/31) Updating icon theme caches…
(26/31) Updating GTK4 module cache…
(27/31) Reloading GVFS config…
killall: /proc lacks process entries (not mounted ?)
(28/31) Updating the info directory file…
(29/31) Updating the desktop file MIME type cache…
(30/31) Updating the vlc plugin cache…
(31/31) Updating X fontdir indices…
[mkarchiso] INFO: Done! Packages installed successfully.
[mkarchiso] INFO: Creating version files…
[mkarchiso] INFO: Done!
[mkarchiso] INFO: Copying /etc/skel/* to user homes…
[mkarchiso] INFO: Done!
[mkarchiso] INFO: Creating a list of installed packages on live-enviroment…
error: config file /etc/pacman.d/endeavouros-mirrorlist could not be read: No such file or directory

Normally during this step it just runs pacman -Q and saves the results to a file. I am not sure how that would generate that error.

You should take a look at the script and see what it is doing after writing that message.

I tried pacman -Q , still it gives the same error
do you think it is error on endeavour server itself

or permession of the file
when I get home gonna try chmod 755 /etc/pacman.d/endeavouros-mirrorlist

If you are creating a custom ISO and you want your own mirrors you will need to define them. and point them to pacman. You have it setup where its calling for something from the EndeavourOS meaning that you have not correctly edited the files necessary to remove the Endeavour calls to your own. You need to find where its trying to add the endeavours mirror list and give it the correct information for your own. Or at the very least remove the entry for the Endeavour Mirror list from the appropriate config file

1 Like

I use Endeavouros mirrors also does the message I pasted means what you explain?
I need to soluve the issue plz
(sorry for my poor English)

Do you have this file inside your installation? /etc/pacman.d/endeavouros-mirrorlist

Are you using EnderavourOS or arch?

If you are running pure arch, you don’t have that file and need to get it from somewhere.

I use Endeavouros as my system I don’t use arch itself
yes /etc/pacman.d/endeavouros-mirrorlist is on root partion

yes but when you create the ISO do you have this file included in the ISO? which should be somewhere like
/mnt/etc/pacman.d/endeavouros-mirrorlist during the build.

thanks that you care , do you mean I should put this file in the dir work which inside EndeavourOS-ISO-22.12.2 Gallileo that I am using as the base of the distro which I will create
(if yes , and it is in the file what shall I do when I get home cuz I am away of my laptop … thanks a lot that you tring to help )