LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-02-2010, 12:45 PM   #1
randyriver10
Member
 
Registered: Sep 2003
Location: Nova Scotia
Distribution: Mandrake
Posts: 122

Rep: Reputation: 15
How do I move a VB installed OS to my actual hard drive?


I did a quick search but came up with nothing. I'll list things in point form to make it less confusing

-I'm running Ubuntu 9.10 with GRUB 1.97
-I have Windows 2000 installed on VirtualBox
-I have an NTFS partition with just music and my data on it, but no windows OS
-I want to take what I have on VirtualBox and put it on my NTFS partition

Can anyone chime in?
 
Old 01-02-2010, 02:46 PM   #2
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Hi -

Perhaps this might work:

1. Log in to Ubuntu.

2. Mount your NTFS partition (if not already auto-mounted).
Verify you have read/write access to NTFS.

3. Start Samba (if not already running).
Publish one or more directories under your NTFS partition as a share.

4. Start Win2k/VBox.
Verify it can see the share.
Verify it has read/write access to the share.

5. Copy your data.

Sound reasonable?

Your .. PSM
 
Old 01-02-2010, 03:23 PM   #3
Lee_Ball
Member
 
Registered: Jul 2005
Location: Manchester (UK)
Distribution: Fedora CentOS
Posts: 132

Rep: Reputation: 18
Do you hope to make a dual boot setup by taking what is in Virtual Box and putting it into the NTFS partition?

I assume so given you mention grub specifically. Copying data out of VirtualBox is simple, you just create yourself a shared folder and map it to something, maybe the mounted NTFS partition. I usually mount my Home directory.

If you want to do what I think you do, then its going to be tough, or easy. I would use something like Drive Snapshot from within the Virtual Machine and snapshot it to a file and then recovery it back to the partition but it usually deals with snapshotting to drives as opposed to partitions. Plus you'd need to try and run it in wine, which I've not tried to see if you can snapshot it back.

Now I'm thinking about it, its not easy.
 
Old 01-03-2010, 08:01 AM   #4
voyciz
Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 425

Rep: Reputation: 40
Quote:
Originally Posted by Lee_Ball View Post
If you want to do what I think you do, then its going to be tough, or easy. I would use something like Drive Snapshot from within the Virtual Machine and snapshot it to a file and then recovery it back to the partition but it usually deals with snapshotting to drives as opposed to partitions. Plus you'd need to try and run it in wine, which I've not tried to see if you can snapshot it back.

Now I'm thinking about it, its not easy.
Why can't you just use cp to copy all data over to another partition once you've "mapped" it? And then format the desired partition and copy everything back over? Or am I missing something?
 
Old 01-03-2010, 11:17 AM   #5
Lee_Ball
Member
 
Registered: Jul 2005
Location: Manchester (UK)
Distribution: Fedora CentOS
Posts: 132

Rep: Reputation: 18
Quote:
Originally Posted by voyciz View Post
Why can't you just use cp to copy all data over to another partition once you've "mapped" it? And then format the desired partition and copy everything back over? Or am I missing something?
The items that are in use won't copy across. You could boot a live cd inside the Windows VM and copy it out I guess.
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to move installation to a new Hard Drive? mlitty Linux - General 26 09-22-2010 09:36 AM
How do I move files from one hard drive to another wb7sdxgary Ubuntu 2 01-19-2009 01:19 AM
load Linux onto a hard drive on one computer then move the hard drive to another Ark9 Linux - Newbie 2 10-06-2008 06:56 PM
Ubuntu: Installed to external hard drive; boot to primary hard drive gives error 22 dcorb62 Linux - General 7 09-04-2007 11:28 PM
can i move my hard drive to a different computer citrus Linux - General 5 04-12-2004 03:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:02 PM.

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