Close Menu
    X (Twitter)
    Hectic GeekHectic Geek
    • Apps
      • Apps for Mac
      • Apps for PCs
      • Best Apps
    • Concepts
      • Comparison
      • For Geeks
      • IT Careers
    • Gadgets
      • Accessories
      • Best Work Laptops
      • Budget Laptops
    • GNU/Linux
      • Ubuntu
    • How To
      • Virtualization
      • Windows
      • Windows How-To
    Hectic GeekHectic Geek
    Home » Remove ‘EFI’ & Other Partitions on a USB Flash Drive Using Windows 8 (Created by ‘dd’)
    Windows How-To

    Remove ‘EFI’ & Other Partitions on a USB Flash Drive Using Windows 8 (Created by ‘dd’)

    GayanBy GayanJanuary 16, 2013Updated:May 29, 202067 Comments4 Mins Read
    Twitter Reddit Telegram WhatsApp Email
    Share
    Twitter Reddit Telegram WhatsApp Email

    In GNU/Linux, you can create a bootable USB flash drive using an ISO disc image of another distribution, by using the command-line. The command that is used to create that is called ‘dd’.

    By default, almost all USB flash drives use a common partition layout (which of course can be changed) that consists of a single, primary partition occupying the whole space. However, when you use ‘dd’ on an USB flash drive, it will destroy this layout and will create a new partition layout.

    It will create a partition that is big enough to hold the data of that ISO file, followed by another special partition called ‘EFI System Partition’ that stores files related to booting etc and finally, the remaining space (if any) of the USB flash drive will be hold in, as an ‘Unallocated area’.

    'Disk manager' in Windows 8 showing 'EFI' and other partitions

    The thing is, other operating systems like Windows 8 will only recognize the ‘EFI System Partition’ (which is usually around 2-3MB) and the rest of the ‘free space’ will be unusable!. Even other advanced tools like the ‘disk manager’ in Windows, though it properly recognizes the partition layout, won’t let you create a partition on the remaining ‘free space’ and use that space either.

    Windows 8 showing the 'EFI' partition of a USB flash drive

    Not only in Windows, but some tools in GNU/Linux have also failed while letting me create a partition on this ‘unallocated area’ as well.

    I personally don’t like this approach used by ‘dd’ (though it might have some advantageous), as it creates unnecessary complications, because you can still create a bootable USB flash drive, without having to repartition it this way, thus you will be able use it as usual (reformat, delete or add files etc).

    Nevertheless, if you did not know this at the time you used ‘dd’ and looking for a way to get rid of it using Windows 8, then please follow the below steps. Not only by ‘dd’, you can use these instructions for getting rid of ‘EFI’ partitions created by other tools too.

    Note: Before proceeding, please be aware that, this will destroy all the data on the drive!.

    Step 1:

    Press the ‘Windows key’ on your Keyboard and then simply type the below command.

    cmd

    Step 2:

    Then Windows 8 will locate the ‘cmd’ application. Now, as shown below, right click on its icon and then from the options that will be listed at the bottom of the screen, select ‘Run as Administrator’.

    Running 'cmd' as the administrator in Windows 8

    When asked, click ‘Yes’ to the next message.

    Step 3:

    This will open ‘cmd’ with administrative privileges. Once it is opened, type the below command on its window (make sure the USB drive is attached).

    diskpart

    Then wait for few seconds, until the command prompt changes into ‘DISKPART>’.

    Step 4:

    Now enter the below command.

    list disk

    This command, as shown below, will give you a list of all the disk drives that are currently attached to your computer (USB, IDE, SATA etc).

    Using 'diskpart' for listing attached disc drives

    Now have a careful look at its output and make a note of the disk drive number of the USB flash disk that we need to restore to its original partition layout (in this instance it is ‘Disk 1’).

    Step 5:

    Once you know the disk number, simply replace the ‘Disk 1’ (unlike GNU/Linux, Windows is not case-sensitive, so you should be able to use ‘disk 1’ as well) part of the below command with your disk’s given name and execute it.

    select Disk 1

    When you issue this command, it will give you an output saying that, that particular disk is now selected (shown below).

    Using 'diskpart' to select a disk

    Step 6:

    Now to delete the partition layout of this disk, enter the below command (this will erase the entire disk!, so make sure the entered disk name is correct!).

    clean

    If you get an error saying that somehow ‘diskpart’ was unable to do it (it happens sometimes), then try the ‘clean’ command again. If everything goes accordingly, then you should see the message ‘DiskPart’ succeed in cleaning the disk’.

    Successfully erasing the partition layout using 'diskpart'

    Step 7:

    Now all we have to do is to create the standard partition layout that is used in USB flash drives (a single, primary partition, occupying the whole space). For that, enter the below command.

    create partition primary

    If it was successfully created, you should see a message saying ‘DiskPart succeeded in creating the specified partition’.

    Creating a primary partiton on the USB flash drive using 'diskpart'

    Step 8:

    Now open ‘My Computer’, double click on the USB flash drive’s icon, and Windows 8 will ask whether you’d like to format the drive or not.

    Windows 8 asking for the permission to format the usb flash drive partition created using 'diskpart'

    Then make your selections from the ‘format disk’ window that you get next (when unsure, use the default settings), once done, click on the ‘Format’ button.

    That’s it, now you should have restored your USB flash drive to its original partition layout and can start using it as usual. Good luck.

    Credits: Some information via ‘Winability.com’.

    How-To
    Share. Twitter Reddit Telegram WhatsApp Email
    Gayan

    An RHCE, 'Linux' user with 14+ years of experience. Extreme lover of Linux and FOSS. He is passionate to test every Linux distribution & compare with the previous release to write in-depth articles to help the FOSS community.

    Related Posts

    [Fixed] HDMI No Signal to TV or Monitor on Windows 10/11

    November 7, 2023

    Compress Your OS Drive to Save Disk Space – Is It Worth?

    June 1, 2023

    How to Convert IMG to ISO in Windows 10/11?

    May 20, 2023

    How to Enable 2-Factor Authentication for Outlook Web App

    November 10, 2022

    What is a Browser Hijacker? How to Remove It

    June 28, 2022

    Install Bluestacks on Windows 11,10 & 7 with Offline Installer and Graphic Card Error Fix

    June 3, 2022

    67 Comments

    1. Yulisman on April 24, 2018 9:49 am

      thanks this save my life

      Reply
      • Gayan on May 1, 2018 12:10 pm

        You’re welcome.

        Reply
    2. Samuel on May 13, 2018 9:58 pm

      Thank you a lot gayan, woks great

      Reply
      • Gayan on May 30, 2018 6:57 am

        You’re welcome.

        Reply
    3. prasha on July 28, 2018 3:24 pm

      Thank you sir its worked

      Reply
      • Gayan on August 6, 2018 9:29 pm

        You’re welcome.

        Reply
    4. adhitia on August 5, 2018 8:06 am

      Thank you for your tutorial 🙂

      Reply
      • Gayan on August 6, 2018 9:27 pm

        You’re welcome 🙂 .

        Reply
    5. javad on August 20, 2018 7:34 pm

      AW that was an awesome help. Got rid of the second redundant partition. Thanks

      Reply
      • Gayan on September 24, 2018 9:20 am

        You’re welcome.

        Reply
    6. Ze on September 12, 2018 2:24 pm

      Thank you, this was very helpful and self explanatory! It solved the problem.

      Reply
      • Gayan on September 24, 2018 9:17 am

        You’re welcome.

        Reply
    7. Mahomed on October 14, 2018 3:08 pm

      Thank you sir. Finaly recoveried my usb

      Reply
      • Gayan on October 15, 2018 9:29 am

        You’re welcome.

        Reply
    8. Adam on October 19, 2018 12:17 am

      Hi
      I have microSD HC card.
      When I try to make format this card Win7 showing that “Win7 couldn’t finish format drive” In settings of card i can’t do nothing :/
      What to do ? Can U help ?

      Reply
    9. AKTA on December 29, 2018 5:55 am

      Thank you so much! It worked. I couldn’t use GParted, so this helped me a lot!

      Reply
      • Gayan on January 12, 2019 8:33 am

        My pleasure 🙂 .

        Reply
    10. Jimmy on March 15, 2019 3:12 pm

      Thanks a million!
      Worked!!!

      Reply
      • Gayan on March 16, 2019 5:36 am

        You’re welcome.

        Reply
    11. harsh on August 12, 2019 3:12 pm

      Thanks sir. I have searched for a way long time and finally you have told me how to do the same..

      Reply
      • Gayan on August 12, 2019 5:29 pm

        You’re welcome.

        Reply
    12. Jaime on August 18, 2019 9:57 pm

      Amazing way of explaining how to solve this issue. It worked great and it works for Windows 7, Windows 8, and Windows 10.

      Reply
      • Gayan on August 19, 2019 4:58 pm

        You’re welcome Jaime.

        Reply
    13. Nick on November 29, 2019 10:25 am

      Amazingly simple and coherent.
      Thank you Gayan

      Reply
      • Gayan on December 3, 2019 9:02 pm

        You’re welcome Nick.

        Reply
    14. Yuz on January 2, 2020 2:51 pm

      Thanks for steps Gayan

      Reply
      • Gayan on January 8, 2020 9:00 am

        You’re welcome.

        Reply
    15. Vikash on February 7, 2020 8:23 pm

      My SD card is not at opening. No drive on THIS PC . Disk Management, Diskpart , Easeus data recovery tool, Disk drill, etc. Just keep on buffering till infinity. No software worked for my SD card. Do you have any solution?????

      Reply
    ← Older Comments
    Leave A Reply Cancel Reply

    This site uses Akismet to reduce spam. Learn how your comment data is processed.

    Latest Posts

    Transforming Geek Culture with Advanced Software Development

    April 8, 2024

    The Role of Technology in Enhancing Digital Signage Solutions

    February 21, 2024

    How to Check Linux CPU Usage?

    February 5, 2024

    Linux export Command: A Comprehensive Tutorial

    February 3, 2024

    [Fixed] HDMI No Signal to TV or Monitor on Windows 10/11

    November 7, 2023

    AlmaLinux vs Ubuntu – How to Select the Best One?

    October 22, 2023

    Subscribe to Updates

    Get the latest news and updates from Hectic Geek. We won't overload you or sell your data!

    Contact
    • About Us
    • Contact Us
    • Privacy Policy
    • Write for Us
    X (Twitter)
    © 2026 Hectic Geek.

    Type above and press Enter to search. Press Esc to cancel.