I have an HP Elite with Windows 10. The result of searching suggests that one can shrink the C: drive, e.g. through disk management, even while running Windows. Is this correct? If not, would someone be kind enough to point to the preoper procedure?
On 2 Aug 2023, at 02:37, Michael Hennebry hennebry@web.cs.ndsu.nodak.edu wrote:
I have an HP Elite with Windows 10. The result of searching suggests that one can shrink the C: drive, e.g. through disk management, even while running Windows. Is this correct? If not, would someone be kind enough to point to the preoper procedure?
I search the web for windows shrink partition and found a lots of results. This one from microsoft support is a good starting point https://support.microsoft.com/en-us/topic/microsoft-support-how-to-re-partit...
I cannot recall the exact steps i used in the past, but the online shrink is safe on windows.
Barry
-- Michael hennebry@mail.cs.ndsu.NoDak.edu "Occasionally irrational explanations are required" -- Luke Roman _______________________________________________ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-leave@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
On Tue, Aug 1, 2023 at 7:37 PM Michael Hennebry < hennebry@web.cs.ndsu.nodak.edu> wrote:
I have an HP Elite with Windows 10. The result of searching suggests that one can shrink the C: drive, e.g. through disk management, even while running Windows. Is this correct?
I use "gparted" for this ('dnf install gparted'). It seems to work quite well on Windows NTFS file systems and partitions. I have successfully used gparted on ext4 and xfs partitions as well, but I have never tried it on btrfs.
--Greg
None of the hits I got from search made explicit that one could shrink the C: partition even while it was in use. They focused on getting around Windows shrink's liomitations. From the list responses, I gather that one can indeed srink the C: partition while it is in use.
On Thu, Aug 3, 2023 at 12:37 AM Michael Hennebry < hennebry@web.cs.ndsu.nodak.edu> wrote:
None of the hits I got from search made explicit that one could shrink the C: partition even while it was in use. They focused on getting around Windows shrink's liomitations. From the list responses, I gather that one can indeed srink the C: partition while it is in use.
I've been shrinking the Windows partition to make space for linux using Windows Disk Management for years. There are caveats. See:
< https://learn.microsoft.com/en-us/windows-server/storage/disk-management/shr...
On 8/3/2023 6:14 AM, George N. White III wrote:
On Thu, Aug 3, 2023 at 12:37 AM Michael Hennebry hennebry@web.cs.ndsu.nodak.edu wrote:
None of the hits I got from search made explicit that one could shrink the C: partition even while it was in use. They focused on getting around Windows shrink's liomitations. From the list responses, I gather that one can indeed srink the C: partition while it is in use.
I've been shrinking the Windows partition to make space for linux using Windows Disk Management for years. There are caveats. See:
https://learn.microsoft.com/en-us/windows-server/storage/disk-management/shrink-a-basic-volume
-- George N. White III
One thing I have noticed while on the subject of partitions , is that most partition systems leave some extra space unaccounted for. I free this up with gparted myself. I haven't used windows to shrink a partition for a while and I am sure it does the same thing. Windows reports some space but not all of it, while gparted does report all the space.
B
On Thu, Aug 3, 2023 at 10:26 AM Bill Cunningham bill.cu1234@gmail.com wrote:
On 8/3/2023 6:14 AM, George N. White III wrote:
On Thu, Aug 3, 2023 at 12:37 AM Michael Hennebry < hennebry@web.cs.ndsu.nodak.edu> wrote:
None of the hits I got from search made explicit that one could shrink the C: partition even while it was in use. They focused on getting around Windows shrink's liomitations. From the list responses, I gather that one can indeed srink the C: partition while it is in use.
I've been shrinking the Windows partition to make space for linux using Windows Disk Management for years. There are caveats. See:
< https://learn.microsoft.com/en-us/windows-server/storage/disk-management/shr...
-- George N. White III
One thing I have noticed while on the subject of partitions , is that most partition systems leave some extra space unaccounted for. I free this up with gparted myself. I haven't used windows to shrink a partition for a while and I am sure it does the same thing. Windows reports some space but not all of it, while gparted does report all the space.
B
I just went through this to install Fedora on my wife's laptop. I tried
the windows shrink, but it would only free up 128MB of the 60GB that should have been available. I followed elaborate instructions to tell windows not to use a paging file, and also turned off some other feature that uses hidden space, but never got windows to free up more than 128MB. I gave up and stole the recovery partition, which was 18GB. Not much, but good enough for now.
On Thu, 2023-08-03 at 18:32 -0400, Neal Becker wrote:
I just went through this to install Fedora on my wife's laptop. I tried the windows shrink, but it would only free up 128MB of the 60GB that should have been available. I followed elaborate instructions to tell windows not to use a paging file, and also turned off some other feature that uses hidden space, but never got windows to free up more than 128MB. I gave up and stole the recovery partition, which was 18GB. Not much, but good enough for now.
Asking the obvious: Was the drive defragmented?
On Thu, Aug 3, 2023 at 11:52 PM Tim via users users@lists.fedoraproject.org wrote:
On Thu, 2023-08-03 at 18:32 -0400, Neal Becker wrote:
I just went through this to install Fedora on my wife's laptop. I tried the windows shrink, but it would only free up 128MB of the 60GB that should have been available. I followed elaborate instructions to tell windows not to use a paging file, and also turned off some other feature that uses hidden space, but never got windows to free up more than 128MB. I gave up and stole the recovery partition, which was 18GB. Not much, but good enough for now.
Asking the obvious: Was the drive defragmented?
I can't recall if I tried that.
On Fri, Aug 4, 2023 at 8:52 AM Neal Becker ndbecker2@gmail.com wrote:
I can't recall if I tried [defragmenting the file system].
It's been years since I did this, so don't know how much is still relevant....
1) Disable hibernation, reboot, delete hiberfil.sys 2) Check for "shadow copies" or whatever they're called. These are created by Windows Update, backups, etc. As I recall there were several leftover that I had to manually remove. 3 Close any open programs. 4) Use "ccleaner" or a similar app to clean up temp files, etc. Or do it manually. 5) Use Windows "drive cleanup" or whatever it is called to get rid of anything it can. 6) Manually delete the contents of the "Temporary Internet Files" folder - above steps *should* have done this, but I frequently find things leftover. 7) Reboot 8) Close any open programs. 9) Defragment the file system. I always found "mydefrag" better at this than Windows defragmenter. 10) Shrink the file system. 11 Reboot 12) Repeat steps 8 through 11 until you get the desired space or it won't shrink anymore.
The key points are rebooting after doing some of the steps (so open files are closed), and having to do multiple defragment/shrink/reboot passes.
When closing open programs don't forget programs that are in the tray.
Probably a good idea to do a chkdsk before starting.
The only other thing I can think of is that *maybe* you do this from a "safe boot" to minimize open files - I don't recall if I tried that or not.
Hope this helps.
On Thu, Aug 3, 2023 at 7:33 PM Neal Becker ndbecker2@gmail.com wrote:
On Thu, Aug 3, 2023 at 10:26 AM Bill Cunningham bill.cu1234@gmail.com wrote:
On 8/3/2023 6:14 AM, George N. White III wrote:
On Thu, Aug 3, 2023 at 12:37 AM Michael Hennebry < hennebry@web.cs.ndsu.nodak.edu> wrote:
None of the hits I got from search made explicit that one could shrink the C: partition even while it was in use. They focused on getting around Windows shrink's liomitations. From the list responses, I gather that one can indeed srink the C: partition while it is in use.
I've been shrinking the Windows partition to make space for linux using Windows Disk Management for years. There are caveats. See:
< https://learn.microsoft.com/en-us/windows-server/storage/disk-management/shr...
-- George N. White III
One thing I have noticed while on the subject of partitions , is that most partition systems leave some extra space unaccounted for. I free this up with gparted myself. I haven't used windows to shrink a partition for a while and I am sure it does the same thing. Windows reports some space but not all of it, while gparted does report all the space.
I just went through this to install Fedora on my wife's laptop. I tried
the windows shrink, but it would only free up 128MB of the 60GB that should have been available. I followed elaborate instructions to tell windows not to use a paging file, and also turned off some other feature that uses hidden space, but never got windows to free up more than 128MB. I gave up and stole the recovery partition, which was 18GB. Not much, but good enough for now.
I generally do this on a fresh install of Windows before files that
couldn't be moved accumulated.
Thanks for all the help.
I have just a few more questions. C: seems to be almost ready to shrink. Windows' disk manager tells me disk 0 is laid out as follows:
D0P1 C: D0P4=disk 0, partition 4 100 MB 953.26 GB NTFS 509 MB EFI system restore system
Should I ignore the 509 MB and just shrink C: ? Do I need to not ignore the 509 MB?
Once upon a time I had trouble with a DOS-style disk. After my ingeneous editing, partition 3 came before partition 2 or some such thing. A repeat would not be good.
On 4 Aug 2023, at 22:32, Michael Hennebry hennebry@web.cs.ndsu.nodak.edu wrote:
Should I ignore the 509 MB and just shrink C: ?
Yes just shrink C:
Do I need to not ignore the 509 MB?
Yes ignore it.
Barry