LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   I resized a ntfs partition using QtParted... (https://www.linuxquestions.org/questions/linux-newbie-8/i-resized-a-ntfs-partition-using-qtparted-713693/)

trist007 03-22-2009 11:30 PM

I resized a ntfs partition using QtParted...
 
I had a partition table like this

/dev/sda1 winxp 270 GB
/dev/sda2 knoppix 150 GB
/dev/sda3 swap 8 GB
/dev/sda4 slackware 150 GB

I used qtparted and wiped the knoppix partition as well as the swap partition. Yea I know knoppix is a live distro, but it has soo many programs. I rebooted and ran qtparted again. I resized /dev/sda1 to be 420GB then made a swap partition /dev/sda3 8GB. I went into slackware os and mkswap /dev/sda3;swapon -av.

Then I started the winxp os and crossed my fingers. OS did not run chkdsk like I thought it would. I checked explorer and it said that winxp still had had a total of 270 GB, which it was before I changed the partitions. So I forced a chkdsk c: /r /f and it ran it after I rebooted. It took a while, about 2 hrs, then it finally booted into windows xp. Still explorer said that total space on the partition was 270 GB. So I am currently defraging, but I don't think this will fix my case. Any ideas on how to fix this? I mean the fact that I have I don't have a sda2 should't matter at all?

syg00 03-23-2009 12:40 AM

Sounds like you only resized the partition, not the filesystem.
I haven't used qtpated in years - and I didn't like it. Seems the activity on that project has been very quiet.

I prefer gparted - perhaps you should try that. If you are happy with the CLI, you can run ntfsresize manually yourself - by default it will expand to fill the partition.

trist007 03-23-2009 12:57 AM

Oh man, thanks, worked like a charm.


All times are GMT -5. The time now is 06:57 PM.