FS#13046 - Shell output of installer in vc7, not vc5

Attached to Project: Release Engineering
Opened by Marcel Korpel (Marcel-) - Friday, 30 January 2009, 12:19 GMT
Last edited by Dieter Plaetinck (Dieter_be) - Saturday, 14 February 2009, 13:02 GMT
Task Type Bug Report
Category archlinux-installer (deprecate
Status Closed
Assigned To Aaron Griffin (phrakture)
Gerhard Brauer (GerBra)
Dieter Plaetinck (Dieter_be)
Architecture All
Severity Very Low
Priority Normal
Reported Version 2009.01-beta
Due in Version 2009.02
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


The official installation guide says in section http://wiki.archlinux.org/index.php/Official_Arch_Linux_Install_Guide#Running_Setup (as well as in the text version on installation media):

"Virtual consoles 1-6 are active in the live environment. At any point in the install process, you can switch to your 5th virtual console (ALT-F5) to view the shell output from installer script."

This should be the 7th virtual console (ALT-F7).
This task depends upon

This task blocks these from closing
 FS#13140 - Official Installation documentation 
Closed by  Dieter Plaetinck (Dieter_be)
Saturday, 14 February 2009, 13:02 GMT
Reason for closing:  Fixed
Comment by Dieter Plaetinck (Dieter_be) - Friday, 30 January 2009, 16:19 GMT
Hi Marcel,
feel free to update it.
Comment by Marcel Korpel (Marcel-) - Friday, 30 January 2009, 16:45 GMT
Of course I can, but is the installation guide on the ISO-images updated, too?
Comment by Marcel Korpel (Marcel-) - Friday, 30 January 2009, 16:45 GMT
Wiki-page corrected, by the way.
Comment by Dieter Plaetinck (Dieter_be) - Friday, 30 January 2009, 17:13 GMT
Thanks Marcel.
I was to quick and forgot that indeed, the txt docs in /arch are part of archlinux-installer. So we will update them
Comment by Aaron Griffin (phrakture) - Friday, 30 January 2009, 17:24 GMT
Anyone mind submitting a patch? http://projects.archlinux.org/?p=installer.git;a=tree The two docs there may need more updating than that
Comment by Marcel Korpel (Marcel-) - Friday, 30 January 2009, 18:11 GMT
Isn't there a way to automagically create these text files from the Wiki? Actually, I thought this was already the case.

Like http://wikirenderer.berlios.de (sorry, I don't understand French, but Dieter should ;)
Comment by Aaron Griffin (phrakture) - Friday, 30 January 2009, 18:15 GMT
In the past, I've uses links -dump to do things like that. You could always click "edit" and copy all the text, then save it...
Comment by Dieter Plaetinck (Dieter_be) - Friday, 30 January 2009, 18:28 GMT
/me thinks/drools about doing a wget/links -dump in the makefile/pkgbuild of archlinux-installer.. we could even put the wikipage in $source.. hmm i need this in aif.. hmm maybe a separate docs package.. brain overload!
Comment by Aaron Griffin (phrakture) - Friday, 30 January 2009, 18:29 GMT
If you can automate this properly, I would love you forever
Comment by Aaron Griffin (phrakture) - Friday, 30 January 2009, 18:43 GMT
$ links -dump http://wiki.archlinux.org/index.php/Official_Arch_Linux_Install_Guide | sed 's/\[edit\]/###/g' | awk 'BEGIN{A=1}{if(/ Views/){A=0}}{if(A){print}}'

The last "awk" removes the wiki junk from the bottom. Could also be done with something like:
$ links -dump http://wiki.archlinux.org/index.php/Official_Arch_Linux_Install_Guide | sed 's/\[edit\]/###/g' | head -n-$REMOVE_LINES
Comment by Marcel Korpel (Marcel-) - Saturday, 31 January 2009, 01:04 GMT
According to SanskritFritz, the installer output indeed is in vc5: http://wiki.archlinux.org/index.php?title=Official_Arch_Linux_Install_Guide&action=history

But I'm not that stupid, my error messages *are* in vc7. Can someone confirm this is true for 2009.01-beta?
Comment by Greg (dolby) - Saturday, 31 January 2009, 01:33 GMT
Yes. The wiki page is horiibly outdated. Dont use it as a reference. Take a look at http://projects.archlinux.org/?p=installer.git;a=blob;f=arch-install-guide.txt;h=7fceafb06e4e101d0c105a90c1f952d5cc1d0d97;hb=HEAD. Thats more maintained.
I think the official installation guide should move to the developer wiki when its completed.
If its maintained in git, it can be updated before each release. As long as changes are not that major..
I will try to refactor it a bit.
PS. I think i accidentaly commited some stuff in the master branch while playing around with git. :/
Comment by Greg (dolby) - Saturday, 31 January 2009, 09:16 GMT
I started a custom installer git tree here: http://github.com/grbzks/installer/tree/grbzks
mainly to in order to update the installation guide as a first step. This BR if fixed locally, i will push the changes later.
Comment by Dieter Plaetinck (Dieter_be) - Saturday, 31 January 2009, 10:08 GMT
Marcel. Yes we use tty7, not tty5.
You can see this in the source code.
-> http://projects.archlinux.org/?p=installer.git;a=blob_plain;f=setup;hb=HEAD
-> http://projects.archlinux.org/?p=aif.git;a=blob;f=src/aif.sh

This might be changed only after the 2008.06, which could be the release SanskritFritz is talking about. How can we contact him? Should I edit his "talk" page?

Grigorios, I don't understand. You sure http://projects.archlinux.org/?p=installer.git;a=blob;f=arch-install-guide.txt;h=7fceafb06e4e101d0c105a90c1f952d5cc1d0d97;hb=HEAD is more maintained? I thought these files were generated from the wiki? it doesn't make sense to me to maintain both a wikipage and a text version by hand if you can generate one from the other.
Comment by Greg (dolby) - Saturday, 31 January 2009, 10:43 GMT
Let me unfold my thoughts. First of all the Official Installation Guide shouldnt be edited by any user who feels like it. Its official right? Thats why IMO should be in the Developer Wiki.
I read some parts of the wiki page, and i get the feeling that if you leave the wiki page there its gonna become the same as the beginners guide.
That page was never really maintained, the installation guide available from archlinux.org was in text & at some point in October 2007
i submitted the exact same text on the wiki cause IIRC the site already linked to it rather than the text it did before.
So at some point the 2 guides were identical.
I didnt bother to check the wiki additions much, i see Misfit has added a lot of stuff among other people.
But from what i can see: The wiki page has referrences to 2007.08 ISO, as if someone cares what that ISO looked like.
Also it says the following: "Packages are divided into 4 categories: BASE, SUPPORT, DEVEL and LIB." Come again? I dont even remember when that was. The guide included in installer.git doesnt have those.
Judging by those two entries i consider it horribly outdated, like i said above.
I think that the Official installer guide, is a better place to start working. Its more clear and updated. Its also already in git. Additionally if parts of the wiki page are considered worthwhile,
they could always be added to the Official Guide.
Comment by Greg (dolby) - Saturday, 31 January 2009, 10:48 GMT
Also regarding maintaining 2 pages, since the Official Installation Guide is linked from BOTH archlinux.org and wiki.archlinux.org, it should be available at the wiki. But at the not worldwide writable developer section like i said before.
The question maintaining 2 guides would make more sense regarding Begginers Guide VS. Official Installation Guide as the Begginers Guide already contains the latter...
But this is the first time this has come up in a while..
Comment by Aaron Griffin (phrakture) - Wednesday, 11 February 2009, 17:08 GMT
  • Field changed: Status (Assigned → Requires Testing)
  • Field changed: Due in Version (2009.08-alpha → 2009.02)
Fixed in archlinux-installer 2009.02-2 and will be in RC2, please test
Comment by Dieter Plaetinck (Dieter_be) - Saturday, 14 February 2009, 13:01 GMT
yep this is fixed.