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

Gerardo Exequiel Pozzi vmlinuz386 at yahoo.com.ar
Sat Jun 22 12:00:24 EDT 2013


On 06/22/2013 12:33 PM, Thomas Bächler wrote:
> So, I heard a few people struggled installing Arch from another distro
> or from a root server rescue system recently. The requirements for
> pacman and friends are numerous and most systems don't have recent
> enough libraries to easily meet them.
> 
> 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.
> 
> I took the liberty of writing a small script:
> https://paste.xinu.at/ixbqt/
> 
> These are the resulting files:
> 
> total 143M
> -rw-r--r-- 1 root root 71M 22. Jun 17:13
> archlinux-bootstrap-2013.06.22-i686.tar.gz
> -rw-r--r-- 1 root root 73M 22. Jun 17:15
> archlinux-bootstrap-2013.06.22-x86_64.tar.gz
> 
> Note that they are only gzipped, because we can rely on tar and gzip
> being widely available.
> 
> Any comments?
> 

Good,

I suggest to use "Architecture = auto" and use "setarch ${arch}
pacstrap...". In this way, scriptlets will be executed in the right
architecture ;)

Have a nice day.



-- 
Gerardo Exequiel Pozzi
\cos^2\alpha + \sin^2\alpha = 1

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 555 bytes
Desc: OpenPGP digital signature
URL: <http://mailman.archlinux.org/pipermail/arch-dev-public/attachments/20130622/17516f9a/attachment.asc>


More information about the arch-dev-public mailing list