1. Choosing installation flavor

Depending on your needs, there are different installers with different characteristics. You can choose which fits you the best.

1.1. Installing from CDs

Which CDs do you need? If you install a server without X, only the first. If you need a graphical system, then you'll need the second CD as well.

Note
Don't download CDs 3-11 unless you don't have an internet connection! You can install language packs later from FTP servers if you need them.

On PPC, to boot from an external CD drive, you will need to use the Open Firmware prompt, since Open Firmware does not search external optical devices by default. To get to the prompt, hold down Command+Option+o+f all together while booting.

You will need to work out where the optical device appears in the device tree. Type dev / ls and devalias at the Open Firmware prompt to get a list of all known devices and device aliases.

Example, in case the path is /pci@f2000000/usb@1b/disk@1:

devalias cd /pci@f2000000/usb@1b/disk@1
boot cd:,\\:tbxi

1.2. Installing from DVD

If you don't have any Internet connection but you want language packs and other optional packages, you'll need two DVDs.

Pros: a full offline installation is possible.

Cons: Large amount of data must be downloaded, presumably some unnecessary packages too.

1.3. Netinstall

This is a small ISO image, currently under 32Mb, which is able to boot up, configure the network and install the system with the selected packages, which are downloaded on-the-fly as required.

Pros: Small image size, no wasted bandwidth with downloading outdated or unnecessary packages.

Cons: No offline installation possible, high bandwidth or hours of patience required for a full installation.

An alternate way of doing this is to just copy the contents of the ISO image to your hard drive and use your existing boot manager to boot it.

Typically you can add a new entry to your existing GRUB installation on i686 or x86_64 (in this case you just have to copy the commands from the menu.lst file from the image) or you can boot yaboot from Open Firmware on PPC. (See below on how to invoke Open Firmware.) Once you have the Open Firmware prompt, for example in case the boot directory is copied to the root directory of the 5th partition of your hard disk:

boot hd:5,\boot\yaboot\yaboot

Pros: No USB stick or (re)writeable CD needed.

Cons: Possible only in case you have some kind of bootloader available.

1.4. USB image

This is a filesystem image, similar to the network install ISO image.

Warning
Writing the boot image to a USB stick will destroy all the data on the drive.

The following command will install the image to the USB stick on any recent Linux system:

# dd if=frugalware-<version>-<arch>-usb.img of=/dev/sdX
Important
Pay attention to see what /dev/sdX device your USB stick, for example by having a look at the contents of the /dev/disk/by-id/ directory!

You can use a similar tool (like this) on Windows systems as well:

dd if=frugalware-<version>-<arch>-usb.img of=\\?\Device\Harddisk1\Partition0 \
        bs=1M --size --progress

On PPC, create a partition of type "Apple_Bootstrap" on your USB stick using mac-fdisk and extract the image there. For example:

# dd if=/dev/zero of=/dev/sda bs=1M count=1
# mac-fdisk /dev/sda
/dev/sda
Command (? for help): i
size of 'device' is 1014784 blocks:
new size of 'device' is 1014784 blocks
Command (? for help): p
/dev/sda
        #                    type name                length   base    ( size )  system
/dev/sda1     Apple_partition_map Apple                   63 @ 1       ( 31.5k)  Partition map
/dev/sda2              Apple_Free Extra              1014720 @ 64      (495.5M)  Free space

Block size=512, Number of Blocks=1014784
DeviceType=0x0, DeviceId=0x0

Command (? for help): C
First block: 64
Length (in blocks, kB (k), MB (M) or GB (G)): 1014720
Name of partition: boot
Type of partition: Apple_Bootstrap
Command (? for help): w
Command (? for help): q
# cat frugalware-0.9-ppc-usb.img > /dev/sda2

Pros: No need to burn any CD.

Cons: You have to be able to boot from USB.

On PPC, to boot from a USB stick, you will need to use the Open Firmware prompt, since Open Firmware does not search USB storage devices by default. To get to the prompt, hold down Command+Option+o+f all together while booting.

You will need to work out where the USB storage device appears in the device tree. Type dev / ls and devalias at the Open Firmware prompt to get a list of all known devices and device aliases.

Example, in case the path is /pci@f2000000/usb@1b:

devalias usb0 /pci@f2000000/usb@1b
boot usb0/disk:2,\yaboot

1.5. TFTP image

This is a floppy image, for a very special case:

Pros: In some cases this is the only way you can install Frugalware

Cons: You need a bootable network card and a working TFTP server

1.6. Fwbootstrap (self-contained chroot)

This is a tarball which has to be downloaded and unpacked. Mostly useful for developers who can compile packages in this build environment on a non-Frugalware host system.

Usage example:
  1. Download the tarball

    $ wget ftp://ftp5.frugalware.org/packages/frugalware/pub/frugalware/\
    frugalware-stable-iso/fwchroot-<version>-<arch>.tar.bz2
  2. Unpack it

    $ tar xvjf fwchroot-<version>-<arch>.tar.bz2
  3. Enter the chroot.

    $ cd fwchroot-<version>-<arch>
    $ ./fwbootstrap
  4. Use it (build a package or two)

  5. Exit from the shell and fwbootstrap will unmount the necessary dirs for you.

You can get a list of installed packages in the chroot with issuing the pacman-g2 -Q command.

1.7. A manual bootstrap

So you want a complete Frugalware installed into /mnt/foo. First of all, you must have a running Frugalware where you are able to do

# pacman-g2 -Sy core base -r /mnt/foo

which installs the core and base pkgs into it. But beware:

$ pacman-g2 -Qo /etc/sysconfig/keymap
No package owns /etc/sysconfig/keymap
$ pacman-g2 -Qo /etc/profile.d/lang.sh
No package owns /etc/profile.d/lang.sh
$ pacman-g2 -Qo /etc/fstab
No package owns /etc/fstab

so you have to copy or forge them by hand.

2. Obtaining a source media

A Frugalware installation media can be obtained from several sources. You can download it freely via HTTP, FTP or rsync. You can also grab it via bittorrent, see Linuxtracker for example.

The following examples explains how you can get the iso images. You have to replace respectively $version$, $arch$ and $media$ to get the wanted iso image.

Via FTP:

$ wget ftp://ftp3.frugalware.org/mirrors/frugalware/pub/frugalware/\
frugalware-$version$-iso/frugalware-$version$-$arch$-$media$.iso

Via HTTP:

$ wget http://www5.frugalware.org/linux/frugalware/pub/frugalware/\
frugalware-$version$-iso/frugalware-$version$-$arch$-$media$.iso

Via rsync:

$ rsync -avP rsync://rsync4.frugalware.org/ftp/pub/linux/distributions/\
frugalware/frugalware-$version$-iso/frugalware-$version$-$arch$-$media$.iso ./

More info and the full list of mirrors can be found at our download page.

3. Using packages from CD/DVD

You have a skeleton system installed from CD/DVD, and you want to use the packages from the media afterwards. There are two methods.

First is the easiest, but needs quite a lot of space (and caution not to use pacman-g2 -Scc ;) ): mount the media and install all the .fpm's found in frugalware-i686 (or frugalware-x86_64) dir to /var/cache/pacman/pkg.

Second is a bit more challenging, but more usable. Add a new line to /etc/pacman-g2/repos/frugalware before the other Server lines:

Server = file:///media/dvd/frugalware-i686

On x86_64, use this one:

Server = file:///media/dvd/frugalware-x86_64

The media should be mounted on /media/dvd, or change the Server lines appropriately.

Also you can only install packages then from the given media, so you have to insert the first CD if you install a package from the first CD and so on. This is something you should pay attention for.

4. The installation process

Important
Do not worry if you misconfigured something! Just press <Cancel> in the next dialog and you will see the menu. Just go back to the given part and you can reconfigure it.
Note
If you install Frugalware in a VMware virtual machine, then don't forget to use an IDE disk for the root partition, otherwise you will not be able to boot the system after the installation!