Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 04-23-2010, 01:15 PM   #1
Registered: Nov 2008
Location: USA
Distribution: Arch 64-bit
Posts: 159

Rep: Reputation: 35
how to check if gparted livecd is still doing something?

I am shrinking my NTFS partition so I can use the unallocated space afterwards to install Slackware. It is a 160GB drive, only ~30% of which is in use, and I only wanted to free 15GB at the end of the drive.

So far its been at least 2 hours still doing the "real resize" of "shrink filesystem" (ntfsresize).

How can I make sure it's still resizing, and not hung? I tried to run top and ps, but neither are available on the livecd. When should I give up and tell gparted to cancel the command? I can't let it run like this forever.
Old 04-23-2010, 01:25 PM   #2
LQ Guru
Registered: Dec 2007
Distribution: Centos
Posts: 5,286

Rep: Reputation: 1190Reputation: 1190Reputation: 1190Reputation: 1190Reputation: 1190Reputation: 1190Reputation: 1190Reputation: 1190Reputation: 1190
I have never figured that out.

When I was unable to defrag the NTFS from inside Windows (badly virus infected Windows system, so I was installing Linux in order to use the computer while more safely salvaging data files from sick system) I was almost ready to cancel the resize operation after it ran 2 hours without a hint that it was still making progress. Then it suddenly finished.

On a different computer, when I didn't yet know I ought to defrag first from inside Windows, I let a resize run for over 24 hours before canceling it, because I thought canceling it would leave a trashed partition. There was no harm done to the partition. I don't actually know why there was no harm. Then I booted Windows, defraged, also got rid of the pagefile. Then resizing went fast.

On that system, I wanted to dual boot, so later I put the pagefile back. Even so, it is safer and faster to kill the pagefile before resizing and put it back after than to leave it intact throughout.

In the Mepis liveCD, it is pretty easy to mount the NTFS partition, delete various files such as Windows C:/pagefile.sys then dismount it and resize. I don't know if your CD supports all that. Depending on your level of comfort with each system, such cleanups may be easier in Windows (unless it is so virus infected as to take away that option).

If you do cancel the resize, delete things like pagefile.sys, then defragment from inside windows, then try the resize again and you'll be much happier with the results.

Last edited by johnsfine; 04-23-2010 at 01:34 PM.
1 members found this post helpful.
Old 04-23-2010, 01:30 PM   #3
Registered: Nov 2008
Location: USA
Distribution: Arch 64-bit
Posts: 159

Original Poster
Rep: Reputation: 35
Ohhh. Thank you for your post, john. You made me realise what the culprit probably is in my case. I use third-party defragging software in Windows, Defraggler, and I have it configured to move large files to the end of the drive. Right now, instead of resizing empty space, gparted is moving all those large files to the left.

This makes me feel alot better about just letting it continue, although next time I'll be sure to defrag Windows the normal way beforehand.


gparted, hangs, ntfs, ntfsresize, partition, resize

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
GParted LiveCD hangs on startup (on Dell laptop) adanedhel728 Linux - General 5 03-10-2008 03:20 PM
LXer: DistroWatch Weekly: GParted LiveCD vs Parted Magic, Ubuntu and Automatix, Medison Celebrity LXer Syndicated Linux News 0 08-06-2007 06:16 AM
Problem with GParted LiveCD 0.3.4-6 while booting up manhinli Linux - Hardware 3 04-22-2007 04:44 AM
LXer: ReviewLinux.Com: GParted LiveCD 0.2.5-1 A Must Have Disc! LXer Syndicated Linux News 0 06-18-2006 04:54 PM
Boot disk; check. CD in drive; check. Doesn't work; check. Hal DamnSmallLinux 7 02-04-2004 03:10 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:49 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration