PCLinuxOS-Forums
News: ...FLASH!!! ...New PCLinuxOS Testing board now open. Register today! Be an active contributor to the PCLinuxOS future! ... Read all about it now, on THIS forum!!!..
 
*
Welcome, Guest. Please login or register. May 27, 2012, 04:04:47 AM


Login with username, password and session length


Pages: [1] 2   Go Down
  Print  
Author Topic: Copying an OS installation  (Read 1048 times)
Georgetoon
Hero Member
*****
Offline Offline

Posts: 2492



WWW
« on: December 31, 2010, 11:00:19 AM »

I have a piece of Windows Software that I'd like to play around with and learn.  But, I'd rather not install on my main Windows XP VB install. Does Virtual Box allow me to easily copy the OS?

This way, I can install the software on the Windows XP copy.  if  anything goes wrong, I won't be reinstalling everything.

(My apologies.  I'm not in front of my PCLinuxOS system at the moment.)
Logged

Toonfully,

Mark
-----------
Lenovo 14" ThinkPad Edge (0578F5U) with Core i3 Processor(i3-370M) 2.40 GHz 4GB RAM
Acer Aspire 9300 Laptop
Desktop Icy Dock system with AMD PHENOM X4 QUADCORE 9650 2.3GHZ 4MB L1 , ‎NVidia GEFORCE 9400GT 1GB 2X DVI PCIE graphics card, 22" Chimei monitor.
menotu
PCLinuxOS Tester
Super Villain
*******
Offline Offline

Posts: 11986

┌∩┐(◕_◕)┌∩┐


« Reply #1 on: December 31, 2010, 11:06:44 AM »

Yup - I just copy the VDI -and use that.

After the copy has been done I usually rename it - then just add it back to VBox as a new hard drive and away ya go

Note - Can't use them at the same time as the VBox ID is the same and Vbox will throw a wobbly.
Logged

If you can keep you head while all around you are losing theirs, then you have misunderstood the situation.

PCLinuxOS 32bit & 64bit; 3.2.17bfs kernel, KDE 4.8.3; nvidia 295.53, Athlon 64 X2 4200+; 4GB Ram; NVidia GeForce 8400GS 1GB; x.org 1.10.4 ; 500GB/320GB
Georgetoon
Hero Member
*****
Offline Offline

Posts: 2492



WWW
« Reply #2 on: December 31, 2010, 11:12:14 AM »

Yup - I just copy the VDI -and use that.

After the copy has been done I usually rename it - then just add it back to VBox as a new hard drive and away ya go

Note - Can't use them at the same time as the VBox ID is the same and Vbox will throw a wobbly.


Great! Smiley  Thanks. Smiley  I'll just copy the VDI and rename then.  I won't be using them at the same time. 

To be sure, (again, not in front of my machine) where's that VDI located?
Logged

Toonfully,

Mark
-----------
Lenovo 14" ThinkPad Edge (0578F5U) with Core i3 Processor(i3-370M) 2.40 GHz 4GB RAM
Acer Aspire 9300 Laptop
Desktop Icy Dock system with AMD PHENOM X4 QUADCORE 9650 2.3GHZ 4MB L1 , ‎NVidia GEFORCE 9400GT 1GB 2X DVI PCIE graphics card, 22" Chimei monitor.
uncleV
Guest
« Reply #3 on: December 31, 2010, 11:33:10 AM »

Quote
To be sure, (again, not in front of my machine) where's that VDI located?
Here it is in
home/<user_name>/.VirtualBox/HardDisks
Logged
Georgetoon
Hero Member
*****
Offline Offline

Posts: 2492



WWW
« Reply #4 on: December 31, 2010, 11:36:51 AM »

Quote
To be sure, (again, not in front of my machine) where's that VDI located?
Here it is in
home/<user_name>/.VirtualBox/HardDisks

Thank you. Smiley

Now that I think about it, I'm going to first copy my existing virtual hard drive with Windows XP to one of my storage drives for safe keeping.   I really should have done that all along. Embarrassed  Then, I'll copy and rename it and get going on the software.  Something to do during the New Year's weekend.Smiley
Logged

Toonfully,

Mark
-----------
Lenovo 14" ThinkPad Edge (0578F5U) with Core i3 Processor(i3-370M) 2.40 GHz 4GB RAM
Acer Aspire 9300 Laptop
Desktop Icy Dock system with AMD PHENOM X4 QUADCORE 9650 2.3GHZ 4MB L1 , ‎NVidia GEFORCE 9400GT 1GB 2X DVI PCIE graphics card, 22" Chimei monitor.
menotu
PCLinuxOS Tester
Super Villain
*******
Offline Offline

Posts: 11986

┌∩┐(◕_◕)┌∩┐


« Reply #5 on: December 31, 2010, 11:50:12 AM »

Quote
where's that VDI located?

If you haven't changed any settings or paths during your installs/setups it should be in

/home/your-name/.VirtualBox/

It'll probably be a few Gigs in size (dependent on how many apps you've installed and files it may be holding)

As this is your first time and your going to be re-using it, to be on the safe side, open VB and "release & remove" the hard drive;  (File > Virtual Media Manager > Hard Disks - Release - then select Remove - when it prompts if you want to Keep or Delete choose the Keep option) )

That has now "removed" the HDD from VBox

Now go to your VBox location in /home and copy the VDI file to where you want it. Now give it a new name - keeping the .vdi extension)

Now go back to VBox and do the (File > Virtual Media Manager > Hard Disks - and this time Add the VDI Hard Disk by going to where you copied it to.

That's it - you can now setup your "new" XP install using that hard disk.

Hope that helps a little.

Logged

If you can keep you head while all around you are losing theirs, then you have misunderstood the situation.

PCLinuxOS 32bit & 64bit; 3.2.17bfs kernel, KDE 4.8.3; nvidia 295.53, Athlon 64 X2 4200+; 4GB Ram; NVidia GeForce 8400GS 1GB; x.org 1.10.4 ; 500GB/320GB
menotu
PCLinuxOS Tester
Super Villain
*******
Offline Offline

Posts: 11986

┌∩┐(◕_◕)┌∩┐


« Reply #6 on: December 31, 2010, 11:55:15 AM »

Quote
Now that I think about it, I'm going to first copy my existing virtual hard drive with Windows XP to one of my storage drives for safe keeping.   I really should have done that all along. Embarrassed  Then, I'll copy and rename it and get going on the software.  Something to do during the New Year's weekend

Excellent idea.

VBox also gives the option of exporting the whole VM but I find it quicker and simpler to just copy the VDI files.

I have about a dozen VDI's on a backup disk with different versions of PCLinuxOS on them which I can use for testing things out.
Logged

If you can keep you head while all around you are losing theirs, then you have misunderstood the situation.

PCLinuxOS 32bit & 64bit; 3.2.17bfs kernel, KDE 4.8.3; nvidia 295.53, Athlon 64 X2 4200+; 4GB Ram; NVidia GeForce 8400GS 1GB; x.org 1.10.4 ; 500GB/320GB
Georgetoon
Hero Member
*****
Offline Offline

Posts: 2492



WWW
« Reply #7 on: December 31, 2010, 06:13:30 PM »

Quote
Now that I think about it, I'm going to first copy my existing virtual hard drive with Windows XP to one of my storage drives for safe keeping.   I really should have done that all along. Embarrassed  Then, I'll copy and rename it and get going on the software.  Something to do during the New Year's weekend

Excellent idea.

VBox also gives the option of exporting the whole VM but I find it quicker and simpler to just copy the VDI files.

I have about a dozen VDI's on a backup disk with different versions of PCLinuxOS on them which I can use for testing things out.

Well, I'm glad I did the back up first.  it appears that when I added the original VB HD back, it wouldn't take for some reason. i fiddled with it and finally figured it out. I had to change the PIIX4 setting to PIIX3.

On opening, it appears some data was no longer there in my quickbooks file. not srewy, but god thing I always back theat up. i restored and thingsare ifne.

However, I can't add the WinXP copy. it sys the UUID is the same as the other.
Logged

Toonfully,

Mark
-----------
Lenovo 14" ThinkPad Edge (0578F5U) with Core i3 Processor(i3-370M) 2.40 GHz 4GB RAM
Acer Aspire 9300 Laptop
Desktop Icy Dock system with AMD PHENOM X4 QUADCORE 9650 2.3GHZ 4MB L1 , ‎NVidia GEFORCE 9400GT 1GB 2X DVI PCIE graphics card, 22" Chimei monitor.
Was_Just19
Hero Member
*****
Offline Offline

Posts: 6885


MLU


« Reply #8 on: December 31, 2010, 06:21:19 PM »

I think you may have to "Release" one to use the other .......
Logged
Georgetoon
Hero Member
*****
Offline Offline

Posts: 2492



WWW
« Reply #9 on: December 31, 2010, 06:36:06 PM »

I think you may have to "Release" one to use the other .......

Yeah, that's probably it. However, is there a way to NOT release either one?
Logged

Toonfully,

Mark
-----------
Lenovo 14" ThinkPad Edge (0578F5U) with Core i3 Processor(i3-370M) 2.40 GHz 4GB RAM
Acer Aspire 9300 Laptop
Desktop Icy Dock system with AMD PHENOM X4 QUADCORE 9650 2.3GHZ 4MB L1 , ‎NVidia GEFORCE 9400GT 1GB 2X DVI PCIE graphics card, 22" Chimei monitor.
MCP
Sr. Member
****
Offline Offline

Posts: 290


« Reply #10 on: December 31, 2010, 06:44:58 PM »

Why not go here:

http://forums.virtualbox.org/viewtopic.php?f=6&t=22422

And install CloneVDI in wine.  It will clone your vm changing the uuid in the process.  That way you can not only create copies but they will be able to be used at the same time in VB.

MCP
Logged
Georgetoon
Hero Member
*****
Offline Offline

Posts: 2492



WWW
« Reply #11 on: December 31, 2010, 07:56:42 PM »

Why not go here:

http://forums.virtualbox.org/viewtopic.php?f=6&t=22422

And install CloneVDI in wine.  It will clone your vm changing the uuid in the process.  That way you can not only create copies but they will be able to be used at the same time in VB.

MCP


Thanks for this info.Smiley  But, I'm thinking there's gotta be a way to just change the UUID.
Logged

Toonfully,

Mark
-----------
Lenovo 14" ThinkPad Edge (0578F5U) with Core i3 Processor(i3-370M) 2.40 GHz 4GB RAM
Acer Aspire 9300 Laptop
Desktop Icy Dock system with AMD PHENOM X4 QUADCORE 9650 2.3GHZ 4MB L1 , ‎NVidia GEFORCE 9400GT 1GB 2X DVI PCIE graphics card, 22" Chimei monitor.
Georgetoon
Hero Member
*****
Offline Offline

Posts: 2492



WWW
« Reply #12 on: December 31, 2010, 09:35:13 PM »

Okay, I've found my solution and I am a bit red faced here. Embarrassed

It seems that, some time ago, I did back up a complete, separate, second WinXP installation to VirtualBox.  I can't remember when I did this, but I had a copy of it on my storage drive.

(For some reason, the area of this storage drive is only accessible as root...not sure how that happened.  No matter, I just used Konqueror Super User Mode).

I simply moved the VDI over (and changed permission to user) and added it. then, I added the machine and I'm up and running!:)now I can install this piece of Windows software and mess around with it to my heart's content without worrying aobut messing up my main WinXP installation.

And, the nice thing is, I have both WinXP configurations backed up on the storage drive.

My sincere thanks to everyone for their input and help.Smiley  It certainly helped me to avoid making major mistakes.
Logged

Toonfully,

Mark
-----------
Lenovo 14" ThinkPad Edge (0578F5U) with Core i3 Processor(i3-370M) 2.40 GHz 4GB RAM
Acer Aspire 9300 Laptop
Desktop Icy Dock system with AMD PHENOM X4 QUADCORE 9650 2.3GHZ 4MB L1 , ‎NVidia GEFORCE 9400GT 1GB 2X DVI PCIE graphics card, 22" Chimei monitor.
GermanTux
Hero Member
*****
Offline Offline

Posts: 576



« Reply #13 on: January 12, 2011, 04:15:17 PM »

Another little feature which I use all the time is snapshots.  That way you can play with the software, and when you are done simply revert to the snapshot.  This is a great feature for "experimenting." 
Logged

I like sleep.
Georgetoon
Hero Member
*****
Offline Offline

Posts: 2492



WWW
« Reply #14 on: January 12, 2011, 08:40:23 PM »

Another little feature which I use all the time is snapshots.  That way you can play with the software, and when you are done simply revert to the snapshot.  This is a great feature for "experimenting." 

Thanks.:)I'll definitley look at that feature.  does this alow for me to, say install a new sofware app and then go back in time? As in, Snapshot > Add new software > Play with it > Revert to snapshot which then restores system to original state without the new software.  Is that it?
Logged

Toonfully,

Mark
-----------
Lenovo 14" ThinkPad Edge (0578F5U) with Core i3 Processor(i3-370M) 2.40 GHz 4GB RAM
Acer Aspire 9300 Laptop
Desktop Icy Dock system with AMD PHENOM X4 QUADCORE 9650 2.3GHZ 4MB L1 , ‎NVidia GEFORCE 9400GT 1GB 2X DVI PCIE graphics card, 22" Chimei monitor.
Pages: [1] 2   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM