Installing Fedora Linux 18





Last Updated on 10/20/2013 by dboth

This document takes you through the process of preparing for and installing Fedora Linux, releases 18. Installation of Fedora 15 through 17 is covered in Installing Fedora Linux 15 through 17.

A minimal system does not have any type of graphical interface and is an excellent platform for use as a firewall, router, or any type of server such as a web, FTP or email server, but we want a bit more than that. This document will install a basic system with the KDE Desktop. Any additional functionality required later can be added as it is needed.

The partitioning for this system will include a single standard EXT4 partition for /boot which cannot be part of a Logical Volume. The rest of the hard drive will be used as a Physical Volume (PV) on which Logical Volumes will be created for the rest of the filesystems. Not all of the PV will be used so that free space can be used later.

Note: This document depicts a sample installation and is intended for learning purposes only and is not intended for production use.

You may use this document to develop your own installation procedures that meet the needs of your environment.

 

1. Insert the Fedora Linux installation DVD provided by the instructor into the DVD drive of your computer.

2. Reboot or turn on the computer.

3. When the Fedora 18 installation menu is displayed, use the Up arrow key to select Install Fedora and press Enter.  You could run the media test by just pressing the Enter key but that should not be necessary.

 

Fedora 18 Initial Text Installation Menu

Fedora 18 Initial Text Installation Menu

4. On the Fedora 18 installation Welcome screen, below, English is already selected as the installation language, but you should check the box labeled, Set keyboard to default layout for selected language.  Then click the Continue button.

English is already set as the installation language. Click on the checkbox to set the keyboard layout.

English is already set as the installation language. Click on the checkbox to set the keyboard layout.

5. The main installation menu, titled INSTALLATION SUMMARY is displayed as shown below. This menu is the central hub from which you can select sub-menus to customize the installation.

Select the sub-menus from the Installation Summary menu to customize the installation.

Select the sub-menus from the Installation Summary menu to customize the installation.

Note the yellow banner across the bottom of the menu and the yellow warning icon next to the Installation destination sub-menu. You will not be able to proceed with the installation until all warnings are eliminated.

Most of the sub-menus do not need to be selected for a vanilla installation, for this lab project, we will take some time to look at each. There are a few things you will need to change for this lab project.

6. Look at the Date & Time sub-menu. You can click on the desired time zone on the map, or you can select the region and city from the drop-down selection fields.

Select the desired tine zone from the map if it is different from the one selected by default.

Select the desired tine zone from the map if it is different from the one selected by default.

When finished on this menu, press the Done button in the upper left corner.

7. The Installation Source sub-menu allows you to choose between the install media from which the system was booted, an ISO file on the hard drive if one is available, or a mirrored repository on the Internet. The most common is the default, from the auto-detected installation media that you booted from. It is not necessary to change anything on this sub-menu.

8. You will need to make some selections on the Software Selection sub-menu. Select the KDE Plasma Workspace.

Select the KDE Desktop from the Software Selection sub-menu.

Select the KDE Desktop from the Software Selection sub-menu.

For this sample installation, which is not about applications, it is not necessary to select any of the add-on software on the right side of the menu, but in a real-world environment you may wish to install LibréOffice and other applications.

When finished with this sub-menu, click on the Done button.

9. The Installation Destination sub-menu is the one that will always need some attention. Select this sub-menu and you will see a list of available disks on which you can install Fedora. For this installation only one hard drive is installed so it should already be selected. If other hard drives were available they would be pictured on this page and be available for you to select.

The Fedora 18 Installation Destination sub-menu. Select the hard disk drives you want for the installation.

The Fedora 18 Installation Destination sub-menu. Select the hard disk drives you want for the installation.

Note the checkbox for encrypting the data on the hard drive but do not select it. Press the Continue button in the lower right corner of the screen to configure the partitions.

10. At this point you are presented with the screen below, which allows you to select either the default partitioning scheme or manual customization. For many users, if enough free space is available, the default option is fine.

Due to the fact that the hard disk drives on many computers have been used before there may be little or no available space, or a large portion of the space has been previously partitioned. So in order to delete all existing partitions you will have to reclaim all of the used space from the disk.

Click on the check box to perform manual disk partitioning.

Click on the check box to perform manual disk partitioning.

For this lab project, check the box, I don’t need help; let me customize disk partitioning. Then click on the Reclaim space button.

11. The Manual partitioning menu displays existing partitions and allows you to delete them.

The Illustration below, shows the existing disk partitions in the expandable list entitled, Fedora Linux 18 for x86_64. Click on the [+] sign to expand this list.

Click on the [+] sign to open the display of existing partitions.

Click on the [+] sign to open the display of existing partitions.

Click on each partition in the expanded list of partitions and click the Minus () sign on the toolbar to delete each existing partition.

12. After deleting the existing partitions click on the Plus sign (+) to create new partitions. First create a /boot partition of 500MB in size as an EXT3 partition. The /boot partition cannot be a logical volume; it must be an EXT3 or EXT4 file system on a standard Linux partition of type 83.

Create the 500MB /boot partition.

Create the 500MB /boot partition.

Click on the Add mount point button to add the partition to the list. No partitions are actually created until you click on the Finish Partitioning button, but do not do that yet.

13. Then click on [+] Customize to expand the menu options. Notice that the device type is a standard partition and not a logical volume. This is normal and correct for the /boot partition because the /boot partition cannot be a logical volume.

Open the advanced options by clicking on [+] Customize and change the file system to EXT3.

Open the advanced options by clicking on [+] Customize and change the file system to EXT3.

After changing the File System to EXT3, click on the Apply Changes button to complete configuration of the /boot partition.

14. Now create the / (root) partition with a 15GB size as shown above.

Create the / (root) partition with a size of 15GB.

Create the / (root) partition with a size of 15GB.

15. Add the “root” label and be sure to make this an EXT3 filesystem instead of EXT4. Click on Apply Changes to complete configuration of the / (root) partition.

 

Be sure to use the Customization options to make the / (root) partition an EXT3 filesystem.

Be sure to use the Customization options to make the / (root) partition an EXT3 filesystem.

16. Now create the rest of the required Logical Volumes using the table below using the same steps you did to create the / (root) partition. This table shows all of the partitions and Logical Volumes you should have when you are completed including the /boot partition which was previously created, as well as the Physical Volume (PV) and Volume Group (VG). Note that neither the Physical Volume nor the Volume Group is shown by the manual partitioning menu in the table of partitions on the left.The automatically generated Volume Group name is shown on the drop-down on the right side.

Each new mount point you create will appear in the “New Fedora 18 Installation” partition list.

 

Mount Point

LVM

Volume Name

Filesystem Type

Size

/boot

No

EXT3

500M

PV

Physical Volume

20GB

VG

Volume Group

/

Yes

root

EXT3

15GB

/home

Yes

home

EXT3

2GB

/tmp

Yes

tmp

EXT3

2GB

/var

Yes

var

EXT3

2GB

NA

Yes

Swap

Swap

2GB

Table 1: Filesystem and Volume mount points and sizes. Note that, with Fedora 18, the Volume Group is sized automatically by the sizes of the defined Logical Volumes. Everything else is left as free space in the Physical Volumes.

This uses about 15.5 GB of space. I have installed a full version of Fedora on a NetBook computer with the KDE Desktop along with LibréOffice, Thunderbird, Firefox and other application programs in about 8GB of disk space.

Note that the Swap partition does not have a mount point and is a special swap filesystem type.

17. When you have completed configuring the partitions, click on the Finish Partitioning button. The process of partitioning will take place in the background while you continue making additional customization for the installation.

18. There is no need to make any changes in the Keyboard sub-menu unless you are setting up a host for a non-English environment. You can take a look at this sub-menu if you like.

19. The network to which your host is attached probably has a DHCP server and, for now, you do not need to make any changes to the networking configuration. However you should look at this sub-menu to see what it looks like and to verify that the network configuration is as you expect it to be.

Notice that the Hostname, IP Address, Subnet Mask, Default Route and Name Servers have all been provided by the DHCP server. If there is no DHCP server, you may have to use static addressing and provide valid gateway and DNS server entries.

Verify the network configuration on this page. If it were necessary to perform a manual configuration, you would click on the Configure button to open the Network Configuration menu.

Verify the network configuration on this page. If it were necessary to perform a manual configuration, you would click on the Configure button to open the Network Configuration menu.

The information in the above illustration is for the VM used to create this project.

When you have finished verifying that the network configuration is correct, click on the Done button to return to the main installation menu. Do not change anything on this menu!

20. On the main menu page, Installation Summary, click on the Begin Installation button to begin the actual installation. At this time you will need to set the root password. Use the password lockout for your root password.

21. When the installation has completed, remove the installation medium and click the Reboot button.