Here??™s an example:
# nano -w /etc/fstab
Here??™s what /etc/fstab might look like (given the partitions created earlier 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 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
24. Build a kernel. Either install a prebuilt kernel or build one yourself. To build one, you
need a kernel sources package (gentoo-sources is recommended). Type the emerge command
as follows to get the gentoo-sources package:
# emerge gentoo-sources
Next, use the following command to get the genkernel package and configure a kernel
using menuconfig:
# emerge genkernel
# genkernel --menuconfig all
NOTE
397
Running Gentoo Linux 13
After you have made any changes you want to your kernel configuration, select Exit, and
then choose Yes to save it. At this point, genkernel makes your new kernel. This takes
a while.
After genkernel is complete, note the names of the kernel and boot loader. (Type ls
/boot to see the names.)
25. Add coldplug. Type the following to enable coldplug (so hardware outside of that which
is detected during initialization is detected and configured automatically):
# emerge coldplug
# rc-update add coldplug boot
26.
Pages:
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800