Personal computing discussed
just brew it! wrote:Edit 2: So AFAIK you will need to kill the SVN checkout, resize your disk, and restart the checkout.
snapshot image wrote:UUID: 12c87ff4-cbcf-473d-bd59-2f84215be956
Parent UUID: a81a0893-fec2-4165-bd0f-6d023218c31c
Format: VDI
Location: C:\VIRTUAL MACHINES\win2k3\Snapshots\{12c87ff4-cbcf-473d-bd59-2f84215be956}.vdi
State: created
Type: normal
Usage: win2k3 (UUID: 32026ad2-d1ea-4a6b-81aa-1197df4552d3) [snapshop_022312 (UUID: e325c6bb-395f-4ad2-ad8c-77570 1edffb6)]
C:\Program Files\Oracle\VirtualBox>VBoxManage.exe modifyhd 12c87ff4-cbcf-473d-bd59-2f84215be956 --resize 40960
0%...
Progress state: VBOX_E_NOT_SUPPORTED
VBoxManage.exe: error: Resize hard disk operation for this format is not implemented yet!
base image wrote:UUID: 60343b58-92d8-4c93-a5dd-1e178260673c
Parent UUID: base
Format: VDI
Location: C:\VIRTUAL MACHINES\My Server.vdi
State: created
Type: normal
Usage: win2k3 (UUID: 32026ad2-d1ea-4a6b-81aa-1197df4552d3) [GOOD IMAGE 8-3-11 (UUID: e9fa98a5-8933-46c5-9c92-45614 06e3a8c)]
C:\Program Files\Oracle\VirtualBox>VBoxManage.exe modifyhd 60343b58-92d8-4c93-a5dd-1e178260673c --resize 40960
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
just brew it! wrote:Just FYI, the partition table (probably) and filesystem (definitely) will still have the old size. You'll need to expand the partition and filesystem (or create a new data partition in the additional space) to make use of it.
just brew it! wrote:Is there any way to get back to a Basic disk? I think gparted could handle it if it is a Basic disk.
Heck, gparted is probably still worth a shot. I've never tried it on a Dynamic disk though.
just brew it! wrote:First do this: http://mypkb.wordpress.com/2007/03/28/h ... sic-disks/
just brew it! wrote:Then try gparted.
You didn't back this VDI up before starting by any chance, did you?
Edit: Leaving the office now, so I won't be responding to this thread again until I get home.
just brew it! wrote:Ugh, that sucks. If possible, try the method in step 2 of that page I linked instead?
Edit: The first TestDisk screen looks reasonable. There appear to be step-by-step instructions on what to do with TestDisk at the bottom of that same web page?
Double edit: Couldn't hurt to back up that VDI now, just in case we make matters even worse!
just brew it! wrote:Do you *need* the contents of that snapshot? I think we're gonna go around in circles until we get that out of the way.
just brew it! wrote:If you don't need it, I'd back up the VDI (just to be safe), and revert/delete the snapshot.
just brew it! wrote:If you need the contents of the snapshot, then what you probably ought to do is create a *new* 40GB virtual disk, attach that to the VM, boot from virtual Linux CD, and use dd to image the contents of the snapshot over to the "clean" VDI. Then you can run gparted on the copy to expand the partition.
thegleek wrote:Cloning the snapshot now into a standalone vm. hopefully this does the trick?
just brew it! wrote:thegleek wrote:Cloning the snapshot now into a standalone vm. hopefully this does the trick?
It should (I think). The only potential glitch that immediately comes to mind is WPA, if Windows decides that the clone is "different" enough. We'll cross that bridge if/when we come to it...
just brew it! wrote:So (if you don't mind saying) WTF is this repository anyway? It's too small to be a copy of the repository of a mainstream Linux distro, and too big to be pretty much anything else!
just brew it! wrote:And you couldn't have done this by attaching a 2nd virtual data drive to the VM?
AbRASiON wrote:Wish I found this thread earlier, this is so easy to fix (albeit time consuming and takes a few different attempts to figure out the best solution)
Add a second virtual disk of desired size.
Load up an ISO as a virtual DVD / CD of Ghost / Acronis True Image / CloneZilla.
Clone small virtual disk 1 to larger virtual disk 2 - watch HDD thrash for 30 minutes.
Disable old virtual disk 1, make virtual disk 2 the only disk.
Done.
just brew it! wrote:SVN's actually not bad; it's what we use where I work. Are you at least using the TortoiseSVN Windows shell extension?
AbRASiON wrote:Wish I found this thread earlier, this is so easy to fix (albeit time consuming and takes a few different attempts to figure out the best solution)
Add a second virtual disk of desired size.
Load up an ISO as a virtual DVD / CD of Ghost / Acronis True Image / CloneZilla.
Clone small virtual disk 1 to larger virtual disk 2 - watch HDD thrash for 30 minutes.
Disable old virtual disk 1, make virtual disk 2 the only disk.
Done.