Omnimaga

General Discussion => Technology and Development => Computer Usage and Setup Help => Topic started by: ElementCoder on February 17, 2013, 11:17:20 am

Title: Partitioning problem.
Post by: ElementCoder on February 17, 2013, 11:17:20 am
I want to shrink a volume on my HDD so I can create another partition. It took very long so I though it wasn't doing anything and shut it down. Apparently I should not have done that because now it says "Logical Disk Manager: Acces denied" everytime after a while when I attempt to shrink. Is there any way to fix this that doesn't involve reformatting? I can't afford to lose the data on this disk.
Title: Re: Partitioning problem.
Post by: Fireicee1 on February 17, 2013, 11:39:36 am
Ohhh yeah... you really shouldn't have shut it down mid-process.  How long was it taking?
What OS are you using, or is on the partition you're trying to shrink? 

Title: Re: Partitioning problem.
Post by: pimathbrainiac on February 17, 2013, 11:49:32 am
Assuming Windows: use the command line tool diskpart

Assuming Ubuntu: Launch disk manager from the command line with sudo
Title: Re: Partitioning problem.
Post by: ElementCoder on February 17, 2013, 11:54:34 am
Oh forgot to mention OS stuff.I'm using Windows Vista 32-bit.
Ohhh yeah... you really shouldn't have shut it down mid-process.  How long was it taking?
What OS are you using, or is on the partition you're trying to shrink? 
It was going for around 6 hours already. So I assumed it was hanging/not doing anything anymore.
Title: Re: Partitioning problem.
Post by: pimathbrainiac on February 17, 2013, 12:25:32 pm
use diskpart (must be run from an elevated (run as admin) command prompt)
Title: Re: Partitioning problem.
Post by: epic7 on February 17, 2013, 08:42:11 pm
Quote from: pimathbrainiac
Assuming Ubuntu: Launch disk manager from the command line with sudo
How do you launch disk manager? :P
Title: Re: Partitioning problem.
Post by: pimathbrainiac on February 17, 2013, 08:47:12 pm
IDK what the command line name is...
Title: Re: Partitioning problem.
Post by: willrandship on February 18, 2013, 02:28:49 am
gparted is the one Ubuntu uses. And you really shouldn't have done that. It takes a long time to do because data needs to be moved around in order to allow splitting the partition evenly into Used space and Unused space, so a new partition can actually be made without fragmenting the drive.
Title: Re: Partitioning problem.
Post by: pimathbrainiac on February 18, 2013, 09:54:17 am
defragment first, then
Title: Re: Partitioning problem.
Post by: shmibs on February 18, 2013, 01:09:43 pm
chkdsk /f (https://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/chkdsk.mspx)
Title: Re: Partitioning problem.
Post by: willrandship on February 18, 2013, 01:52:54 pm
Defragmenting isn't enough by itself. The whole files can still be in the part of the drive you want to split. The process just takes a long time.