Related article: How to install Linux systems in SPARC (1)
Next, is to format the partition
MKE2FS/DEV/SDA1//Format the first partition (boot partition) into ext2 format, which is also the Linux default format
Mke2fs-j/DEV/SDA4//format the fourth partition (root partition) in ext3 format, remember that because of SPARC's particularity, our Sda3 is whole disk, so do not habitually think of only 3 partitions, so sda3 to the format.
Create an interchange partition
Mkswap/dev/sda2
You can now hook up the swap partition using the
Swapon/dev/sda2
Cumbersome settings are basically completed, then please play the spirit to meet the formal commencement of installation work
The first is to mount the/partition and/boot partitions on our new system.
Mount–t Ext3/dev/sda4/mnt/gentoo
Create a boot directory above it to easily suspend the first partition (/boot partition)
Mkdir/mnt/gentoo/boot
Then hang up the boot section of the new system.
Mount/dev/sda1/mnt/gentoo
When you hang up, you start installing the stage package.
Starting with the 2005.0 version of Gentoo, stage package from the original 3 to 2, only Stage1 and Stage3, the difference between 2, Stage1 is a minimized toolkit, installed it can maximize the customization of the system settings, and in the compilation can be maximum for their own machine Optimization, the disadvantage is time-consuming, generally need about 1 weeks time to set up, and Stage3 is a precompiled some software packages available, of course, in order to be universal, in the compilation of parameters such as relatively conservative, the degree of optimization is not enough. Here, I choose Stage3, because the hard drive is too small, and there is no need to toss too much on an old machine like ultra1. It is worth mentioning that, before installing, remember to use the date command to calibrate the time.
Cd/mnt/gentoo #记得这个目录么? is the root directory of the new system in the future.
tar–vxjpf/mnt/cdrom/stages/stage3-sparc64-2005.0.tar.bz2
Here will be a considerable number of programs/settings file CP to the corresponding location, time will be spent longer, so remote installation you can find something to do first.
Well, copy finished stage3 content, then is to CP Portage Package, Portage is Gentoo package management mechanism, similar redhat RPM,FREEBSD way, it's convenient, and so you can experience.
Tar–vxjf/mnt/cdrom/snapshots/portage-20050303.tar.bz2–c/mnt/gentoo/usr
Here also very long, so the front recommended you remote installation, you can find something to do first busy, in the completion of this step, the sky edge with df command to view a bit,/mnt/gentoo space to 49%
Then the source file is all CP past, because the Gentoo just-in-time compilation mechanism, so when compiling other software packages, you may use these code
Mkdir/mnt/gentoo/usr/portage/distfiles
cp/mnt/cdrom/distfiles/*/mnt/gentoo/usr/portage/distfiles/
This step is also quite a long time, when finished, DF results in the/mnt/gentoo 65%