In this chapter we will get used to the LinuxPPC-2000 installation environment, partition the harddisk(s) and install the operating system packages.
So, now we're actually getting somewhere! Before doing anything, snoop a little around in the installation program. Read the Instructions, and read the credits and about items on the Options Menu. Of course, there will be some talking about PowerMacs here too. This does not apply to us.
It's quite useful to know how the machine reacts when we do something. Therefore: On the Option Menu select Run xinstaller with output window. This will bring up the installer again, but with a white message window in the background. Note that you can move the windows on the screen around by clicking and dragging on the blue top or right borders. To bring a window to the front, try clicking on it.
The next thing to do is to partition the hard disk(s). Press the Partition drives button. Look at the white ouput screen. Oh no! A Horrible, Horrible error has happened! WHAT ARE WE GOING TO DO??? Okay, no panic, we are going to sort this out in a second.
Press the right mouse button on the background on the screen. What a cute little menu! Notice that you can change the colors of the screen with the Styles option. This is the first installation program I've ever seen with changeable colors :-) !! Select xterm on the Blackbox (background) menu. This will bring up a command line terminal window which we will use to start some programs that can do what the installation program couldn't.
In the xterm window, issue the command
fdisk /dev/sda |
You could of course use fdisk to make the new partitions too, but I prefer a more user friendly solution. At the shell prompt, type
cfdisk /dev/sda |
You should have at least these partitions:
A boot partition. It should be the first primary partition on one of the SCSI drives, preferably the first (this naming the partition to sda1). It must have type PReP boot (type 41), and must be large enough to hold a compressed Linux kernel image (zImage). Something like 5-10MB should do.
A swap partition. It can be either a primary or a logical partition on any drive. Any size will do, but a guide may be twice the size of you physical RAM. I have 64MB RAM, so I have a swap partition on 128MB. Remember: This is only a guide.
A system root partition. It can be either a primary or a logical partition, and it should be big enough to hold the main parts of the installation. You should write down the device (disk and partition number, like sda5, for example) for your system's root partition. You will need it later. The easy way is just to use the rest of the harddisk space for this. If you have several harddisks, big drives or special requirements on safety and other things, you should consider to make own partitions for /home, /usr, /usr/local, and other parts of the system. Details on this is outside the scope of this document, but there is a good discussion on this in the Linux Partition HOWTO.
exit |
The next step is to select what partitions should be used where. Press the Select Partitions button. You'll get a list over all partitions on your hard disks. Edit mount points and select format on the partitions that you want to erase. You should NOT mount the PReP boot partition (probably sda1) nor any swap partition(s).
Press the Format and Mount button. The installation program will format and mount the partitions. Look for exciting error messages in the output window. If you have /usr on a separate partition, and the root partition is quite small because of that, you'll get an error message in a new window. Just ignore it, and close that window.
A new window will pop up. Select packages after your own will. What packages should I select, you say. Oh, please! I have no idea how you're going to use the machine :-). Press Install. Congratulations. After some minutes (not to say hours, it feels like that, doesn't it?) the install will be complete.
After your selected packages have been installed, you will be prompted for a root password. Select a good password, enter it (twice) and press the Set password button. Exit the installation program by pressing the Reboot button. The system will reboot.