LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-26-2009, 10:39 AM   #16
Erik_FL
Member
 
Registered: Sep 2005
Location: Boynton Beach, FL
Distribution: Slackware
Posts: 821

Rep: Reputation: 257Reputation: 257Reputation: 257

Quote:
Originally Posted by The Blessed Hellride View Post
alright i got the backup media created, now i have a question.
when running linux in virtualbox, how do you go about setting it up?
can virtualbox read the operating system as an disk image file or do i need to burn it to a cd or what?
i think i'm gonna give it a shot atleast before i go formatting my drive
VirtualBox can read the ISO file directly. Just use the Virtual Media Manager and add the file on the "CD/DVD Images" tab. You can either mount the CD/DVD in the virtual machine settings or while the machine is running, use the Device menu for the virtual machine.

I also recommend that you make the virtual hard disk's maximum size larger than you need since the space taken up on the actual disk is based on what you use, not the size limit. I usually make my drives 16GB. The size setting is mostly to avoid letting the size of a disk grow beyond a reasonable size in case of a problem or faulty application.

Here is how to set up Linux in a virtual machine.
  • Download the ISO image for the Linux insall disc
  • Install VirtualBox in the Host OS
  • Add the ISO image using the virtual media manager
  • Create a new virtual machine
  • Create a virtual hard disk
  • Start the new virtual machine (which won't boot yet)
  • Use the VM devices menu to mount the Linux install disc (ISO image)
  • Reset the virtual machine
  • The install disc will boot inside the VM
  • Install Linux normally as if it was a real computer
  • Boot Linux normally and log in
  • Use the "Install Guest Additions" command from the devices menu
  • Start a terminal session as root
  • Mount the Guest Additions disc in Linux (if necessary) "mount /dev/sr0 /mnt"
  • Run the "VBoxLinuxAdditions-x86.run" or "VBoxLinuxAdditions-amd64.run" file on the CD
  • Reboot Linux
  • Drag the VM window to the size you want or use Ctrl L for seamless mode

You may want to put the mini toolbar for seamless mode at the top of the screen, out of the way of the task bar or command bar. Do that in the general settings for the virtual machine. I've found that disabling 3D acceleration for a VM is faster unless you really are trying to use all the desktop effects and eye-candy in Linux. If you want to use 3D I recommend getting everything working without it first.

If you have any trouble installing the Guest Additions you can also boot Linux Mint in recovery mode, to a root prompt. Then install or reinstall Guest Additions.

The VirtualBox help is relatively good, though it can sometimes be hard to locate the information it covers most things that you will need to know for using it. There is a lot more information and you can ask questions in the forums on the VirtualBox site. VirtualBox 3.1.2 is quite reliable and that is the latest version.

Until you install the Guest Additions, you will have to click somewhere in the VM window to capture the mouse and keyboard for the virtual machine. After you capture the mouse it will remain inside the VM window. The keyboard input will go the the VM. Press the right hand Ctrl key to un-capture the mouse and keyboard, and press that again to re-capture them. You can also use right Ctrl with other keys to perform various commands. Click on the Machine Menu to see many of the commands. The "Host" key is right hand Ctrl by default.

After installing the Guest Additions the mouse will just move between the VM window and the normal host desktop. You can use seamless mode to combine the VM application windows with the normal desktop. Use the "show desktop" icons or commands in either OS to reveal the entire desktop. Right Ctrl L will switch quickly between normal and seamless mode, and right Ctrl F will switch into or out of full screen mode. You must be in normal (one window) mode to switch into seamless or full screen mode. You can't switch directly between seamless and full screen. The guest additions also integrates the clipboard between the operating systems and allows you to map shared folders in the host OS.
 
  


Reply

Tags
partition


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Raid0, Mint 7, and Windows 7 ratiohack Linux - Newbie 3 09-05-2009 12:35 AM
how to keep kubuntu and mint together inside windows? saurabh4dudes Linux - Newbie 3 08-30-2009 12:46 AM
LXer: Windows Guy Tries Linux Mint: Part 2 Of Our Distro For Windows Converts Review LXer Syndicated Linux News 0 09-10-2008 07:12 PM
re installation of grub in Linux mint after installing xp over mint sampad.sarangi General 1 01-15-2008 05:37 PM
Gtk and Glade: How to put windows inside windows enemorales Programming 1 07-13-2006 10:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:20 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration