Installing Fedora 19 (64 bit) in VirtualBox

Requirements

64 bit x86 processor

  • at least 20 GB free space
  • at least 4 GB ram
  • Internet connection

Preparations

  1. Download and install Oracle VM VirtualBox from here:
    https://www.virtualbox.org/wiki/Downloads

    Binaries are under “VirtualBox platform packages” label
    I’ve used version 4.3.0 (but any later version should work too)
  2. Download Fedora 19 Desktop Edition (64 bit) from here:
    http://fedoraproject.org/get-fedora

    Actual link for me:
    http://download.fedoraproject.org/pub/fedora/linux/releases/19/Live/x86_64/Fedora-Live-Desktop-x86_64-19-1.iso

Installation

  1. Start Oracle VM VirtualBox
  2. Click New button
  3. Give some details about the virtual machine
    Name: Fedora 19
    Type: Linux
    Version: Fedora (64 bit)

    Click Next

  4. Set memory size to at least 1500 MB
    Click Next
  5. Select “Create a virtual hard drive now” option
    Click Create
  6. Select “VDI (VirtualBox Disk Image)” option
    Click Next
  7. Select “Dynamically allocated” option
    Click Next
  8. Set the size of the virtual hard drive to at least 16.00 GB
    Click Create
  9. Right click on “Fedora 19” machine -> Settings…
  10. Optional step
    If you have more than 1 CPU cores in your host machine:
    Select System → Processor
    Increase processor count for up to (your cores number – 1).
  11. Select Storage
    Click Empty (under Controller: IDE)
    Click on the disk icon in Attributes frame on the right
    Choose a virtual CD/DVD disk file…
    Select Fedora-Live-Desktop-x86_64-19-1.iso
    Click Open
    Click Controller: SATA
    Check Use Host I/O Cache
    Click OK
  12. Start the virtual machine by double clicking on “Fedora 19” label
  13. Dismiss the warning messages (click on x)
    Click somewhere inside the window
    If you get an information message here:
    Check “Do not show this message again
    Note: After clicking in the window the mouse cursor will be captured and all input goes to the virtual machine. If you want to leave the virtual machine press the Right Ctrl key. However from a point Fedora 19 supports mouse pointer integration where it is not necessary.
  14. Select “Start Fedora Live
    Press Enter
    (or simply wait for Fedora Live to autostart)
  15. In “Welcome to Fedora” window click “Install to Hard Drive
  16. Select English (United States)
    Click Continue
  17. Optional steps
    To change the time zone click “Change Date & Time
    Select the region and the city
    Click Done
    To change the keyboard layout click “Keyboard

    Click on the “+” sign and select your layout
    Click Add
    Change the order of layouts by clicking on your layout and the “^” sign

    Click Done
    Warning: This layout will only work on your installed system. That means that if you are entering a password in the installer it will be written according to the us layout.
  18. Click “Installation destination
    Click on “ATA VBOX HARDDISK” under Local Standard Disks
    Click Done
  19. Select “Automatically configure my Fedora installation to the disk(s) I selected and return me to the main menu.
    Click Continue
  20. Click “Begin Installation
  21. During installation you should set root password and create a user
    Click “ROOT PASSWORD
    Enter a Root Password and confirm it
    Click Done (or if you’ve given a weak password click it twice)
    Click “USER CREATION
    Check “Make this user administrator
    Enter user data
    Click Done (or if you’ve given a weak password click it twice)
  22. After installation has finished click Quit
  23. Click “Live System User
    Click “Power Off
    Click “Power Off
  24. Right click on “Fedora 19” machine → Settings
    Choose Storage
    Click on “Fedora-Live-Desktop-..” (under Controller: IDE)
    Click on the disk icon in Attributes frame on the right
    Remove disk from virtual drive
    Click OK

Update the system

  1. Start the virtual machine by double clicking on “Fedora 19” machine
    Dismiss the message about “Auto capture keyboard”.
    This is the boot menu, Fedora will start automatically.
    Note: If you press a key here you interrupt the boot of the default configuration. In this case choose the highest option (which is right in most cases) and press Enter.
  2. Click on your user or press Enter
    Enter your password
    Click “Sign In” or press Enter
  3. In Welcome screen choose English (United States)
    Click Next
  4. Select your keyboard layout
    Click Next
    Click Next
    Click “Start using GNOME 3
  5. Watch the sort tutorial(s)
  6. Update your system manually by doing the following:
    Click Activities
    Type “update” in the search box
    Click “Software Update
    Click “Install Updates
    Note:
    At this point you may encounter a kernel bug:
    WARNING: at net/sched/sch_generic.c:255 dev_watchdog+0x248/0x260()
    In this case continue the update process from a terminal:
    Click Activities
    Type “terminal” in the search box
    Click “Terminal

    $ sudo yum -y update

    Press Enter
    Enter your password

  7. If “A restart is required.” message pops up than click Close
  8. Close every window
  9. Click on the user’s name (in the upper right side of the screen)
    Click “Power Off
    Click “Restart
  10. Login as before
  11. Check updates as before
  12. All software is up to date” message should appear
    Note: If more updates are available than apply them

Install Guest Additions

  1. Open a terminal (by clicking Activities, typing “terminal” and press Enter)
  2. Install kernel development tools:
     $ sudo yum install kernel-devel gcc

    Enter your password
    Type “y” and Enter

  3. Install Guest Additions:
    Click Devices in VirtualBox menu
    Click Install Guest Additions…
  4. Click Run
  5. Type your password and click Authenticate
  6. After finish press Enter
  7. Set clipboard sharing between the host and the virtual machine
    Click Devices menu in the VirtualBox window
    Check Shared Clipboard → Bidirectional
  8. Power off the virtual machine:
    Click on the user’s name (in the upper right side of the screen)
    Click “Power Off
    Click “Power Off

Congratulation! You have just installed Fedora 19 in VirtualBox

Make a snapshot (optional)

  1. Make a snapshot of this state to be able to restore it later
    Click “Snapshots” in the Oracle VM VirtualBox Manager window
    Click the “Take Snapshot” button that looks like a camera
  2. Type “Original” as Snapshot Name
    Click OK
    Note: Now you can restore any time the original state by clicking on “Original” and the “Restore snapshot” button (a camera with an arrow)

Leave a Reply

Your email address will not be published. Required fields are marked *