Difference between revisions of "User:Chrisl/Installing Arch Using Old Installation Media"

From ArchWiki
Jump to: navigation, search
(rm gap)
Line 1: Line 1:
 
[[Category:Getting and installing Arch]]
 
[[Category:Getting and installing Arch]]
 +
{{Article summary start}}
 +
{{Article summary text|This article give additional steps to the official installation guide, to allow installing Arch using an old media cd using the  [https://github.com/falconindy/arch-install-scripts Arch Install Scripts] instead of AIF.}}
 +
{{Article summary heading|Related}}
 +
{{Article summary wiki|Installation Guide}}: You should still follow the official guide steps.
 +
{{Article summary end}}
 
In the past, it didn't really matter what version of the installation media was used to install arch, as long remote repos were used, the result was an updated arch installation.
 
In the past, it didn't really matter what version of the installation media was used to install arch, as long remote repos were used, the result was an updated arch installation.
  
That is still true, but several changes have ocurred in arch, including pacman4 and the systemd adoption, that may do harder the installation using old media iso.
+
That is still true, but several changes have ocurred in arch, including [[pacman|pacman4]] and the [[systemd]] adoption, that may do difficult the installation using an old media iso.
  
The goal of this wiki is to provide few additional steps to the [[Installation Guide]], in order to allow you to use an old installation media to install arch, using the new [https://github.com/falconindy/arch-install-scripts Arch Install Scripts] instead of AIF.
+
The goal of this article is to provide few additional steps to the [[Installation Guide]], in order to allow you to use an old installation media to install arch, using the new [https://github.com/falconindy/arch-install-scripts Arch Install Scripts] instead of AIF.
  
 
This is useful in situations like this:
 
This is useful in situations like this:
Line 12: Line 17:
 
* Maybe an old media cd is the only media you have at hand to install arch at any given moment.
 
* Maybe an old media cd is the only media you have at hand to install arch at any given moment.
  
This are only aditional steps. You should still follow the [[Installation Guide]].
+
Again, this are only aditional steps. You should still follow the [[Installation Guide]].
  
 
This steps have been tested using 2010.05 and 2011.08.19 installation media cds.
 
This steps have been tested using 2010.05 and 2011.08.19 installation media cds.

Revision as of 01:33, 30 October 2012

Summary help replacing me
This article give additional steps to the official installation guide, to allow installing Arch using an old media cd using the Arch Install Scripts instead of AIF.
Related
Installation Guide: You should still follow the official guide steps.

In the past, it didn't really matter what version of the installation media was used to install arch, as long remote repos were used, the result was an updated arch installation.

That is still true, but several changes have ocurred in arch, including pacman4 and the systemd adoption, that may do difficult the installation using an old media iso.

The goal of this article is to provide few additional steps to the Installation Guide, in order to allow you to use an old installation media to install arch, using the new Arch Install Scripts instead of AIF.

This is useful in situations like this:

  • Some VPS providers only provide iso files of old media versions.
  • Installation on older computers. While the 2011.08.19 i686 iso was able to boot with only 64M RAM and install arch (activating swap), more recent versions can't.
  • Maybe an old media cd is the only media you have at hand to install arch at any given moment.

Again, this are only aditional steps. You should still follow the Installation Guide.

This steps have been tested using 2010.05 and 2011.08.19 installation media cds.

Install the Arch Install Scripts

  • Follow the guide until you get internet access.
pacman -Sy arch-install-scripts

Say no to the question about updating pacman.

  • If you are using a media older than 2011.08.19, edit both /usr/bin/pacstrap and /usr/bin/arch-chroot. Look for a line like this:
mount -t devtmpfs udev "$1/dev" -o mode=0755,nosuid &&

And change it to this:

mount /dev "$1/dev" -o bind,mode=0755,nosuid &&

on both files.

Again, that is not necessary for 2011.08.19 media.

Install haveged

  • Continue the steps, and after you have done pacstrap /mnt base base-devel, do:
# pacstrap /mnt haveged

Edit the fstab file

  • Omit using genfstab. That script does not work on older media. You'll need to edit the /mnt/etc/fstab file by hand.

You can use the content of /etc/mtab as reference.

Fixing Pacman

Once you are inside the arch-choot /mnt:

  • If you are using an installation media older than 2011.08.19, you'll need to update pacman's database. Do it like this:
# pacman-db-upgrade 

That is not necessary for 2011.08.19 media.

  • This steps will fix the arch signatures keyring:
# /usr/sbin/haveged -w 1024 -v 1
# pacman-key --init
# pacman -U /var/cache/pacman/pkg/archlinux-keyring*
  • Do the rest of the steps normally.