modifying the size of two disks .vdi

Discussions related to using VirtualBox on Windows hosts.
Fielding
Posts: 170
Joined: 3. May 2012, 22:21

Re: modifying the size of two disks .vdi

Post by Fielding »

Perryg wrote:Creating a partition is easy. Manipulating one is different.

You said that the information was data. I guess you could take the long way around and copy the data off, create a new drive of 51200MB ( 50GB ) and then copy the data back to the new drive, if you can not find a different partition manager that will work for you.

Image

Sure. I will comment . It's only data and for the moment I don't need more space in the system virtual disk.
Fielding
Posts: 170
Joined: 3. May 2012, 22:21

Re: modifying the size of two disks .vdi

Post by Fielding »

I have some problem creating more disks I think remember.
Only 4 IDE.
How can i create another functional one ?

Best Regards
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: modifying the size of two disks .vdi

Post by Perryg »

Remove one of them ( without deleting ) and create a new one. cp the data and then do the same thing to the next drive.
Fielding
Posts: 170
Joined: 3. May 2012, 22:21

Re: modifying the size of two disks .vdi

Post by Fielding »

Perryg wrote:Remove one of them ( without deleting ) and create a new one. cp the data and then do the same thing to the next drive.
Seems easy Perryg. I will comment tomorrow
Best Regards
Fielding
Posts: 170
Joined: 3. May 2012, 22:21

Re: modifying the size of two disks .vdi

Post by Fielding »

I have creater disk5.vdi and disk6.vdi of more 50 GB. I have to see how to make copies from one to another...
I supposed is running the virtual machine rather than from the console.
I will try and comment.

I have certain problems .
The initial disk seems have lose the format NTFS. I reiniate.
I am experimenting.

Do you know any method to copy data between .vdi from outside the vm ?

Best Regards
Fielding
Posts: 170
Joined: 3. May 2012, 22:21

Re: modifying the size of two disks .vdi

Post by Fielding »

I can't reach the data. For some reason the initial disk have no format after creating the new ones.
Fielding
Posts: 170
Joined: 3. May 2012, 22:21

Re: modifying the size of two disks .vdi

Post by Fielding »

:oops:

Image

:P I prefer to wait for your help Perryg
I observ in the initial machine the disks I redimension. Perhaps de problem is here. I can make another clone and redimension the disks to its original size of 10 GB and try again.
:roll:
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: modifying the size of two disks .vdi

Post by Perryg »

Can you still reach the data on the original machine/disks?
Fielding
Posts: 170
Joined: 3. May 2012, 22:21

Re: modifying the size of two disks .vdi

Post by Fielding »

Yes. Both drives.
All perfect. By ouside they appear to be 50 GB but in the vm are 10 GB
In the hard disk administration of windows xp both disks appear to be 10 GB
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: modifying the size of two disks .vdi

Post by Perryg »

OK so the first thing is to save the data. Do you have shared folders setup and working? You need to copy the data off these drives to the host and verify that the data is intact.
Fielding
Posts: 170
Joined: 3. May 2012, 22:21

Re: modifying the size of two disks .vdi

Post by Fielding »

Done.
I copy the data to the system disk in the VM and also to a shared folder (that's to the host)
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: modifying the size of two disks .vdi

Post by Perryg »

Now just remove the drive that you have attached to the guest now, and create new ones.
Once you have that you copy the data back and all should be good.
Fielding
Posts: 170
Joined: 3. May 2012, 22:21

Re: modifying the size of two disks .vdi

Post by Fielding »

Perryg wrote:Now just remove the drive that you have attached to the guest now, and create new ones.
Once you have that you copy the data back and all should be good.
In the original machine ?

Any additional security measure ?

The clone machine the result is above.....
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: modifying the size of two disks .vdi

Post by Perryg »

Since you have backed up the data to the guests drive in the clone use it, because it does not have snapshots.
From this point forward I would not use snapshots.
Fielding
Posts: 170
Joined: 3. May 2012, 22:21

Re: modifying the size of two disks .vdi

Post by Fielding »

First Attempt.
Over the clon machine des-attach the data disk
Enter in the machine to observ all disk dissapeared except the system disk
See in explorer . Delete data disks
create outside the machine two disks of aproximately 80 GB
Enter the machine
convert and initial the two data disks with NTFS
All well
I clone this machine to REClon
copy the system disk from the original machine to this one
rename the system disk and save the other.
No good results in the proof. I enter the machine but some program seems not installed. rare.
I decide to restore from the trash the prior system disk
All well then, but the data disks empty with the new size 80 GB aprox.
Post Reply