Technology VIRTUALBOX

Install Fedora 29 on VirtualBox with Working Guest Additions and Gnome Shell Inside Virtual Machine

Download 64 Bit

Do you need to have the brand new Linux OS on your Home windows 10 pc with out switching between Working Methods? Virtualization is likely one of the greatest choices for that. On this publish, let me present easy methods to set up the newest Fedora 29 on Home windows 10 (additionally relevant for Home windows eight.1 and Home windows 7) utilizing Oracle VirtualBox. Although VMware workstation additionally helps Linux visitor Working Methods as VM, I really feel VirtualBox is the preferable choice since it’s free and have many capabilities.

As VirtualBox retains updating and supporting the newest Linux variations, putting in the Linux OS like Fedora 29 has develop into straightforward these days. I’m updating this submit which was initially written for Fedora 16 again within the yr 2011. You can find the identical previous content material and screenshots in some locations, however this newest publish is especially focusing Fedora 29 on VirtualBox with Home windows 10 host pc. The next step-by-step information exhibits how one can set up Fedora 29 on the native digital arduous disk (as an alternative of operating it as stay), visitor additions and get working Gnome-shell inside VM.

Find out how to Install Fedora 29 on VirtualBox with Guest Additions

1)  Obtain the newest Fedora 29 model from the official website right here. I hope most of you’d have 64-bit of hardware since it’s Home windows 10 host hardware. There are a number of downloads out there at this web page which can confuse you. Our important intention is right here to put in Fedora completely contained in the Virtual machine, meaning we aren’t going to switch or set up something in our host Working System Home windows 10. Therefore, obtain the reside picture of the suitable model. Right here we choose the 64-bit model.

2) Create a brand new digital machine in Oracle VirtualBox. Choose the right OS sort and model. You’ll be able to set RAM as you want based mostly on the host pc RAM measurement, create a brand new disk and set minimal 20GB.

Create New VM

three) To get the higher efficiency contained in the VM, modify few hardware parameters earlier than energy on the digital machine.

Add extra processor cores (in case your bodily pc has multi-cores)

Add More Processors

Improve the video reminiscence measurement (based mostly on the bodily reminiscence of your video card) and allow 3D Acceleration.

Display Settings For Improvement

three) Mount the downloaded ISO and begin the digital machine. Press Enter to start out the set up.

Attach The ISO

four) Right here we’ve got the choice to attempt (stay run with out putting in to onerous disk) or set up Fedora on the arduous disk. Choose Install choice as proven under.

Install To Hard Disk

5) The set up is straightforward and straight ahead. Learn the directions and choose applicable choices to put in. Set automated partition creation to make life straightforward. Ensure to arrange the password.

Disk Selection And Partition

As soon as the set up accomplished, take away the ISO file from the CD drive, in any other case, the VM will hold booting from the ISO like a brand new set up.

6) Now you’ll land on a stupendous Fedora 29 on the VirtualBox as a digital machine. Should you arrange sufficient assets comparable to processor cores, RAM, video show RAM, and your bodily pc is succesful to deal with all requests, you’ll be able to have a clean Fedora 29 OS on your Home windows 10 pc.

7) Take a snapshot of VM earlier than continuing something additional.

Let’s replace the OS for patches and updates.

Run the next instructions.

dnf check-update
dnf improve

You might have to run above instructions as root, so, sort with sudo as proven under.

Sudo Login

Discover extra details about establishing sudo password from this web site (look underneath Fedora)

Install VirtualBox Guest Additions in Fedora 29

Technically, VirtualBox visitor additions and kernel help are already included in Fedora 29, you do not want to put in manually. The graceful show, full-screen choices, community, and mouse integration work mechanically after you have put in and upgraded the Fedora 29 on VirtualBox.

Working Guest Additions In Fedora 29

For some causes, if it is advisable set up the visitor additions on Fedora 29 manually, right here is one of the best information one can find.

Even the under information to put in VB visitor additions on earlier variations of Fedora nonetheless relevant and you possibly can comply with them as nicely.

VirtualBox Shared Folders in Fedora 29 and Home windows 10

Although the visitor additions are included and working superb with none guide work, the shared folders features don’t work by default. vboxsf driver kernel module which required to mount the shared folder and additionally permits entry between host and visitor shouldn’t be included in visitor additions package deal. Few further steps required to arrange the VB Shared folders perform between Home windows 10 host and Fedora 29 visitor. To be trustworthy, these steps didn’t work for me. So, I can’t produce any screenshots and affirm the steps right here. Nonetheless, you’ll be able to verify under guides to arrange the shared folder perform.

From the Fedora discussion board

From RedHat – Just like Fedora 29

For the Earlier model of Fedora 16 – GNOME three Error and Putting in Guest Additions

Right here is the content material which was written for Fedora 16. If it’s worthwhile to attempt the older variations of Fedora in VirtualBox, then you possibly can comply with the under steps.

  1. Whereas beginning the set up you could get GNOME three error (based mostly on the model of Oracle VirtualBox you’ve).

Since this can be a ‘Live CD’, the OS will begin mechanically (with out putting in into onerous drive) from CD. The ‘GNOME 3 Failed’ message will seem on the first time. Don’t worry, simply shut it.

gnome 3 failed error

four) Install the OS completely to native arduous disk. To do it, choose ‘Applications –> System Tools –> Install to Hard Drive’.

install to harddisk

Different steps are quite simple and simple as putting in a lot of the Linux Working Techniques. Full the set up and take away ISO from DVD drive earlier than the restart.

5) As soon as Fedora 16 Virtual machine is loaded from put in native onerous disk, once more ‘GNOME 3 Failed’ error might seem. No points, simply shut it and proceed to the subsequent steps to put in visitor additions.

How you can Install VirtualBox Guest Additions on Fedora 16

6) Be sure that the visitor machine is having web with obtain entry, so, clearly the host machine ought to be related to the web. Configure the digital machine’s community sort to NAT or bridged mode. The default NAT mode labored with none settings or modifications for me. Higher open an internet browser from the digital machine and double verify the web connection.

7) Go to Terminal ( Purposes –> System Instruments –> Terminal) and log in as root ( Sort su and password). Challenge the next command,

yum -y replace kernel

If every thing is ok (the typed command and web obtain), right here is the profitable message.

installed kernel version after 1st yum update

eight.) Once more sort,

yum -y set up kernel-devel kernel-headers dkms gcc gcc-c++

It can return the profitable set up message as under,

2nd yum update

Restart the digital machine now.

9) It’s time to set up built-in visitor additions. Go to Units in Virtualbox console menu and choose ‘Install Guest Additions’, it is going to mount the built-in ISO file. Open the terminal and log in as root. Browse the mounted drive ( cd /Media/VBOXADD……) and run the next command.

sh ./VBoxLinuxAdditions.run

sucessfull installation

Above display exhibits the concerned steps and profitable set up of VB visitor additions.

Earlier than restart, run this command as root ( to get GNOME three Shell)

restorecon -R -v /choose 

 

Restart the digital machine.

10) We efficiently put in the visitor additions. Examine the extra options like full display, Auto resize, seamless mode, mouse integration and shared folders.

more display options

To setup VirtualBox shared folder options between Fedora 16 and Home windows host machine comply with the earlier information talked about right here.

 

The way to Get working GNOME three Shell in Fedora 16 with VirtualBox

Till this level, issues will work high quality on any host computer systems, however to get Gnome shell inside Fedora, your host pc should have good devoted show card. I feel due to Gnome requires some type of direct 3D entry in bodily show card, this might be a problem with non-dedicated show card host computer systems. I confronted this similar problem with Fedora 15 which didn’t work on my workplace Dell Optiplex 755 machine whereas similar VM labored at house PC which is having devoted show.

I’m demonstrating these steps on my house PC with devoted show card and show reminiscence.

So, despite the fact that VirtualBox visitor additions put in efficiently on a great host pc (with devoted show card), the Gnome three shell in Fedora 16 didn’t work correctly or mechanically in different phrases. This can be fastened in forthcoming VirtualBox variations (hopefully)

To get Gnome shell, sort under command in terminal,

gnome-shell –replace &

Are you able to see the distinction in desktop? are you getting the Gnome shell?

Sadly, this isn’t everlasting. Additionally, for those who shut the terminal the place you typed the above command, the desktop will return to the earlier peculiar desktop. SELINUX error will seem on the highest proper message space. Restarting VM additionally will fall again to the atypical desktop.

Right here is the best way to repair this and get Gnome completely (UPDATED…)

To keep away from SELinux error after the reboot, I prompt disabling the SELinux from startup. However, few customers recommended that disabling SELinux just isn’t beneficial in any respect since it’s going to put the Linux machine beneath much less safety. SELinux (Safety Enhanced Linux) permits customers and directors extra management over which customers and purposes can entry which assets, comparable to a file. Extra info out there right here.

 

So, listed here are the workarounds,

1) Verify the SELiunx error at prime proper nook and use troubleshooter to repair the difficulty.

2) After putting in VirtualBox visitor additions, situation the next in terminal as root,

restorecon -R -v /choose 

(Credit to)

three) If above two strategies didn’t be just right for you, and safety shouldn’t be essential as a result of you’re operating this in digital machine surroundings(principally, that is simply an experiment), then attempt the disabling technique.

Edit the /and so forth/selinux/config file and set SELINUX=disabled

selinux default value

I’m not a Linux skilled, so I have no idea easy methods to edit system (or protected) information in regular GUI editor. I logged in as root and used VI editor to vary this worth.

This text will give some primary concepts on VI editor.

Restart now.

Now the login display ought to begin with Gnome shell desktop.

gnome shell login screen

Right here is the working Fedora 16 Gnome three.2 shell in VirtualBox four.1.6.

working gnome shell applications

Share your feedback, points and profitable makes an attempt within the feedback space.

Have enjoyable!