[arch-dev-public] Bootstrap images for installing Arch from another system

Pierre Schmitz pierre at archlinux.de
Sat Jun 22 14:10:54 EDT 2013


Am 22.06.2013 17:33, schrieb Thomas Bächler:
> Setting up Arch on a root server should be as easy as this:
> * Boot rescue system, make sure you have Linux 2.6.32 or later
> * Download tarball from Arch, extract to /tmp/root.x86_64/
> * Set up partitions and such, mount to /tmp/root.x86_64/mnt/
> * chroot /tmp/root.x86_64/ (well, also some bind-mounts)
> * pacman-key --populate archlinux
> * pacstrap /mnt base and follow the installation guide
> 
> I'd like to generate such tarballs regularly (monthly like our ISOs?)
> and put them on our mirrors, unless there are objections.

Good idea. I had something like this in mind for some time; I did not
think of putting only pacstrap and deps into the tar though.

I wonder if you could use arch-chroot isntead of just chroot here. You
can also use the pacman.conf from the releng scripts. And to be safe you
should prefix pacstrap with a setarch call.

I'd say we include this script into the releng scripts (either archiso
or create a nwe package; atm I use some additional script for releasing
an ISO image) and upload such a tar at the same time as the ISO image.

Greetings,

Pierre

-- 
Pierre Schmitz, https://pierre-schmitz.com


More information about the arch-dev-public mailing list