Fedora VBox Installation
Fedora VBox Installation
Fedora VBox Installation
Note: If you would like to install the 64-bit version of Fedora, open your browser to
http://archive.fedoraproject.org/pub/fedora/linux/releases/14/Fedora/x86_64/iso and click on Fedora-14-x86_64DVD.iso to download the Fedora installation image.
If the Microsoft utility shows virtualization capability, but there is no option to enable in CMOS, you may need to
download and install a CMOS BIOS upgrade.
Click Next and select the create new hard disk option.
Note that the recommended size is 8.00 GB. This will be a good size for our Fedora 14 virtual hard disk. Click
Next to continue the virtual hard disk creation process.
In the next dialog, click create to start the virtual drive creation.
It may take a little while to
create the virtual drive. A
progress bar will tell the
estimate time remaining to
complete the drive creation.
In the Select Installation Media dialog, select the DVDROM drive or the location of the Fedora-14 iso image file.
The next dialog will ask if you want to perform a media test of
your virtual DVD. Press <Tab> to highlight Skip and press
<Enter>.
After skipping the media test, a graphic user interface (GUI) will
open to continue the installation.
On the next screen, select basic storage devices and click Next.
8
10
Use the default settings for graphical desktop, installation repo, and customize later. Click Next to begin
installing the Fedora packages.
A progress bar will indicate the number of packages installed and the total number of packages to be installed.
11
On the
click the
On the next screen, set the current date and time and click the Forward button.
12
In the terminal window, enter the su root command and enter the root password.
Now we need to install the nano text editor so we can edit the configuration files to allow root logins. Note: If
nano is already installed, the message will be Nothing to Do.
Open the file /etc/pam.d/gdm in nano as shown below. Insert a # at the beginning of the line that ends with root
quiet. This will comment out this script line so it will not execute. Press <Ctrl>O then <Enter> to save the file
changes. Press <Ctrl>X to exit.
13
Open the file /etc/pam.d/gdm-password in nano as shown below. Insert a # at the beginning of the line that ends
with root quiet. This will comment out this script line so it will not execute. Press <Ctrl>O then <Enter> to save
the file changes. Press <Ctrl>X to exit.
Select log out from the system menu. Log back in as the root user using your new root password.
14
Now, we need to populate our launch panel with applications that we will frequently use.
Under Accessories, right-click on gedit Text
Editor and select add this laucher to panel.
When you are finished, your panel should look similar to this.
Shutdown Fedora by executing the init 0 command from a terminal window.
15
16
Open a terminal window in Fedora and execute the command shown below. These packages will allow the
VirtualBox guest additions program to make changes to the Fedora kernel, and then recompile the kernel to
support the guest additions.
17
The virtual CD/DVD ROM drive will open with the VBOXADDITIONS installation programs. Click OK in the
dialog that pops up.
In the
next
dialog
that
appears,
click the
run button
to begin
the
Before we can test the guest additions, we need to restart the hal (hardware allocation) service, as shown
below.
18
Now for
the test:
Highlight
the text in the terminal window using mouse click and drag. Press <Ctrl><Shift>C to put this terminal text into
the clipboard.
Press
<Ctrl><Alt> to release control back to the Windows host. Open NotePad and paste the clipboard text from
Fedora into NotePad using <Ctrl>V or past from the edit menu. You should see the copied text from the Fedora
terminal in NotePad, as shown below.
19
Once these new packages are installed, shutdown the Fedora virtual machine with the command: init 0.
Clone the Fedora14-1 Virtual Machine
Now we are ready to create a clone of the updated Fedora14-1 virtual machine. Right-click on the Fedora14-1
VM icon in VirtualBox and select clone.
In the next dialog, name the new virtual machine Fedora14-2. Uncheck reinitialize the MAC address of all
network cards. Click Next.
20
21
Open a terminal window, and set a new host name by editing the /etc/sysconfig/network file.
Open both VMs, check their IP addresses, and execute mutual pings.
22