Skip to main content

Increasing Virtualbox disk size (Increasing VHD size without cloning)



Lets just face it, I like VirtualBox. I have used it in numerous occasions, back from the days when it was offered by Innotek, to Sun and now Oracle. Yeah it always was a less powerful than Vmware in some areas, but when i don't need them this was as good (or maybe sometimes better) than Vmware for my basic sandboxing needs!

But sometimes I find myself in a problem which the GUI isn't always helpful for me. One of them is when in an active Virtual Machine I run out of diskspace.

There are a number of ways to increase harddisk size without destroying your data, but most of them involve cloning or copying your data to a new vdi. Though they are also relatively painless I found a much more easier solution. Or rather a one liner

The following command will operate on the VirtualBox virtual disk located at “C:\Users\rk\VirtualBox VMs\Windows 7\Windows 7.vdi”. It will resize the virtual disk to 21920 MB (20 GB).

VBoxManage modifyhd “C:\Users\rk\VirtualBox VMs\Windows 7\Windows 7.vdi” –-resize 21920

Which actually will look like the following



Then boot up the Virtual Machine. You have assigned the space but you won't be able to access it right now. So we have to make it accessible within the guest os.

Open up Disk Management tool and it will look like the following


Just select the active drive and click Extend Volume. It will automatically extend it and you will have all the space you need


Comments

Popular posts from this blog

Racecraft (Project Koru) · Prologue — The Origin Story

Racecraft · Prologue , The Origin Story It Started With a Wine List and a Question About Racing How a happy-hour conversation in the Bay Area turned into a trustable AI race coach , and then into a second version that runs entirely on a phone, on the NPU. This is the prologue to a five-part series. Two years ago(1st November, 2024) I was in the Bay Area for a GDE Summit. If you've never been: it's a couple of days of talks among Google Developer Experts, the kind of people who get unreasonably excited about a new on-device runtime, and then , mercifully , a happy hour where everyone stops performing and just eats. We ended up at a restaurant(Puesto Santa Clara), a long table of GDEs, and I was doing the most important engineering of the evening: trying to decide which wine to order. Across the table was Ajeet Mirwani . I don't even remember how the wine talk turned into racing talk , these things drift , but the moment the word "racing" ...

A Split‑Brain Neuro‑Symbolic Training Method for High‑Velocity Autonomous Coaching from Telemetry

 Author: Rabimba Karanjai Scope: Problem statement + data methodology + model training (no deployment discussion) Abstract Real‑time coaching in motorsport is a safety‑critical learning problem : a system must map noisy, high‑frequency telemetry to short, actionable guidance that remains physically consistent and avoids hazardous recommendations . This paper proposes a “Split‑Brain” training formulation that separates (i) a semantic coaching target (what action/critique should be expressed) from (ii) a reflexive interface (how actions are represented as compact, verifiable tokens). The approach trains a Small Language Model (SLM) in the Gemma family [1] using QLoRA fine‑tuning [2] , and introduces a telemetry tokenizer plus teacher‑student synthesis pipeline to generate instruction‑action pairs at scale. Core contribution: a reproducible method to convert “ golden lap ” differential tel...

My Friend's MRI Didn't Come with a Manual, So I Built One with AI

Gemma 4 Good Hackathon · Impact Track · Health & Sciences It started with two envelopes. One contained a single sheet of paper, a radiologist's report for my friend. It was a wall of text that might as well have been written in another language. Words like " parenchymal volume ," " hyperintensities ," and " susceptibility artifact " stared back at us, creating more anxiety than they resolved. The other was a flimsy paper sleeve containing a CD-ROM. This, we were told, held the actual images from her MRI scan. The ground truth. And we couldn't even look at it. Our laptops, like most these days, don't have disc drives. For a moment, this crucial, deeply personal piece of her health information was a coaster. I felt that familiar, hot-wired frustration every engineer knows: the feeling of being locked out by a dumb problem. The powerlessness was infuriating. So, I did what any slightly obsessive software engineer would do...