| Arch Linux Installation Guide |
|
|
| Written by axel | ||||||||||||||||||||||
13. Grub Boot Loader Installation and ConfigurationNext we will be asked to configure GRUB Boot Loader.
We have two options: In each case we choose in which hard disk we want the installation to be done or in which partition. In the first case we must select our first physical hard disk drive (e.g. sda). In the second case we choose “/boot” partition or “/” if we haven’t created “/boot”. Then we press Enter.
14. Root Password Configuration
Here we will be asked for what the root password would be. The password should have no spaces and should also be difficult. Of course you shouldn’t forget it. At this point the installer will message us that everything is ok and will reboot the system. We will be prompted to eject the CD. Do so and press Enter for reboot.
15. Mnagement Configuration - Repositories
At this time you will need a linux live cd. You may download the Ubuntu live cd from here. Put it in your cdrom drive and reboot. Instead of this if you already have a linux installation in your computer you may use this one. One way or another you should have an internet connection available.
If you use your installation make sure those packages are available. Be careful since those packages may have a different name in your distribution. gksudo gedit
sudo -s -H
screen -i -U cd /
mkdir /mnt/arch mount /dev/sda2 /mnt/arch
mount /dev/sda5 /mnt/arch/mnt/repos
mkdir /mnt/arch/mnt/temp
cd /mnt/arch/mnt/repos mkdir arch-local cd arch-local
for amd64 mkdir amd64 cd amd64
mkdir x86 cd x86
mkdir custom mkdir custom/packages mkdir custom/list cd /
Delete everything and paste the following: [options] LogFile = /var/log/pacman.log NoUpgrade = etc/passwd etc/group etc/shadow etc/sudoers NoUpgrade = etc/fstab etc/raidtab etc/ld.so.conf NoUpgrade = etc/rc.conf etc/rc.local NoUpgrade = etc/modprobe.conf etc/modules.conf NoUpgrade = etc/lilo.conf boot/grub/menu.lst HoldPkg = pacman glibc SyncFirst = pacman #XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
Depending on your architecture: for amd64 [custom] Server = file:///mnt/repos/arch-local/amd64/custom/package for x86 [custom] Server = file:///mnt/repos/arch-local/x86/custom/packages Continue: [core] Include = /etc/pacman.d/mirrorlist [extra] Include = /etc/pacman.d/mirrorlist [community] Include = /etc/pacman.d/mirrorlist #[testing] #Include = /etc/pacman.d/mirrorlist
Save the file and exit.
Open them all. Server =
/mnt/arch/bin/ Press new file in gedit and paste the following: #!/bin/bash REPO=$1 PLATFORM=$2 if [ "$PLATFORM" = "amd64" ] then ARCH=x86_64 elif [ "$PLATFORM" = "x86" ] then ARCH=i686 fi cd / rm -f /mnt/repos/arch-local/"$PLATFORM"/"$REPO"/packages/"$REPO".db.tar.gz repo-add /mnt/repos/arch-local/"$PLATFORM"/"$REPO"/packages/"$REPO".db.tar.gz /mnt/repos/arch-local/"$PLATFORM"/"$REPO"/packages/*-"$ARCH".pkg.tar.gz rm -f /mnt/repos/arch-local/"$PLATFORM"/"$REPO"/packages/.PKGINFO cd /
Save it as update-local-repo with Western Locale encoding. Now let’s get back in our console and make the script executable: cd /mnt/arch/bin chmod 755 update-local-repo cd / From now on to run the script you must type: update-local-repo <repository-name> <architectyre> architecture depending on your system should be: for amd64 amd64 for x86 x86 For now we have created only one local repo named 'custom'. So, to run the script type: for amd64 update-local-repo custom amd64 for x86 update-local-repo custom x86
|
||||||||||||||||||||||
| Last Updated ( Monday, 01 December 2008 ) | ||||||||||||||||||||||
| < Prev | Next > |
|---|





