Linux CIS Lab Install

=Introduction= In the CIS lab, we need to be able to boot to either Windows XP or the Fedora OS you are planning to install. This can be done by CAREFULLY following the instructions listed on this wiki.

=Installation Procedure=

Pre-install Note
Observe and watch the actions of the GRUB boot menu that currently displays prior to loading of Windows XP. After installation of Fedora, we will reconfigure it to back this state by using some basic Linux commands and utilities, a process that should get you familiar working with a Linux OS.

Download Fedora Live
Download Fedora 16 Live CD image file at http://download.fedoraproject.org/pub/fedora/linux/releases/16/Live/i686/Fedora-16-i686-Live-Desktop.iso.

Burn to CD/DVD
Next, burn the image file to a blank CD or DVD using media burning software. For more detailed instructions, see: http://docs.fedoraproject.org/en-US/Fedora/16/html/Installation_Quick_Start_Guide/Burn_the_image_file_to_CD.html

Boot to CD/DVD
Shortly after turning on a laptop, pressing the F12 key will allow the installer the choice to boot to different boot devices. Select CD/DVD/CD-RW Drive once you see the list of boot devices. The Fedora Live CD/DVD boots, and prompts you to start it, which you should do. Once it has been loaded, we want to permanently install Fedora to the hard drive by clicking activities and choosing the install to hard drive icon.

Setting Up Partitioning
Use screenshots located at http://www.linuxbsdos.com/2011/06/27/how-to-dual-boot-fedora-15-and-windows-7/ to supplement this wiki section.

Fedora Installer
Select U.S. English as the appropriate keyboard for the system. Click, or navigate to and press enter on, next.

Select Basic Storage Devices when asked "What type of devices will your installation involve?" Hit next.

Insert picture - fed-device-type.png

We name this computer with by specifying the default hostname: localhost.localdomain. Press next.

insert fed-hostname.png

The nearest city we select is New York (Eastern Time). Click next.

insert fed-timezone.png

Designate "password" as the Root Password. Confirm it. Press next. A weak password notice displays; Opt to use it anyway.

insert fed-root-password.png

We are asked "which installation would you like?" Select Replace Existing Linux System(s). IMPORTANT: Use the "Tab" key to highlight Review and modify partitioning layout in the bottom left of the Fedora Installer window. . Press "Spacebar" to check off this option. Press Next.

insert fedora-installer-installation.png

The Please Select A Device installer window displays. This is what your layout should look like:

insert fed-select-a-device.png.

Edit the lv_root logical volume. You have to use the tab key to navigate to the edit button.

insert fed-lvroot.png

Change the size to 5000 MB.

Edit the lv_home logical volume. Change the size to 10000 MB.

insert fed-lvhome.png

The partitioning layout should now look like this:

insert fed-select-a-device-after.png

Click Next. Write the changes to Disk.

Installing GRUB
Install boot loader on /dev/sda. Confirm this option is checked. Select Next.

insert fed-boot-loader-MBR.png

Fedora now installs. This will take approximately 5-10 minutes.

note to self: fedora install pictures are in liveuser on filesystem.

Finalize the installation. On the date and time screen, put a check box to "Synchronize date and time over the network. Select any of the servers.

For Create User, specify:

Full Name: UNH Manchester Username: cis520 (check off Add to Administrators group Password: cis520 Click Forward.

Do not send a profile. Click Finish.

We opt to install GRUB in the MBR, the master boot record.

=Post-Installation=

Boot Menu Configuration
open a terminal by selecting 'Activities' -> 'Applications' -> 'Terminal'.

change directories to /etc/grub.d with the 'cd' commmand. 'cd' changes the directory.

[unhm@localhost ~]$cd /etc/grub.d

copy the 40_custom file to 06_windowsxp with the 'cp' command:

[unhm@localhost ~]$sudo cp 40_custom 06_windowsxp

Enter superuser password.

Navigate to the /etc/grub.d directory


 * 1) unhm /etc/grub.d

copy the 40_custom file to 06_windowsxp with the 'cp' command:
 * 1) unhm cp 40_custom 06_windowsxp

grub2-mkconfig > /boot/grub2/grub.cfg command to update grub.