Windows 10: Create bootable UEFI Defrag Flash Drive?

Page 1 of 2 12 LastLast

  1. Posts : 5
    Windows 10/Kali Linux
       28 Feb 2016 #1

    Create bootable UEFI Defrag Flash Drive?


    Here is the issue I am currently at:

    I have a Surface Pro 4 that I want to set up a Dual Boot on. I normally wouldn't have too much of an issue resolving this on my own, but due to the Surface Pro 4 not supporting Legacy flash drives, my standard way (Booting into a MBR Flash Drive w/ an Offline OS on it and doing the defrag/moving the files to the beginning of the drive) of solving this issue has left me baffled. I've attempted downloading Rufus and utilizing a MBR ISO (Which failed, since it didn't have the EFI boot sector on it), going back and forth amongst various methods of removing secure boot (which was a doozy at first, after having to go through recovering my BitLocker key) in order to boot from legacy, all to no avail.

    Basically, I want to take my SSD, and move all the files to the beginning, which I can't do in Windows due to system files being in use (Ironically, a large portion being near the end of the drive). All I am looking for is a method to create a bootable UEFI flash drive that I can use to defrag/do this from. I've dug a little bit around on Linux and didn't find anything that seemed to be able to do it, as most options seemed only relevant to Windows PCs. Is there any options available to do this? Or would formatting and reinstalling it be the only option?

    ~ Thanks in advance
      My ComputerSystem Spec


  2. Posts : 1,178
    Windows 10 Home
       28 Feb 2016 #2

    Welcome to TenForums, QuentinX5.

    Defragging an SSD is the last thing you want to do. There IS no "front of the drive" on an SSD. All you'll do is shorten its useful lifetime unnecessarily.

    If it's actually just moving your partitions around, that's another can of worms - there are free tools available to do that which you can't do (either conveniently or at all) with Windows native Disk Management or without knowing how to use diskpart at a command prompt.

    If it's really just partitioning you want to do, you'll get a more effective help if you post a screen shot of your partition layout in Disk Management and explain what your ultimate goal is. Here's a tutorial on how to do that: Disk Management - How to Post a Screenshot of


    Do I surmise correctly that you simply want to shrink your OS partition and make room for another partition to put a 2nd OS on?
    Last edited by Word Man; 28 Feb 2016 at 20:45. Reason: Added link to DM screenshot tut - then moved it to the correct placement - doh!
      My ComputerSystem Spec

  3.    28 Feb 2016 #3

    Make a bootable flash drive of Kyhi's Recovery PE ISO:
    Windows 10 Recovery Tools - Bootable Rescue Disk - Windows 10 Forums

    Follow these instructions - just use his ISO instead of Windows installation ISO:
    USB Flash Drive - Create to Install Windows 10 - Windows 10 Forums

    Then use MiniTool Partition Wizard to shrink your existing partition and add space for your second OS. As Word Man posted - defragging is for disk type Hard Disk Drives, not for SSDs or eMMC.

    You can also probably just install MiniTool Partition Wizard free and use it from within Windows - when shrinking the current OS partition it will tell you it needs to restart to do so.
    Best Free Partition Manager for Windows | MiniTool Partition Free
      My ComputerSystem Spec


  4. Posts : 1,849
    Windows 3.1 to Windows 10
       28 Feb 2016 #4

    Make a bootable flash drive of Kyhi's Recovery PE ISO:
    Windows 10 Recovery Tools - Bootable Rescue Disk - Windows 10 Forums

    Follow these instructions - just use his ISO instead of Windows installation ISO:
    USB Flash Drive - Create to Install Windows 10 - Windows 10 Forums
    Never in my life has there every been a need to use RUFUS to create bootable PE Media....

    Just copy contents of ISO to Fat32 formatted USB
      My ComputerSystem Spec

  5.    28 Feb 2016 #5

    Thank you for the polite correction.
    Last edited by NavyLCDR; 28 Feb 2016 at 21:27.
      My ComputerSystem Spec


  6. Posts : 5
    Windows 10/Kali Linux
    Thread Starter
       28 Feb 2016 #6

    Word Man said: View Post
    Welcome to TenForums, QuentinX5.

    Defragging an SSD is the last thing you want to do. There IS no "front of the drive" on an SSD. All you'll do is shorten its useful lifetime unnecessarily.

    If it's actually just moving your partitions around, that's another can of worms - there are free tools available to do that which you can't do (either conveniently or at all) with Windows native Disk Management or without knowing how to use diskpart at a command prompt.

    If it's really just partitioning you want to do, you'll get a more effective help if you post a screen shot of your partition layout in Disk Management and explain what your ultimate goal is. Here's a tutorial on how to do that: Disk Management - How to Post a Screenshot of


    Do I surmise correctly that you simply want to shrink your OS partition and make room for another partition to put a 2nd OS on?
    That is exactly what I am trying to do; shrink the space on my Windows partition by about 20GB so I can add in a Linux OS. The issue is that there are system files located at the end of the partition, so I can only shrink it by about 1GB (Which isn't enough for me to install an OS on). Here is a picture to better explain why I am trying to migrate those files closer to the front of the partition: Click image for larger version. 

Name:	Space.png 
Views:	2 
Size:	583.9 KB 
ID:	66941


    Kyhi said: View Post
    Never in my life has there every been a need to use RUFUS to create bootable PE Media....

    Just copy contents of ISO to Fat32 formatted USB
    The problem is not so much creating a formatted USB (Trust me, I have plenty of those bootable USBs laying around for legacy support). It's booting from an EFI-enabled flash drive. The Surface Pro doesn't support the use of MBR bootloaders, so I need to create an EFI-bootable flash drive that I can do some sort of disk management from, since the files I need to move are system files and untouchable as long as I am inside the OS. I'm trying to consolidate the free space, so the partition is as small as it can possibly be.
    Attached Thumbnails Attached Thumbnails Space.png  
      My ComputerSystem Spec


  7. Posts : 1,178
    Windows 10 Home
       28 Feb 2016 #7

    I haven't got first hand experience with Bitlocker Encrypted drives to know all the ins and outs. However, my gut tells me you are better off turning off Bitlocker AND un-encrypting the drive before manipulating that partition.

    Once you do that, it is best if you make a complete image of the disk (with a reliable imager like, for instance, Macrium Reflect Free) to an external drive.

    Then, it would be a simple matter (if Disk Management can't shrink that C: partition further than now) to shrink the partition with the free MiniTool Partition wizard by 20 GB to make room for Linux. It will go off-line if need be to shrink the partition as ordered.

    You should be able to then re-encrypt the drive once you're done with changing the partitions.

    You wouldn't necessarily want to mess with the EFI System Partition as UEFI is using that to boot.
      My ComputerSystem Spec

  8.    28 Feb 2016 #8

    QuentinX5 said: View Post
    That is exactly what I am trying to do; shrink the space on my Windows partition by about 20GB so I can add in a Linux OS. The issue is that there are system files located at the end of the partition, so I can only shrink it by about 1GB (Which isn't enough for me to install an OS on). Here is a picture to better explain why I am trying to migrate those files closer to the front of the partition:
    MiniTool Partition Wizard Free will move the files that it needs to in order to shrink the partition.
      My ComputerSystem Spec


  9. Posts : 5
    Windows 10/Kali Linux
    Thread Starter
       29 Feb 2016 #9

    Word Man said: View Post
    I haven't got first hand experience with Bitlocker Encrypted drives to know all the ins and outs. However, my gut tells me you are better off turning off Bitlocker AND un-encrypting the drive before manipulating that partition.

    Once you do that, it is best if you make a complete image of the disk (with a reliable imager like, for instance, Macrium Reflect Free) to an external drive.

    Then, it would be a simple matter (if Disk Management can't shrink that C: partition further than now) to shrink the partition with the free MiniTool Partition wizard by 20 GB to make room for Linux. It will go off-line if need be to shrink the partition as ordered.

    You should be able to then re-encrypt the drive once you're done with changing the partitions.

    You wouldn't necessarily want to mess with the EFI System Partition as UEFI is using that to boot.
    Wasn't even considering the BitLocker Encryption when I first thought of doing this project... That may explain why the drive and some of it's system files are unmovable... I'm going to try turning that off first, and then move on from there. Thank you!
      My ComputerSystem Spec

  10.    29 Feb 2016 #10

    Kyhi said: View Post
    Never in my life has there every been a need to use RUFUS to create bootable PE Media....

    Just copy contents of ISO to Fat32 formatted USB
    The issue is subtle. It is how the flash drive is setup that is important ie mbr or gpt format.

    If the pc does not support legacy bios, they will not boot from an mbr based flash drive at all. You have to convert the flash drive to gpt format first, or use the 'gpt format for uefi install' option in rufus.

    Then you can simply copy contents of iso as you say.
      My ComputerSystem Spec


 
Page 1 of 2 12 LastLast

Related Threads
Installation & Upgrade Create Bootable USB Flash Drive to Install Windows 10 in Tutorials
How to Create a Bootable USB Flash Drive to Install Windows 10 This tutorial will show you how to create a bootable USB flash drive that can be used to install Windows 10 with or without UEFI. CONTENTS: Option One: Use Media Creation...
Hello! I recently used a 16GB USB flash drive to create an installer for a new Linux distro. I noticed that the created partition is 8GB and the rest 8GB is unused. I want to create a second NTFS partition so I can use the USB as a recording...
Solved USB Flash Drive UEFI problem in Installation and Upgrade
Hello Tenforums.com No matter what I do, my Lenovo Flex 2-14 doesn't seem to recognise my USB as an UEFI Windows bootable flash device, despite following this guide...
Tried looking this up online, but couldn't find any specific information. I'm running on Windows 10 Home, and I have a Windows 10 ISO I want to put in a flash drive so it's bootable. How do I do this?
I have been trying to create a USB installation drive. I have the Windows10 .iso image. I have created a recovery USB drive but it doesn't allow me to access the image just the advanced options. I want to be able to do a clean install of Windows...
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 14:14.
Find Us