玄箱 Kuro Box Gentoo Kuro Box Gentoo
Help for users running Gentoo on the Kuro Box.
Home  |  About the Site  |  Contact Us

 

 

Installing Gentoo Beta 1 on the Kuro Box
<<  Return to table of contents


5. Installation of the base system

5. a. Mounting the partitions

Now, it's time to start writing to the disk. First, mount your root partition:

Mount the root partition
# mkdir /gentoo
# mount -t ext3 /dev/hda1 /gentoo
Notes:

We need to also mount the partition where our data will be stored:

Mount the root partition
# mkdir /gentoo/datafiles
# mount -t ext3 /dev/hda3 /gentoo/datafiles
Notes:

5. b. Getting the files to the hard disk

OK, now that the hard disk partitions are mounted, we can start copying some files over to them. We will upload the three remaining archives to the /gentoo directory via FTP:

THIS SECTION IS UNFINISHED

Now, upload the different archives to the root of your system, from your FTP client:
ncftp /tmp > cd /gentoo
ncftp /gentoo > put system-20041218.tar.bz2
system-20041218.tar.bz2: 95,57 MB 3,42 MB/s
ncftp /gentoo > put portage-snapshot-20041218.tar.bz2
portage-snapshot-20041218.tar.bz2: 14,67 MB 2,48 MB/s
ncftp /gentoo > put portage-overlay-20041221.tar.bz2
portage-overlay-20041221.tar.bz2: 46,52 kB 601,24 kB/s

5. c. Installing into the /gentoo directory

Back to the Telnet client, install the base system in the /gentoo directory:

Untar the files
# cd /gentoo
# tar xvjf system-20041218.tar.bz2
./
./tmp/
./tmp/.keep
[...]
./sys/

./sys/.keep
# ls
bin dev home lib mnt proc sbin tmp var
boot etc install lost+found opt root sys usr
Notes: This is going to to a while.

5. d. Chrooting in the Gentoo system

We are almost ready to chroot into the Gentoo system. But first, mount the /proc pseudo filesystem:

Mount the /proc pseudo filesystem
# mount -t proc none /gentoo/proc
Notes:

Also, it may be a good idea to configure the name resolution of the Gentoo system so that we can connect to internet from it:

Configure name resolution
# cp -L /etc/resolv.conf /gentoo/etc/
Notes:

Ok, now we can chroot:

Entering the Gentoo OS
# chroot /gentoo /bin/bash
# source /etc/profile
KURO-BOX-EM / # 
Notes:

This new prompt (which should be in colors if your telnet client suppport it) is the prompt of the root user on the Gentoo system.


<<  Return to table of contents