To install Ubuntu alongside Windows 7, I have to shrink Windows 7 partition C:. But due to some unmovable files, I cannot shrink as much as I plan by using Windows own shrinking tool. I guess many of you who have both OSes on the same hard drive must have similar experience. How to solve this problem?
Any reference that can help is also appreciated!
Thanks and regards!
UPDATE:
I have identified what unmovable file currently stop further shrinking:
If I understand correctly, the file belongs to Windows Search. Can I set up somewhere in Windows system settings to temperately eliminate the file and similar ones (because there are many similar files under the same directory which I guess will also stand in the way of shrinking and unmovable by defrag)?
Tim
TimTim8,4374444 gold badges109109 silver badges183183 bronze badges
closed as off-topic by chaskes, Eric Carvalho, Richard, waltinator, RinzwindMay 10 '14 at 7:48
This question appears to be off-topic. The users who voted to close gave this specific reason:
- 'This is not about Ubuntu. Questions about other Linux distributions can be asked on Unix & Linux, those about Windows on Super User, those about Apple products on Ask Different and generic programming questions on Stack Overflow.' – chaskes, Eric Carvalho, Richard, waltinator, Rinzwind
6 Answers
Just had the same problem, but the instructions in Working around Windows' 'Shrink Volume' inadequacies worked well for me. (The title mentions Vista, but it worked well for Windows 7 too.)
It's a bit long to repeat here, but the main points are
- Close every program you can (any file currently in use is treated as unmovable, including browser cache files)
- Run the Windows Disk Cleanup Wizard
- Disable pagefile, kernel memory dump, system restore and hibernation (the primary system level unmovable files)
- Run a defragmenter that can move files to the start of the disk
On a 60 GB SSD with about 35 GB free space, 'Shrink Volume' in Windows 7 initially freed a paltry 100 MB, but following the steps in the article it was able to free the whole 35 GB.
See also the ubuntuguide.org documentation on multiple OS installation.
j-g-faustusj-g-faustus4,21266 gold badges3030 silver badges4545 bronze badges
The old fashioned way before Windows finally came up with their own resize tool: gparted. Best done from the live cd.
psusipsusi31.7k11 gold badge5151 silver badges9292 bronze badges
There's a great defrag utility for Windows that can move all the files to the front of the disk, as well the little bit of space used between files (interstice problem): dirms (dirms-cl).
Running the defrag in safe mode may help with the unmovable file. Of course, what will certainly help is to make sure the filesystem is not in use before defragmenting (by booting Windows from CD/DVD or by using another computer for the defrag operation).
Does not work with Windows 7.
user8290
if you plan to dual boot with partitions on the same physical drive I recommend you use the Windows partition method as detailed here but you should always defrag the hard drive first.
While
gparted
is an excellent partition tool it does not take into consideration the fragmented data on the drive.Trust me - from past experience once you make the mistake of not defragging the Windows partition using Windows tools you will screw up the windows install and will end up having to re-install it as well.
Mark RooneyMark Rooney6,01111 gold badge2929 silver badges5757 bronze badges
Kill the explorer.exe using task manger and reload it.Then try to shrink the partition
TechmanTechman
Well, I've just spent a day trying to get various defraggers to move the (extremely stubborn) unmovable metadata which Win7 puts in the middle of the drive for safety. None worked (Raxco, Ultradefrag, Win7 defragger). Finally I used MiniTools Partition Wizard (free for home use) which 'knows' about Win7 and does not mess up the Win installation. From what I have read, GParted (which I know and love) seriously risks screwing things royally, and I could not take the risk. Partition Wizard seems a very slick program, BTW. I used the CD version - much safer.
user10483
Not the answer you're looking for? Browse other questions tagged 10.10dual-bootwindows-7 or ask your own question.
To install Ubuntu alongside Windows 7, I have to shrink Windows 7 partition C:. But due to some unmovable files, I cannot shrink as much as I plan by using Windows own shrinking tool. I guess many of you who have both OSes on the same hard drive must have similar experience. How to solve this problem?
Any reference that can help is also appreciated!
Jurassic world the game hack 2019. Thanks and regards!
UPDATE:
I have identified what unmovable file currently stop further shrinking:
If I understand correctly, the file belongs to Windows Search. Can I set up somewhere in Windows system settings to temperately eliminate the file and similar ones (because there are many similar files under the same directory which I guess will also stand in the way of shrinking and unmovable by defrag)?
Tim
TimTim8,4374444 gold badges109109 silver badges183183 bronze badges
closed as off-topic by chaskes, Eric Carvalho, Richard, waltinator, RinzwindMay 10 '14 at 7:48
Cannot Shrink C Drive Windows 7
This question appears to be off-topic. Need for speed 1 download full. The users who voted to close gave this specific reason:
- 'This is not about Ubuntu. Questions about other Linux distributions can be asked on Unix & Linux, those about Windows on Super User, those about Apple products on Ask Different and generic programming questions on Stack Overflow.' – chaskes, Eric Carvalho, Richard, waltinator, Rinzwind
6 Answers
Just had the same problem, but the instructions in Working around Windows' 'Shrink Volume' inadequacies worked well for me. (The title mentions Vista, but it worked well for Windows 7 too.)
It's a bit long to repeat here, but the main points are
- Close every program you can (any file currently in use is treated as unmovable, including browser cache files)
- Run the Windows Disk Cleanup Wizard
- Disable pagefile, kernel memory dump, system restore and hibernation (the primary system level unmovable files)
- Run a defragmenter that can move files to the start of the disk
On a 60 GB SSD with about 35 GB free space, 'Shrink Volume' in Windows 7 initially freed a paltry 100 MB, but following the steps in the article it was able to free the whole 35 GB.
See also the ubuntuguide.org documentation on multiple OS installation.
j-g-faustusj-g-faustus4,21266 gold badges3030 silver badges4545 bronze badges
The old fashioned way before Windows finally came up with their own resize tool: gparted. Best done from the live cd.
psusipsusi31.7k11 gold badge5151 silver badges9292 bronze badges
There's a great defrag utility for Windows that can move all the files to the front of the disk, as well the little bit of space used between files (interstice problem): dirms (dirms-cl).
Running the defrag in safe mode may help with the unmovable file. Of course, what will certainly help is to make sure the filesystem is not in use before defragmenting (by booting Windows from CD/DVD or by using another computer for the defrag operation).
Does not work with Windows 7.
user8290
if you plan to dual boot with partitions on the same physical drive I recommend you use the Windows partition method as detailed here but you should always defrag the hard drive first.
While
gparted
is an excellent partition tool it does not take into consideration the fragmented data on the drive.Trust me - from past experience once you make the mistake of not defragging the Windows partition using Windows tools you will screw up the windows install and will end up having to re-install it as well.
Mark RooneyMark Rooney6,01111 gold badge2929 silver badges5757 bronze badges
Kill the explorer.exe using task manger and reload it.Then try to shrink the partition
TechmanTechman
Well, I've just spent a day trying to get various defraggers to move the (extremely stubborn) unmovable metadata which Win7 puts in the middle of the drive for safety. None worked (Raxco, Ultradefrag, Win7 defragger). Finally I used MiniTools Partition Wizard (free for home use) which 'knows' about Win7 and does not mess up the Win installation. From what I have read, GParted (which I know and love) seriously risks screwing things royally, and I could not take the risk. Partition Wizard seems a very slick program, BTW. I used the CD version - much safer.
user10483
Not the answer you're looking for? Browse other questions tagged 10.10dual-bootwindows-7 or ask your own question.
Hi all,
I am trying to dual-boot Ubuntu and Windows 10 on my computer. I currently have Windows 10 installed and am trying to partition(split) my D drive to create a new drive for Ubuntu. My D drive currently has 100GB of free space. However, in Disk Management, only 4.85GB is showing up as 'available shrink space.' Therefore, I cannot make a new drive big enough to run Ubuntu on. Is there any way of getting around this? It might be helpful to know windows says 'cannot shrink volume beyond the point where any removable files are located.' The defragment and optimization tool doesn't help, I pressed 'optimized' but nothing changes
Best, Kevin
Similar help and support threads | ||||
Thread | Forum | |||
95GB Free, Disk Management Says 254MB Available to Shrink Attempting to configure a duel-boot, so I want to make my allocated space beforehand. I've done this before in the past, not sure what the deal is. http://i.imgur.com/UZ8Z0mL.jpg http://i.imgur.com/undefined.jpg | Hardware & Devices | |||
Not enough space error using Disk Management to shrink volume There is pretty much space on C drive, but it does not allow me to shrink. Any suggestion will be appreciated. | Hardware & Devices | |||
Windows Disk Management hangs when I hit Shrink Volume. Hello, Windows Disk Management hangs when I hit Shrink Volume. I have never had this problem before.. Plus this is a new computer, haha. Any ideas guys? Specs: 1TB SATA HDD Windows 7 Ultimate x64 | Hardware & Devices | |||
Can't extend volume in disk management. Hi all, my English isn't so good, so i'm sorry. one of my disk split to 2 volume, when I try to extend the volumes in disk management, I had error 'there is not enough space available on the disk(s) to complete this operation'. What can I do | Hardware & Devices | |||
after shrink with Disk management, no unallocated partition I used Disk management to shrink 25GB from 1 partition but the computer just 'working' for a quite long time and then it go 'Not responding', I closed it and restart the computer but I cannot find the unallocated partition while the shrunk partition lost 25GB I used EaseUS and Disk Management to.. | General Discussion |