New
#50
@Kari, do you know how to use DiskPart to create a swap partition? I know how to create it via GParted, but I wonder whether it is possible to do so via DiskPart on Windows.
What do you mean - swap partition?
There is no such thing. The swapfile.sys file normally resides on C drive and is quite small. It can get moved to any primary partition but I would not bother. Also a lot of crap web advice says to move this (and pagefile.sys) to a mechanical HDD rather than an SSD to save wear and tear on SSD. Modern SSDs are very write resiliant, and moving such files to HDDs just reduce performance (and shorten life of HDD).
However, if you have say an older "sacrificial" SSD, I suppose there is some merit inmoving them, but frankly I would not bother as I always have the C drive SSD as the fastest SSD, and hence best performance.
PS - as an aside, it is not really necessary to specifically target Kari for anwers to general questions like this, or else he will get bombarded with notifications on questions others can also answer.
If you really need a personal interaction, pm him instead. By the same token, Kari (or any regular) does not want to be bombarded with PMs for questions that could be answered by others in open forum.
There is such a thing on GParted. DiskPart does not seem to support such a thing.
Swap Space in Operating System - GeeksforGeeks
I will go to a Linux forum.
As you probably know Linux installer will create a swap partition. If it doesn’t you can always create one using GParted. You will then need make Linux aware of it so it can use it. There are an number of how to tutorials around for doing this. I remember I somehow installed Linux without a swap partition and had to create one. It’s not a big deal to do it.
Last edited by SoFine409; 23 Aug 2021 at 09:32.
A swap space can even be shared between Windows and Linux.
dual boot - Sharing swap space between Windows and Ubuntu - Ask Ubuntu
I have a drive I have just reinstalled with the latest Windows 10 updates and version on it and it is an MBR drive now from what I can see have to wipe the drive to convert it to GPT .
So if I start with a brand new drive how do I make it a GPT disk without having to install windows all over again to get to diskpart?? Can it be done through the BIOS for example??
Convert Windows 10 from Legacy BIOS to UEFI without Data Loss
This tutorial will show you how to convert a Legacy BIOS Windows 10 installation using a MBR disk to a UEFI Windows 10 installation using a GPT disk without data loss.
Thank you Kari for your excellent tutorial.
But, I'm unclear on Script Two, first line
- is this still for a dual boot disk prep? If it is, I don't understand how, sorryCode:
rem DISKPART script for single disk dual boot
----------------------------------------------------------------------
EFI System partition size :
runwithascript said : (28 Dec 2018)
I had read recently that the recommended size for an EFI partition is actually 577MB
I too have seen the 577Mb figure, on a Linux forum somewhere, to allow for Linux functions that I cannot correctly name here. For me, Linux remains a 'maybe one day' adventure.
Additionally, https://docs.microsoft.com/en-us/win...ocker-overview, 10/01/2021 includes
If I am reading MS-speak correctly with 'system drive' meaning EFI System partition, perhaps the 100Mb size in your tutorial should be changed (or at least users should be made aware)?The hard disk must be partitioned with at least two drives:
The operating system drive (or boot drive) contains the operating system and its support files. It must be formatted with the NTFS file system.
The system drive contains the files that are needed to load Windows after the firmware has prepared the system hardware. BitLocker is not enabled on this drive. For BitLocker to work, the system drive must not be encrypted, must differ from the operating system drive, and must be formatted with the FAT32 file system on computers that use UEFI-based firmware or with the NTFS file system on computers that use BIOS firmware. We recommend that system drive be approximately 350 MB in size. After BitLocker is turned on it should have approximately 250 MB of free space.
Thanks Paul Black
Script Two creates one OS partition, using all space other than EFI/MSR/WinRE. I think your reply would be created usingScript Two: An alternative DISKPART script to partition a HDD / SSD for single OS assigning all available space to system (Windows) partition:so, it seems to me that 'dual boot' be removed from Script Two, first line. Not being pedantic, just trying to avoid confusion. Or am I missing something?Script One: DISKPART script to partition a HDD / SSD for dual boot, or for separate Windows and Data partitions:
Also, any advice on EFI size please?
(I realise that my post appearance does not yet match the clarity of other posts regarding the pasting of Quotes, Member name green arrows etc. I've checked How to Change Post Editor to Source or WYSIWYG Mode at TenForums.com but haven't yet found a guide to the interface buttons, pasting quote within a quote, etc). Thanks