LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 04-23-2010, 12:15 PM   #1
zuzoa
Member
 
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, 12:25 PM   #2
johnsfine
Guru
 
Registered: Dec 2007
Distribution: Centos
Posts: 5,109

Rep: Reputation: 1114Reputation: 1114Reputation: 1114Reputation: 1114Reputation: 1114Reputation: 1114Reputation: 1114Reputation: 1114Reputation: 1114
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 12:34 PM.
 
1 members found this post helpful.
Old 04-23-2010, 12:30 PM   #3
zuzoa
Member
 
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.
 
  


Reply

Tags
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 02:20 PM
LXer: DistroWatch Weekly: GParted LiveCD vs Parted Magic, Ubuntu and Automatix, Medison Celebrity LXer Syndicated Linux News 0 08-06-2007 05:16 AM
Problem with GParted LiveCD 0.3.4-6 while booting up manhinli Linux - Hardware 3 04-22-2007 03:44 AM
LXer: ReviewLinux.Com: GParted LiveCD 0.2.5-1 A Must Have Disc! LXer Syndicated Linux News 0 06-18-2006 03:54 PM
Boot disk; check. CD in drive; check. Doesn't work; check. Hal DamnSmallLinux 7 02-04-2004 02:10 AM


All times are GMT -5. The time now is 01:44 PM.

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