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 02-01-2009, 10:49 AM   #1
marcusmercado
Member
 
Registered: Jan 2009
Posts: 30

Rep: Reputation: 15
Install in partition using virtualbox


Hi,

Sorry for the noob question but is it possible to install linux in a real partition using virtual box. I have the partitions ready ext3 and swap. I fire up the iso using virtual box but it only sees the virtual hda not rael partition.

Is it possiblee and install in a real partition using vbox?
 
Old 02-01-2009, 11:04 AM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,817

Rep: Reputation: 609Reputation: 609Reputation: 609Reputation: 609Reputation: 609Reputation: 609
Quote:
Starting with version 1.4, as an alternative to using virtual disk images (as described in
detail in chapter 5, Virtual storage, page 70), VirtualBox can also present either entire
physical hard disks or selected partitions thereof as virtual disks to virtual machines.
Please see your VirtualBox manual.
 
Old 02-01-2009, 11:29 AM   #3
CJS
Member
 
Registered: May 2008
Location: California, USA
Distribution: Ubuntu 8.10
Posts: 247

Rep: Reputation: 49
Yes, I believe you can use VBox to run a Live CD to install Linux to a partition. The key is a command like this:
Code:
sudo VBoxManage internalcommands createrawvmdk -filename ~/.VirtualBox/sda_HDD.vmdk -rawdisk /dev/sda -register
That creates a VBox HDD called "sda_HDD.vmdk" that will give you full access to the sda HDD. When you access sda_HDD within VBox, make sure not to mess with the partition that has the host OS that is running VBox, or you will be in for a lot of grief. Good luck and let us know how it goes.
 
Old 02-01-2009, 11:48 AM   #4
theacerguy
Member
 
Registered: Jan 2009
Location: on my pc!
Distribution: openSUSE 11.2 opensolaris 2009.06
Posts: 218
Blog Entries: 7

Rep: Reputation: 32
im not sure but that code posted by CJS will work but sometimes on older distros there isnt sudo so su is best bet then take off sudo
 
  


Reply


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
Unable to install Virtualbox on Fedora 10 jaymoney Fedora 5 12-08-2008 03:31 AM
LXer: How to install Ubuntu Linux on Windows using VirtualBox LXer Syndicated Linux News 0 08-13-2008 08:50 AM
virtualbox install of centos bic Linux - Software 1 06-15-2008 10:30 PM
VirtualBox on Slackware won't install fr33KaZoidT Linux - Software 7 04-29-2008 03:44 AM
I can not get suse 10.3 updates to download. I am trying to install virtualbox bhupendra Linux - Newbie 2 01-07-2008 06:32 AM


All times are GMT -5. The time now is 12:33 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration