Linux a better Windows partition manager

15 05 2008

My inlaws were in town to help Liz through her surgery. They brought their machines to me for repair :) One of the machines had a full disk so I upgraded the 20GB to a 250GB drive.

  1. made the 20GB drive a slave
  2. installed the 250GB drive as the master
  3. booted Fedora Live CD
  4. create a partition of the same size on the new disk
  5. copy the master boot record (MBR) using dd
  6. copy the partition using dd
  7. shutdown
  8. remove power from the slave (old 20GB) drive
  9. reboot to Windows, verify things look ok.

For detailed instructions visit:
http://www.nilbus.com/linux/disk-copy.php

I stopped at the “Resizing the Partition”.

The best part of all this was I never knew the power of dd, ntfsresize, and fdisk. I was originally looking for a copy of PartitionMagic or Norton Ghost. Linux is far better than any of that.

Once I finished the dd, I shutdown, and removed power from the slave drive. I rebooted and Windows came up on the new 250GB but still appeared as a 20GB drive. Now I had to resize it.

The oddest part was resizing the partition, because I couldn’t wrap my head around the “delete the partition” then recreate. The delete part threw me off as I was afraid to lose the data. But it was an in memory operation so it didn’t affect it. WHEW! Then I ran ntfsresize -n -s 250G /dev/sda1, then rebooted back to Windows. After a chkdsk, I was all done!

So Linux is a better Windows partition tool than Windows :)
http://darkstar.ucd.ie/timosh/links/ntfsresize.html#cli


Actions

Information

2 responses to “Linux a better Windows partition manager”

16 05 2008
bbbush (01:22:38) :

I think you just need to run disk checking in winxp so it will discover the correct partition size?

16 05 2008
Andy Burns (03:13:49) :

Command line methods work nicely, but of you want a GUI like PartitionMagic, then look at
Gparted
, especially the live CD.

Leave a comment

You can use these tags : <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>