You are not logged in.

#1 2009-05-01 10:24:42

ash
Member
Registered: 2008-12-17
Posts: 134

making an arch live cd

i want to rebuild the arch core instal cd. i want to change some things including

the package selection for the installed system+ package association (make a third grup in addition to base and base-devel etc)
the templates for config files (rc.conf fstab etc) for the installed system
get lilo as option in the installer
change installer defaults

all i found is those 2 pages

http://wiki.archlinux.org/index.php/Dev … o_building
http://wiki.archlinux.org/index.php/Building_a_Live_CD

i got to /usr/share/archiso (well thats the only folder inside the archiso pkg that makes sense) but i cant find anything related to the things i want to change in the installer

did i miss something ?

Offline

#2 2009-05-01 12:27:18

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,097

Re: making an arch live cd

archlinux-installer is what contains the actual install script.


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#3 2009-05-01 12:45:50

ash
Member
Registered: 2008-12-17
Posts: 134

Re: making an arch live cd

if i make a new installer package with new name will the archiso tools 'accept' it as the real installer package? (assuming i did not change anything that actually breaks the contents inside)

Offline

#4 2009-05-01 14:34:49

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,097

Re: making an arch live cd

You could simply include it as a file instead as a package.


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#5 2009-05-01 14:48:30

ash
Member
Registered: 2008-12-17
Posts: 134

Re: making an arch live cd

how / wat it gives ?

Offline

#6 2009-05-01 15:49:05

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,097

Re: making an arch live cd

http://projects.archlinux.org/?p=archis … bd;hb=HEAD

See line 52 and onwards

Edit: Or create your own custom package for the installer, with some fancy name of your liking.

Last edited by Mr.Elendig (2009-05-01 15:54:24)


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#7 2009-05-01 18:24:46

ash
Member
Registered: 2008-12-17
Posts: 134

Re: making an arch live cd

i meant exactly about the own custom package for the installer with some fancy name

does some other tool expect the installer package to have the exact name of the original one ?

Offline

#8 2009-05-01 19:10:37

ash
Member
Registered: 2008-12-17
Posts: 134

Re: making an arch live cd

and yet another thing i dont understand

the packages list file (in archiso) does not contain the arch-installer package. how is the installer installed on the cdrom then ? and are there other packages that have to be included too (to build the arch core install cd) and not found in this file ?

Offline

#9 2009-05-02 10:00:39

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,097

Re: making an arch live cd

ash wrote:

i meant exactly about the own custom package for the installer with some fancy name

does some other tool expect the installer package to have the exact name of the original one ?

The installer package don't have to be the exact name. Nothing has. _You_ decides on what packages that goes onto the cd.

Edit:
The one who built the install iso obviously included it in the package list.

Last edited by Mr.Elendig (2009-05-02 10:01:26)


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#10 2009-05-02 13:52:02

ash
Member
Registered: 2008-12-17
Posts: 134

Re: making an arch live cd

where cah i find the exact packages list of the core install cd ?

Offline

#11 2009-05-02 22:14:16

Svenstaro
Administrator
From: Germany
Registered: 2008-11-19
Posts: 391

Re: making an arch live cd

I don't exactly recommend using archiso in its current state as its broken, at least on Git. I mailed Aaron a patch but so far he didn't get back to me.
Basically, what you need to do to get it actually working is (sorry, don't have a patch right now): In mkarchiso, comment out the block that follows "TODO is this needed? do it at the Makefile level?".
Also, in hooks/archiso, search for /bin/mount -t aufs -o remount,add:/tmpfs/mnt/loop${LOOP_NUM}=ro none "/real_root" and replace the remount,add with remount,append.

Sorry again for no patch! I really hope I can somehow get Aaron to patch this into HEAD.

I'm currently working on a wiki article to address the lack of documentation about archiso.

Apart from that, archiso works pretty well. I'll update the wiki article with more complete information on the subject in a little.

Offline

#12 2009-05-03 14:10:04

ash
Member
Registered: 2008-12-17
Posts: 134

Re: making an arch live cd

great !

Offline

#13 2009-05-05 03:56:26

Svenstaro
Administrator
From: Germany
Registered: 2008-11-19
Posts: 391

Re: making an arch live cd

It's done: Archiso on the Arch Linux wiki. Please tell me if you find any difficulties.

Offline

#14 2009-05-07 18:21:35

ash
Member
Registered: 2008-12-17
Posts: 134

Re: making an arch live cd

can i find somwhere packages.list and contents (ls -R) of the overlay used on the released arch install cds (core / ftp) ?

i am interested in the releases 0.8 2007.08 2008.03/2008.06 2009.02

Offline

#15 2009-05-07 19:57:10

Svenstaro
Administrator
From: Germany
Registered: 2008-11-19
Posts: 391

Re: making an arch live cd

Yes, they are contained in the configs directory when you do the Git checkout. I would not recommend using that list 1:1 if you are not trying to use the original arch installer.

Offline

#16 2009-05-07 20:45:42

ash
Member
Registered: 2008-12-17
Posts: 134

Re: making an arch live cd

and where can i find old versions ?

Offline

#17 2009-05-07 20:49:22

Svenstaro
Administrator
From: Germany
Registered: 2008-11-19
Posts: 391

Re: making an arch live cd

Ask Aaron or dig deep into the Git repo.

Offline

#18 2009-05-09 15:02:29

ash
Member
Registered: 2008-12-17
Posts: 134

Re: making an arch live cd

there is no stuff that old in the git

there is no reply from phrakture either

Offline

Board footer

Powered by FluxBB