379Chapter 13Running Gentoo Linux21.Install Gentoo: # emerge systemIt will take a long time for the emerge systemcommand to complete. If it failsbefore it is finished, check that the settings in your make.conffile are correct. 22.Set the time zone: # ln -sf /usr/share/zoneinfo/path/etc/localtimeYou need to substitute pathwith the path to the file that represents the timezone your computer is in. For example, the entire path for Central time in theUnited States would be /usr/share/zoneinfo/US/Central. 23.Create file system table.Add the file systems you want to mount automati- cally at boot time to your /etc/fstabfile. Here s an example: # nano -w /etc/fstabHere s what the /etc/fstabmight look like (given the partitions created ear- lier in this example procedure): # /dev/hda1 /boot ext2 noauto,noatime 1 2/dev/hda2 none swap sw 0 0/dev/hda3 / reiserfs noatime 0 1/dev/cdroms/cdrom0 /mnt/cdrom auto noauto,user 0 0none /proc proc defaults 0 0none /dev/shm tmpfs defaults 0 024.Build kernel. Either install a prebuilt kernel or build one yourself. To buildone, you need a kernel sources package (gentoo-sources is recommended). Type the emergecommand as follows to get the gentoo-sources package: # emerge gentoo-sourcesNext, use the following command to get the genkernel package and configurea kernel using menuconfig: # emerge genkernel#genkernel –menuconfig allAfter you have made any changes you want to your kernel configuration, select Exit, and then choose Yes to save it. At this point, genkernelmakesyour new kernel. This will take awhile. Configuring your own kernel can be quite tricky at first. If you run into problems, refer to the Gentoo Linux Handbook (www.gentoo.org/doc/en/handbook/ handbook-x86.xml). Select Section 7, Configuring the Kernel, for further information. NoteNote20_
This entry was posted
on Tuesday, February 26th, 2008 at 7:02 pm and is filed under PHP5.
You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.