Page tree
Skip to end of metadata
Go to start of metadata

Gather what you need

  1. Install VirtualBox for your system:
  2. Download the Fedora 23 Workstation ISO to use later

Creating the VM Image

  1. Open Virtualbox and press the blue "New" button to start making your very own image!
  2. In the "Name" box, name it something unique.
  3. In the Type Dropdown, select Linux.
  4. In the "Version" select "Fedora (64-bit)" and hit next.
  5. Adjust the memory to something usable, hit next.
  6. Leave it on "Create a virtual disk now", hit create.
  7. Leave it on "VDI", hit next.
  8. Leave it on "Dynamically allocated", hit next.
  9. Adjust the File size to something more like 25gb if you have the space, hit finish. You should see your new box powered off in the left panel.

Configuring the Image

  1. Right-Click the box in the list and click settings.
  2. Go to System->Processor tab. Add a CPU or two.
  3. Under Storage, click on the "Empty" CD Icon. 
  4. Click on the CD icon to the right of the Optical drive. We're going to add the ISO image you downloaded from the Fedora download, so select the option "Choose Optical Disk File" then navigate to the ISO you downloaded in the "Gather what you need" step 2.
  5. Go to Network and change NAT to Bridged adapter. Sometimes this doesn't work for me though...Under advanced settings you should see a mac address. I keep the first mac address I created so I can reuse it for all my VM's. Less set up in the long run for connecting to the local internet.
  6. Hit ok to get out of the settings.

Installing Fedora 23 with the Live Image

  1. Hit start. It should load Fedora 23 Live. Click on "Install to Hard Drive".
  2. Select Language, Next. 
  3. Click the Installation Destination icon.
  4. Select the only local standard disk you see and hit "Done" (which is hiding at the top, I know it's silly)
  5. Click "Begin Installation".
  6. While waiting for the install to finish, create your root password and local user. Check the "Make this user administrator".
  7. When the install is finished, click "Quit".
  8. Shut down the Live Image.
  9. Go back to the Storage settings and remove the live CD image by clicking on the CD icon to the right of Optical Drive and select "Remove Disk from Virtual Drive".
  10. At this point I would recommend taking a snapshot of the current Image state so that you can roll back to a fresh install if you need to. Click on the VM listed on the left and you'll see a bunch of Camera icons (Not the snapshots button on the right, that just lists the snapshots you have already taken) Click the one that if you hover over it, the tooltip says:  "Take a snapshot of the current virtual image state". 

Further Fedora 23 Customization (Make it usable)

  1. Start the image up.
  2. Go through the prompts how you will.
  3. Once you're in the Desktop, go up to the terminal. I mostly use the (start button + typing what program name) so Start -> type "terminal" and hit enter to open it.
  4. In the terminal, install one of the libraries required for install the VBox Guest Additions.

    sudo dnf install gcc
  5. The VirtualBox bar above your running VM and select Devices->Insert Guest Additions CD Image. Click Run and enter your password. Hopefully the output you get won't contain errors. If it gives you an error saying you need to install a specific version of kernel-devel, copy that entire version name which probably looks like this: kernel-devel-4.3.3-301.fc23.x86_64
    Then install it like so:

    sudo dnf install kernel-devel-4.3.3-303.fc23.x86_64 

    If you have troubles with this step, try an update restart.

  6. Run the vbox additions again by going into the file explorer (search for "files") and navigating to the Mounted VBOXADDITIONS CD. There will be a button in the top right that says "Run Software". It should install without error now.
  7. In the VirtualBox Menu above your VM click on Devices->Shared Clipboard->Bi-directional and Devices->Drag and Drop->Bi-directional.
  8. Restart your image for those changes to take effect, but make sure you select install updates on the restart.
  9. Once you're back in, open up the terminal again and update your software. Even though this is a fresh image straight from Fedora, the update is going to take a while.

    sudo dnf update 
  10. Restart again if you feel like it.
  11. All done! Continue on with what you want to do with your shiny new VM. I suggest taking another snapshot for good measure.
  • No labels

1 Comment

  1. I'd recommend running dnf update before installing gcc and the VirtualBox Guest Additions. The Guest Additions wouldn't compile on VirtualBox in OS X, and gave me an obscure error message. Running updates and doing a reboot cleared it right up.