{"id":395,"date":"2007-02-07T15:50:40","date_gmt":"2007-02-07T14:50:40","guid":{"rendered":"http:\/\/wp.devco.net\/?p=395"},"modified":"2009-10-09T14:12:58","modified_gmt":"2009-10-09T13:12:58","slug":"resizing_xp_boot_partition_-_vmware_saves_the_day","status":"publish","type":"post","link":"https:\/\/www.devco.net\/archives\/2007\/02\/07\/resizing_xp_boot_partition_-_vmware_saves_the_day.php","title":{"rendered":"Resizing XP Boot Partition – VMWare Saves The Day"},"content":{"rendered":"
I’m running a combination XP and OS X machines at home linked together using Synergy<\/a>. I’ve been contemplating moving away from XP so thought I’ll give Ubuntu another go. I’m running a combination XP and OS X machines at home linked together using Synergy. I’ve been contemplating moving away from XP so thought I’ll give Ubuntu another go. My drives are pretty full except my OS Boot drive, lots of space there so I thought I’ll resize it and put Ubuntu at the end […]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_et_pb_use_builder":"","_et_pb_old_content":"","footnotes":""},"categories":[5],"tags":[44,48,55],"_links":{"self":[{"href":"https:\/\/www.devco.net\/wp-json\/wp\/v2\/posts\/395"}],"collection":[{"href":"https:\/\/www.devco.net\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.devco.net\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.devco.net\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.devco.net\/wp-json\/wp\/v2\/comments?post=395"}],"version-history":[{"count":1,"href":"https:\/\/www.devco.net\/wp-json\/wp\/v2\/posts\/395\/revisions"}],"predecessor-version":[{"id":561,"href":"https:\/\/www.devco.net\/wp-json\/wp\/v2\/posts\/395\/revisions\/561"}],"wp:attachment":[{"href":"https:\/\/www.devco.net\/wp-json\/wp\/v2\/media?parent=395"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.devco.net\/wp-json\/wp\/v2\/categories?post=395"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.devco.net\/wp-json\/wp\/v2\/tags?post=395"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
\nMy drives are pretty full except my OS Boot drive, lots of space there so I thought I’ll resize it and put Ubuntu at the end in a small partition while I test things out. It sounded like a good idea at the time but it turned out to be pretty disastrous.
\nI used the GParted LiveCD<\/a> to do the resizing after first running a defrag on the drive. On the surface everything went fine but the XP wouldn’t boot.
\nI admit not reading up enough about the process but it turns out after doing the resize with GParted you’ll need to force chkdsk<\/i> the boot disk, the only way to do this involves using the XP Setup CD and it’s recovery console.
\nMy machine has a SATA drive that isn’t directly supported by the XP Setup disk so I need to use a Floppy driver disk, I don’t even have a floppy drive anymore so I was pretty much stuck.
\nI installed Ubuntu 6.10<\/a> in the free space, it worked a charm and I soon had at least something back up to get going but still needed to chkdsk the XP partition. I knew the files were there – Ubuntu mounted it on the Desktop – so it was all good, except something small somewhere causing grief.
\nI was faced with either buying a Floppy drive and Floppy cables, and finding blank floppies somewhere or finding another solution. Solution came in the form of VMWare Server<\/a>.
\nVMWare supports mounting RAW partitions into a VM, so in theory I should be able to create a virtual instance that boots my XP Partition, I tried this and ended up with a Blue Screen and immediate reboot. The problem being that my SATA drive shows up as a SCSI drive in XP under VMWare and my XP did not have the right drivers to load the drive and boot from it, so still I needed to chkdsk the drive.
\nI took my XP CD, downloaded the VMWare Server drivers and mounted that as a floppy into the VM, booted from the CD and loaded the drivers into the CD, ran the recovery console and got a C:\\ prompt. Here I was able to chkdsk the stricken partition and eventually boot right into XP, problem solved.
\nI took this one step further by creating a new hardware profile in my XP box once it was running, loaded in the VMWare SCSI drivers and now I can boot my XP into fully working state under Ubuntu using VMWare.
\nSo, the short of it, yes you can resize your XP Pro Boot disks, even NTFS ones using Open Source tools, but you need to be 100% sure you can get your recovery console up and running to run chkdsk afterwards, my machine is now happy again and booting Ubuntu and XP.
\nVMware Kicks Arse.<\/p>\n","protected":false},"excerpt":{"rendered":"