You are not logged in.

#1 2009-05-08 11:21:49

ftornell
Member
Registered: 2008-08-18
Posts: 277
Website

Scripted unattended installation of Arch

Hi,
I was wondering if there is a way to make a unattended installation of Arch?

I'm testing tons of stuff on my laptop at work and I reinstall very often and I was thinking of creating an unattended installation if it's easy.

I want to use the same configuration that I have now but I don't want to create a backup image.

The cool way would like to use like a PXE boot and install my system:

1) boot from PXE or CD/DVD/Usb-stick
2) install arch with pre-configured settings (language, keymap, mountpoints, grub settings and so on)
3) install xorg, and the stuff around that, libgl, mesa or what they are called
4) install openbox
5) install applications like pidgin, sylpheed, thunar...

Any hints?


[ logicspot.NET | mempad.org ]
Archlinux x64

Offline

#2 2009-05-08 13:27:46

Daenyth
Forum Fellow
From: Boston, MA
Registered: 2008-02-24
Posts: 1,244

Re: Scripted unattended installation of Arch

Try using AIF

Offline

#3 2009-05-08 14:51:43

japetto
Member
From: Chicago, IL US
Registered: 2006-07-02
Posts: 183

Re: Scripted unattended installation of Arch

ftornell, check out this thread:


http://bbs.archlinux.org/viewtopic.php?id=58110

Offline

#4 2009-05-08 15:04:46

hack.augusto
Member
From: Brazil
Registered: 2008-08-28
Posts: 124

Re: Scripted unattended installation of Arch

what about 'pacman -Q | cut -d ' ' -f 1 > packages' for a list of the packages that you want, and make a .tar with configuration files, then just do a little script like:

cat packages | pacman -Sy
tar -xf config.tar -C /

Offline

#5 2009-05-08 15:46:31

Xyne
Administrator/PM
Registered: 2008-08-03
Posts: 6,963
Website

Re: Scripted unattended installation of Arch

hack.augusto wrote:

what about 'pacman -Q | cut -d ' ' -f 1 > packages' for a list of the packages that you want, and make a .tar with configuration files, then just do a little script like:

cat packages | pacman -Sy
tar -xf config.tar -C /

There's no need to use cut:

pacman -Qq > packages

It still doesn't solve the problem of an unintended installation. AIF is probably the way to go. Larch might work as well.


My Arch Linux StuffForum EtiquetteCommunity Ethos - Arch is not for everyone

Offline

Board footer

Powered by FluxBB