Prev | Current Page 784 | Next

Christopher Negus

"Linux Bible, 2008 Edition: Boot up to Ubuntu, Fedora, KNOPPIX, Debian, openSUSE, and 11 Other Distributions"


CAUTION
TIP
394
Choosing and Installing a Linux Distribution Part III
8. Make file systems. To create the appropriate file systems on your disk partitions, use the
mk2fs and mkswap commands. For example, with an IDE hard drive that has the first
partition as the boot partition (/dev/hda1), the second as swap (/dev/hda2), and the
third as the root (/) partition (/dev/hda3), you can type the following:
# mke2fs /dev/hda1
# mkswap /dev/hda2
# mkreiserfs /dev/hda3
9. Turn on swap. Use the swapon command to turn on your swap partition. For our example
(with hda2 being the swap partition), type:
# swapon /dev/hda2
10. Mount the root (/) partition. You need to mount the root (/) partition temporarily to begin
installing Gentoo to it. In this example (with the root file system on /dev/hda3), type:
# mount /dev/hda3 /mnt/gentoo
11. Mount the /boot partition. Mount the boot partition so you can install boot files to that
partition:
# mkdir /mnt/gentoo/boot
# mount /dev/hda1 /mnt/gentoo/boot
12. Get the stage1 tarball. Assuming that you have the minimal Gentoo installation CD, you
need to download the stage1 tarball. Find a mirror site near you (as described earlier).
Then make a directory on your hard disk to copy it to and download the tarball using a
tool such as wget.


Pages:
772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796