You are not logged in.

#1 2020-11-28 16:19:37

Mr Green
Member
Registered: 2017-11-11
Posts: 60

Where can I find mkinitcpio-archiso? [Solved]

Am in the process of using archiso to create a custom iso image but cannot find mkinitcpio-archiso? does package exist or an alternative?

Last edited by Mr Green (2020-12-27 11:23:14)

Offline

#2 2020-11-28 16:53:57

levi
Moderator
From: Yorkshire, UK
Registered: 2018-06-16
Posts: 1,197

Re: Where can I find mkinitcpio-archiso? [Solved]

I'm not entirely sure what you're trying to achieve here.  I've not heard of a tool called mkinitcpio-archiso before, indeed it's a little bit of a weird incantation if you ask me; does it make a gzipped cpio or an iso (presumably an iso9660 image), it's unlikely to be doing both.

FWIW the mkinitcpio tools is owned by package mkinitcpio currently at version 29-1.0.


Architecture: pentium4, Testing repos: Yes, Hardware: EeePC 901+2GB RAM+OS half on the SD card.

Offline

#3 2020-11-28 20:21:55

Mr Green
Member
Registered: 2017-11-11
Posts: 60

Re: Where can I find mkinitcpio-archiso? [Solved]

It is used in the creation of Archlinux boot media.

Offline

#4 2020-11-28 21:09:39

abaumann
Administrator
From: Zurich
Registered: 2019-11-14
Posts: 985
Website

Re: Where can I find mkinitcpio-archiso? [Solved]

Maybe the one in https://git.archlinux32.org/archiso32/ ? This should be a 32-bit fork of the upstream ISO generator.
There is no mkinitcpio-archiso as I can see.
deep42thought knows much more than me about ISO generation (I still owe a i486 one for low memory machines,
but I cannot go the upstream way there with ramdisks).

So, ArchBang gets an updated 32-bit version? Nice. :-)

Offline

#5 2020-11-29 16:46:14

Mr Green
Member
Registered: 2017-11-11
Posts: 60

Re: Where can I find mkinitcpio-archiso? [Solved]

I am trying to figure out how 32 bit version iso is created, so could do with a little help. Have found releng and installed what I thought I needed but I cannot get anything to build. How do I contact deep42thought?

Offline

#6 2020-11-29 21:06:08

levi
Moderator
From: Yorkshire, UK
Registered: 2018-06-16
Posts: 1,197

Re: Where can I find mkinitcpio-archiso? [Solved]

He should be along shortly, provided you've got a good reason to ask for him.  Why on earth do you want to build a new archlinux32 iso, aren't the ones already published good enough for you?


Architecture: pentium4, Testing repos: Yes, Hardware: EeePC 901+2GB RAM+OS half on the SD card.

Offline

#7 2020-11-30 17:47:44

abaumann
Administrator
From: Zurich
Registered: 2019-11-14
Posts: 985
Website

Re: Where can I find mkinitcpio-archiso? [Solved]

@levi: Mr. Green does the Archbang distro, so he has to remaster the ISO. :-)

Offline

#8 2020-11-30 22:58:51

levi
Moderator
From: Yorkshire, UK
Registered: 2018-06-16
Posts: 1,197

Re: Where can I find mkinitcpio-archiso? [Solved]

Oh, my bad!


Architecture: pentium4, Testing repos: Yes, Hardware: EeePC 901+2GB RAM+OS half on the SD card.

Offline

#9 2020-12-05 09:59:19

Mr Green
Member
Registered: 2017-11-11
Posts: 60

Re: Where can I find mkinitcpio-archiso? [Solved]

I have got an iso built but cowspace is giving me an issue... currently using cow_spacesize=4G in syslinux config file but it does not seem to work. Guessing I have the wrong syntax?

Offline

#10 2020-12-05 12:23:39

Mr Green
Member
Registered: 2017-11-11
Posts: 60

Re: Where can I find mkinitcpio-archiso? [Solved]

I made a change in archiso hook and now have 4G of cow space live. Might lower this to 2G, its more to allow a user to install packages if required.

Not released anything yet, if you have a problem with me doing this then please let me know.....

Offline

#11 2020-12-05 17:53:06

levi
Moderator
From: Yorkshire, UK
Registered: 2018-06-16
Posts: 1,197

Re: Where can I find mkinitcpio-archiso? [Solved]

My entire /usr partition is 8GB, and I run a windowing system and have chunky stuff installed like firefox and libreoffice.  I'd hope that 4GB would be plenty and 2GB is probably more than sufficient for the cow layer on top of the iso's default /usr.


Architecture: pentium4, Testing repos: Yes, Hardware: EeePC 901+2GB RAM+OS half on the SD card.

Offline

#12 2020-12-06 08:04:10

abaumann
Administrator
From: Zurich
Registered: 2019-11-14
Posts: 985
Website

Re: Where can I find mkinitcpio-archiso? [Solved]

More than 3 GB might be a problem, depending on the user/kernel-land layout of the Linux address space.

Offline

#13 2020-12-06 08:44:34

Mr Green
Member
Registered: 2017-11-11
Posts: 60

Re: Where can I find mkinitcpio-archiso? [Solved]

Think I will run future versions with 2G, more than enough. Just wanted to test it. Uploaded a beta iso for testing....

Offline

#14 2020-12-12 14:01:35

Mr Green
Member
Registered: 2017-11-11
Posts: 60

Re: Where can I find mkinitcpio-archiso? [Solved]

Seems after a recent update mkarchiso no longer works, even with a stock media build I cannot boot or loop mount image.

Offline

#15 2020-12-12 20:08:08

deep42thought
Administrator
From: Jena, Germany
Registered: 2017-06-17
Posts: 617

Re: Where can I find mkinitcpio-archiso? [Solved]

sry for being late to the party ...

@Mr Green: this is, how we build our isos. It's really just archiso plus archiso32 (which is not really a fork of archiso but rather a fork of archiso's config stuff) and then

cd /usr/share/archiso/configs/releng32
./build.sh
cd /usr/share/archiso/configs/releng-dual
./build.sh

hth,
deep42thought

Offline

#16 2020-12-13 08:23:55

Mr Green
Member
Registered: 2017-11-11
Posts: 60

Re: Where can I find mkinitcpio-archiso? [Solved]

Am having problems building stock releng32, thought I had a working build script then isos were simply not being seen or booting (usb). I will test again (releng32) and see if I can get it too work.

Can say that the amd license failed due too a typo (again something I will check)

Virtual-Box-Arch32-13-12-2020-07-48-33.png

Am fully up to date but do not have the releng32 folder?

Last edited by Mr Green (2020-12-13 08:50:33)

Offline

#17 2020-12-13 16:33:10

Mr Green
Member
Registered: 2017-11-11
Posts: 60

Re: Where can I find mkinitcpio-archiso? [Solved]

One thing that is bothering me is loading dhcpcd during boot... archlinux has switched to using a system service call rather than udev rule. On boot my system can take over three minutes to reach log in!

Offline

#18 2020-12-13 18:20:14

abaumann
Administrator
From: Zurich
Registered: 2019-11-14
Posts: 985
Website

Re: Where can I find mkinitcpio-archiso? [Solved]

At least you get a network connection. :-)
IPv4 is known not to work with dhcpcd currently, systemd-networkd has regressions in the
same corner (some versions work, some not).
Also systemd-networkd has issues whe running in container..
I personally switched to netctl/dhclient..

Offline

#19 2020-12-13 19:14:43

deep42thought
Administrator
From: Jena, Germany
Registered: 2017-06-17
Posts: 617

Re: Where can I find mkinitcpio-archiso? [Solved]

Mr Green wrote:

Am fully up to date but do not have the releng32 folder?

You need to install archiso32 for that - or archiso-dual for the releng-dual folder.

Offline

#20 2020-12-19 10:43:41

Mr Green
Member
Registered: 2017-11-11
Posts: 60

Re: Where can I find mkinitcpio-archiso? [Solved]

That might where confusion lies, I will try and look at archiso32 over weekend. dhcpcd was driving me nuts... pacman-keys struggle not sure why havaged is running

Offline

#21 2020-12-19 11:11:17

Mr Green
Member
Registered: 2017-11-11
Posts: 60

Re: Where can I find mkinitcpio-archiso? [Solved]

Added testing repo and I still do not have archiso32 folder (/usr/share/)... Would it be my mirrors? or am I missing a repo? little confused ;-)

Offline

#22 2020-12-19 20:32:54

deep42thought
Administrator
From: Jena, Germany
Registered: 2017-06-17
Posts: 617

Re: Where can I find mkinitcpio-archiso? [Solved]

Mr Green wrote:

Added testing repo and I still do not have archiso32 folder (/usr/share/)... Would it be my mirrors? or am I missing a repo? little confused ;-)

Ah, I should have mentioned: archiso32 (and archiso-dual) is in our releng repository.
Or are you trying to build the iso from within arch32? In that case, I would have to admit, that I did not test, whether this is possible (it should be, by using the archiso package)

regards,
deep42thought

Offline

#23 2020-12-20 08:31:31

Mr Green
Member
Registered: 2017-11-11
Posts: 60

Re: Where can I find mkinitcpio-archiso? [Solved]

That helps thank you... ;-)

Offline

#24 2020-12-20 18:06:55

Mr Green
Member
Registered: 2017-11-11
Posts: 60

Re: Where can I find mkinitcpio-archiso? [Solved]

Seem to be back up and running, builds are ok... few tweaks before I can upload a beta iso. There is an issue with amd-ucode (easy fix in build script). Did have to add some cow_space again not a real issue.

/me waits for 5.10 ;-)

Offline

Board footer

Powered by FluxBB