PDA

View Full Version : USB Hard Drive resize



danbyte
06-28-2008, 03:51 AM
Hi All,

I've been trying to resize my usb hard drive (Maxtor Basics portable) using qtparted from Knoppix, and try to free up some space to install a permanent image in this HD.

The HD is recognized as /dev/sda1 and when I reduce the size of this ntfs partition I get an OK prompt but nothing changes. This doesn't happens with /dev/hda1 which appears to recognize any changes I made.

The only difference I noticed between /dev/hda1 and /dev/sda1 is the status which is busy for the first and available for the second. If I try to unmount by right clicking on the /dev/sda1 icon I get a message that says something like "the device appears to be mounted more than once"

Any help is greatly appreciatted ... In case you wonder why I don't want the whole drive it's because I'd like to keep some of the data that is already there.

Thanks in advance,

Dan

Harry Kuhman
06-28-2008, 04:26 AM
... trying to resize my usb hard drive ....
The HD is recognized as /dev/sda1 and when I reduce the size of this ntfs partition I get ....
I would advise against doing anything (except reading data on it) to a NTFS partition with Knoppix. I don't believe resizing with Knoppix, if it can even be done, is safe.

There are commercial tools that claim to be able to resize NTFS partitions. Even they advise you to make backups of all of the data before trying to resize a partition. Partition Magic is one such product. This is not an endorsement of it, and I don't believe that you should go out and pay the hefty price for this utility, but it does exist.

Since this is an external drive, I suggest that a better solution may be to completely remove the sda1 partition and then recreate it as a smaller partition, which you can do with Windows. This would involve moving any data in sda1 that you want to retain to a different hard drive or backup media, but since even Partition Magic cautions you to have a backup, this would be a wise thing to do no matter how you resize the partition. Either burn the needed data to backup media or copy to another hard drive, delete sda1, create a new sda1 of the desired size (and format it), and move the data back to the newer smaller partition. Assuming that the drive currently only has a sda1 partition, the rest of the drive will then be available either for another partition (sda2) or an extended partition that can then hold virtual drives (sda5, sda6, ....)

cbagger01
06-29-2008, 02:29 AM
Hi All,

I've been trying to resize my usb hard drive (Maxtor Basics portable) using qtparted from Knoppix, and try to free up some space to install a permanent image in this HD.

The HD is recognized as /dev/sda1 and when I reduce the size of this ntfs partition I get an OK prompt but nothing changes. This doesn't happens with /dev/hda1 which appears to recognize any changes I made.

The only difference I noticed between /dev/hda1 and /dev/sda1 is the status which is busy for the first and available for the second. If I try to unmount by right clicking on the /dev/sda1 icon I get a message that says something like "the device appears to be mounted more than once"

Any help is greatly appreciatted ... In case you wonder why I don't want the whole drive it's because I'd like to keep some of the data that is already there.

Thanks in advance,

Dan

I have used qtparted to resize NTFS via KNOPPIX without any apparent problems.

1) Boot KNOPPIX from CD or DVD.
2) Do NOT mount any partitions for the drive that is being resized. In other words, do NOT click on any of the disk drive icons on your desktop.
3) Run QT parted from the K (Start) menu.
4) Add/Delete/Format/Resize your partitions as needed.
5) Choose COMMIT CHANGES from the top menu or the Right-Click menu for the drive that is being modified.
6) Exit QTParted. Reboot KNOPPIX.
7) The changes should be in effect.