Can't format Ubuntu installation stick











up vote
115
down vote

favorite
35












I've made an USB installer stick from Windows with Ubuntu 16.04 LTS , now I'm trying to format it from Ubuntu. When I try to format I get this error :




This partition cannot be modified because it contains a partition table; >please reinitialize layout of the whole device. (udisks-error-quark, 11)











share|improve this question


























    up vote
    115
    down vote

    favorite
    35












    I've made an USB installer stick from Windows with Ubuntu 16.04 LTS , now I'm trying to format it from Ubuntu. When I try to format I get this error :




    This partition cannot be modified because it contains a partition table; >please reinitialize layout of the whole device. (udisks-error-quark, 11)











    share|improve this question
























      up vote
      115
      down vote

      favorite
      35









      up vote
      115
      down vote

      favorite
      35






      35





      I've made an USB installer stick from Windows with Ubuntu 16.04 LTS , now I'm trying to format it from Ubuntu. When I try to format I get this error :




      This partition cannot be modified because it contains a partition table; >please reinitialize layout of the whole device. (udisks-error-quark, 11)











      share|improve this question













      I've made an USB installer stick from Windows with Ubuntu 16.04 LTS , now I'm trying to format it from Ubuntu. When I try to format I get this error :




      This partition cannot be modified because it contains a partition table; >please reinitialize layout of the whole device. (udisks-error-quark, 11)








      usb live-usb format






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked May 7 '16 at 21:18









      Nephilim

      576255




      576255






















          7 Answers
          7






          active

          oldest

          votes

















          up vote
          241
          down vote













          I got this fixed by doing the following




          1. On your unity dash, type disks and launch the Disks application


          2. Select the disk or drive you want to format


          3. Press CTRL+F


          4. Click format.



          After formatting, the disk or drive would be unallocated, therefore you'll have to create a partition by using the plus button on the screen. Then insert the name you'll like to use as the drive or disk name then click on create.






          share|improve this answer



















          • 14




            this should be the accepted answer. everything else is too complicated.
            – Sebastian Wozny
            Jul 1 '17 at 10:32










          • Agree with @SebastianWozny , this method is simple and works well.
            – Inoe
            Aug 29 '17 at 2:21










          • Every other attempt failed except this one.
            – seanbreeden
            Oct 27 '17 at 18:52






          • 8




            After it i dot: "The destination is read-only." run: "sudo killall nautilus" to solve it
            – ChaosPredictor
            Jan 15 at 11:56










          • Its most perfect answer, resolved immediate exact same issue, I was think 2 pendrive crashed, but both now recovered
            – Tejaskumar Tank
            Feb 4 at 19:01




















          up vote
          40
          down vote













          Make sure you have GParted installed. In a terminal window, run



          sudo apt install gparted


          Then open GParted as root (still in the terminal window):



          sudo gparted


          Select your USB stick from the GParted > Devices dropdown menu. Then click the "Device" tab > Create Partition Table...



          This will erase all the data from the stick, so be sure you don't have anything valuable in it.



          There will be an unallocated space left, double click it to create a new partition with your settings, such as disk label and filesystem (you'll probably want it to be NTFS).



          Don't forget to apply your configuration by clicking the green "check" button in GParted.






          share|improve this answer






























            up vote
            14
            down vote













            You can use the terminal:



            1. Find device ID:



            df -h


            2. Now unmount the device:



            sudo umount /dev/sdb1


            (change sdb1 with your device id)



            3.Format USB



            Choose a file system:



            Ext4



            sudo mkfs.ext4 /dev/sdb1


            Fat



            sudo mkfs.vfat /dev/sdb1



            Ntfs



            sudo mkfs.ntfs /dev/sdb1





            share|improve this answer





















            • This won't help because it appears there is no partition table and hence no partitions to format on the device in question in the first place.
              – David Foerster
              May 3 '17 at 10:47






            • 1




              It works for me every time!
              – Costis94
              May 16 '17 at 11:52










            • Then obviously your system doesn't reflect the situation of the question and is useless as a base for an answer to it.
              – David Foerster
              May 16 '17 at 14:10












            • Or you are the wrong one. sourcedigit.com/… :)
              – Costis94
              May 19 '17 at 20:08










            • You're missing the point: there are no partitions to format according to the question. Your explanation how to format partition is correct but not helpful here.
              – David Foerster
              May 19 '17 at 20:11


















            up vote
            5
            down vote













            If the standard tools cannot restore the USB installer stick alias pendrive to a standard storage device, you can use mkusb-dus, which has a menu option to do it automatically,




            • wipe the first megabyte and restore the drive to a standard storage device (with the MSDOS partition table and a partition with the FAT32 file system).


            See these links




            • https://help.ubuntu.com/community/mkusb

            • mkUSB-quick-start-manual.pdf

            • mkUSB-quick-start-manual.pdf - alternate link


            There is a more general description of what to do, if you have problems with a USB pendrive in the following link,




            • Repair the partition table and file system of a pendrive


            enter image description here



            enter image description here






            share|improve this answer



















            • 1




              This is the Best answer. OP can do what he needs easily.
              – Alan Jameson
              Apr 4 '17 at 4:51










            • dus is awesome and easy to use! I love this
              – wadie
              Apr 26 '17 at 18:24


















            up vote
            3
            down vote













            the @Eduardo Cola is solving the problem but after it I got:




            The destination is read-only.




            that was solved by:



            sudo killall nautilus





            share|improve this answer




























              up vote
              2
              down vote













              I ran into this issue as well. I was able to get around it using sgdisk.



              sudo sgdisk --zap-all /dev/sdd






              share|improve this answer




























                up vote
                0
                down vote













                Check disk by issuing below command



                sudo fdisk -l


                you can find the usb disk, usually it would be /dev/sdb or /dev/sdc



                check if any of the partition of disk is not being used



                sudo df -h


                If you find any of the disk partition like /dev/sdb1 or /dev/sdc1 then you need to unmount it first



                sudo umount /dev/sdb1


                Now format the USB Stick with deisred file system like fat, ext4 or ntfs



                sudo mkfs.ext4 /dev/sdb
                suod mkfs.fat /dev/sdb





                share|improve this answer





















                  Your Answer








                  StackExchange.ready(function() {
                  var channelOptions = {
                  tags: "".split(" "),
                  id: "89"
                  };
                  initTagRenderer("".split(" "), "".split(" "), channelOptions);

                  StackExchange.using("externalEditor", function() {
                  // Have to fire editor after snippets, if snippets enabled
                  if (StackExchange.settings.snippets.snippetsEnabled) {
                  StackExchange.using("snippets", function() {
                  createEditor();
                  });
                  }
                  else {
                  createEditor();
                  }
                  });

                  function createEditor() {
                  StackExchange.prepareEditor({
                  heartbeatType: 'answer',
                  convertImagesToLinks: true,
                  noModals: true,
                  showLowRepImageUploadWarning: true,
                  reputationToPostImages: 10,
                  bindNavPrevention: true,
                  postfix: "",
                  imageUploader: {
                  brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
                  contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
                  allowUrls: true
                  },
                  onDemand: true,
                  discardSelector: ".discard-answer"
                  ,immediatelyShowMarkdownHelp:true
                  });


                  }
                  });














                   

                  draft saved


                  draft discarded


















                  StackExchange.ready(
                  function () {
                  StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f769079%2fcant-format-ubuntu-installation-stick%23new-answer', 'question_page');
                  }
                  );

                  Post as a guest















                  Required, but never shown

























                  7 Answers
                  7






                  active

                  oldest

                  votes








                  7 Answers
                  7






                  active

                  oldest

                  votes









                  active

                  oldest

                  votes






                  active

                  oldest

                  votes








                  up vote
                  241
                  down vote













                  I got this fixed by doing the following




                  1. On your unity dash, type disks and launch the Disks application


                  2. Select the disk or drive you want to format


                  3. Press CTRL+F


                  4. Click format.



                  After formatting, the disk or drive would be unallocated, therefore you'll have to create a partition by using the plus button on the screen. Then insert the name you'll like to use as the drive or disk name then click on create.






                  share|improve this answer



















                  • 14




                    this should be the accepted answer. everything else is too complicated.
                    – Sebastian Wozny
                    Jul 1 '17 at 10:32










                  • Agree with @SebastianWozny , this method is simple and works well.
                    – Inoe
                    Aug 29 '17 at 2:21










                  • Every other attempt failed except this one.
                    – seanbreeden
                    Oct 27 '17 at 18:52






                  • 8




                    After it i dot: "The destination is read-only." run: "sudo killall nautilus" to solve it
                    – ChaosPredictor
                    Jan 15 at 11:56










                  • Its most perfect answer, resolved immediate exact same issue, I was think 2 pendrive crashed, but both now recovered
                    – Tejaskumar Tank
                    Feb 4 at 19:01

















                  up vote
                  241
                  down vote













                  I got this fixed by doing the following




                  1. On your unity dash, type disks and launch the Disks application


                  2. Select the disk or drive you want to format


                  3. Press CTRL+F


                  4. Click format.



                  After formatting, the disk or drive would be unallocated, therefore you'll have to create a partition by using the plus button on the screen. Then insert the name you'll like to use as the drive or disk name then click on create.






                  share|improve this answer



















                  • 14




                    this should be the accepted answer. everything else is too complicated.
                    – Sebastian Wozny
                    Jul 1 '17 at 10:32










                  • Agree with @SebastianWozny , this method is simple and works well.
                    – Inoe
                    Aug 29 '17 at 2:21










                  • Every other attempt failed except this one.
                    – seanbreeden
                    Oct 27 '17 at 18:52






                  • 8




                    After it i dot: "The destination is read-only." run: "sudo killall nautilus" to solve it
                    – ChaosPredictor
                    Jan 15 at 11:56










                  • Its most perfect answer, resolved immediate exact same issue, I was think 2 pendrive crashed, but both now recovered
                    – Tejaskumar Tank
                    Feb 4 at 19:01















                  up vote
                  241
                  down vote










                  up vote
                  241
                  down vote









                  I got this fixed by doing the following




                  1. On your unity dash, type disks and launch the Disks application


                  2. Select the disk or drive you want to format


                  3. Press CTRL+F


                  4. Click format.



                  After formatting, the disk or drive would be unallocated, therefore you'll have to create a partition by using the plus button on the screen. Then insert the name you'll like to use as the drive or disk name then click on create.






                  share|improve this answer














                  I got this fixed by doing the following




                  1. On your unity dash, type disks and launch the Disks application


                  2. Select the disk or drive you want to format


                  3. Press CTRL+F


                  4. Click format.



                  After formatting, the disk or drive would be unallocated, therefore you'll have to create a partition by using the plus button on the screen. Then insert the name you'll like to use as the drive or disk name then click on create.







                  share|improve this answer














                  share|improve this answer



                  share|improve this answer








                  edited Aug 2 at 8:25









                  Zanna

                  48.9k13123234




                  48.9k13123234










                  answered Jun 19 '17 at 6:04









                  Ekene Oguikpu

                  2,511136




                  2,511136








                  • 14




                    this should be the accepted answer. everything else is too complicated.
                    – Sebastian Wozny
                    Jul 1 '17 at 10:32










                  • Agree with @SebastianWozny , this method is simple and works well.
                    – Inoe
                    Aug 29 '17 at 2:21










                  • Every other attempt failed except this one.
                    – seanbreeden
                    Oct 27 '17 at 18:52






                  • 8




                    After it i dot: "The destination is read-only." run: "sudo killall nautilus" to solve it
                    – ChaosPredictor
                    Jan 15 at 11:56










                  • Its most perfect answer, resolved immediate exact same issue, I was think 2 pendrive crashed, but both now recovered
                    – Tejaskumar Tank
                    Feb 4 at 19:01
















                  • 14




                    this should be the accepted answer. everything else is too complicated.
                    – Sebastian Wozny
                    Jul 1 '17 at 10:32










                  • Agree with @SebastianWozny , this method is simple and works well.
                    – Inoe
                    Aug 29 '17 at 2:21










                  • Every other attempt failed except this one.
                    – seanbreeden
                    Oct 27 '17 at 18:52






                  • 8




                    After it i dot: "The destination is read-only." run: "sudo killall nautilus" to solve it
                    – ChaosPredictor
                    Jan 15 at 11:56










                  • Its most perfect answer, resolved immediate exact same issue, I was think 2 pendrive crashed, but both now recovered
                    – Tejaskumar Tank
                    Feb 4 at 19:01










                  14




                  14




                  this should be the accepted answer. everything else is too complicated.
                  – Sebastian Wozny
                  Jul 1 '17 at 10:32




                  this should be the accepted answer. everything else is too complicated.
                  – Sebastian Wozny
                  Jul 1 '17 at 10:32












                  Agree with @SebastianWozny , this method is simple and works well.
                  – Inoe
                  Aug 29 '17 at 2:21




                  Agree with @SebastianWozny , this method is simple and works well.
                  – Inoe
                  Aug 29 '17 at 2:21












                  Every other attempt failed except this one.
                  – seanbreeden
                  Oct 27 '17 at 18:52




                  Every other attempt failed except this one.
                  – seanbreeden
                  Oct 27 '17 at 18:52




                  8




                  8




                  After it i dot: "The destination is read-only." run: "sudo killall nautilus" to solve it
                  – ChaosPredictor
                  Jan 15 at 11:56




                  After it i dot: "The destination is read-only." run: "sudo killall nautilus" to solve it
                  – ChaosPredictor
                  Jan 15 at 11:56












                  Its most perfect answer, resolved immediate exact same issue, I was think 2 pendrive crashed, but both now recovered
                  – Tejaskumar Tank
                  Feb 4 at 19:01






                  Its most perfect answer, resolved immediate exact same issue, I was think 2 pendrive crashed, but both now recovered
                  – Tejaskumar Tank
                  Feb 4 at 19:01














                  up vote
                  40
                  down vote













                  Make sure you have GParted installed. In a terminal window, run



                  sudo apt install gparted


                  Then open GParted as root (still in the terminal window):



                  sudo gparted


                  Select your USB stick from the GParted > Devices dropdown menu. Then click the "Device" tab > Create Partition Table...



                  This will erase all the data from the stick, so be sure you don't have anything valuable in it.



                  There will be an unallocated space left, double click it to create a new partition with your settings, such as disk label and filesystem (you'll probably want it to be NTFS).



                  Don't forget to apply your configuration by clicking the green "check" button in GParted.






                  share|improve this answer



























                    up vote
                    40
                    down vote













                    Make sure you have GParted installed. In a terminal window, run



                    sudo apt install gparted


                    Then open GParted as root (still in the terminal window):



                    sudo gparted


                    Select your USB stick from the GParted > Devices dropdown menu. Then click the "Device" tab > Create Partition Table...



                    This will erase all the data from the stick, so be sure you don't have anything valuable in it.



                    There will be an unallocated space left, double click it to create a new partition with your settings, such as disk label and filesystem (you'll probably want it to be NTFS).



                    Don't forget to apply your configuration by clicking the green "check" button in GParted.






                    share|improve this answer

























                      up vote
                      40
                      down vote










                      up vote
                      40
                      down vote









                      Make sure you have GParted installed. In a terminal window, run



                      sudo apt install gparted


                      Then open GParted as root (still in the terminal window):



                      sudo gparted


                      Select your USB stick from the GParted > Devices dropdown menu. Then click the "Device" tab > Create Partition Table...



                      This will erase all the data from the stick, so be sure you don't have anything valuable in it.



                      There will be an unallocated space left, double click it to create a new partition with your settings, such as disk label and filesystem (you'll probably want it to be NTFS).



                      Don't forget to apply your configuration by clicking the green "check" button in GParted.






                      share|improve this answer














                      Make sure you have GParted installed. In a terminal window, run



                      sudo apt install gparted


                      Then open GParted as root (still in the terminal window):



                      sudo gparted


                      Select your USB stick from the GParted > Devices dropdown menu. Then click the "Device" tab > Create Partition Table...



                      This will erase all the data from the stick, so be sure you don't have anything valuable in it.



                      There will be an unallocated space left, double click it to create a new partition with your settings, such as disk label and filesystem (you'll probably want it to be NTFS).



                      Don't forget to apply your configuration by clicking the green "check" button in GParted.







                      share|improve this answer














                      share|improve this answer



                      share|improve this answer








                      edited Mar 26 '17 at 15:52









                      Seth

                      33.4k25109159




                      33.4k25109159










                      answered May 7 '16 at 21:45









                      Eduardo Cola

                      4,43821031




                      4,43821031






















                          up vote
                          14
                          down vote













                          You can use the terminal:



                          1. Find device ID:



                          df -h


                          2. Now unmount the device:



                          sudo umount /dev/sdb1


                          (change sdb1 with your device id)



                          3.Format USB



                          Choose a file system:



                          Ext4



                          sudo mkfs.ext4 /dev/sdb1


                          Fat



                          sudo mkfs.vfat /dev/sdb1



                          Ntfs



                          sudo mkfs.ntfs /dev/sdb1





                          share|improve this answer





















                          • This won't help because it appears there is no partition table and hence no partitions to format on the device in question in the first place.
                            – David Foerster
                            May 3 '17 at 10:47






                          • 1




                            It works for me every time!
                            – Costis94
                            May 16 '17 at 11:52










                          • Then obviously your system doesn't reflect the situation of the question and is useless as a base for an answer to it.
                            – David Foerster
                            May 16 '17 at 14:10












                          • Or you are the wrong one. sourcedigit.com/… :)
                            – Costis94
                            May 19 '17 at 20:08










                          • You're missing the point: there are no partitions to format according to the question. Your explanation how to format partition is correct but not helpful here.
                            – David Foerster
                            May 19 '17 at 20:11















                          up vote
                          14
                          down vote













                          You can use the terminal:



                          1. Find device ID:



                          df -h


                          2. Now unmount the device:



                          sudo umount /dev/sdb1


                          (change sdb1 with your device id)



                          3.Format USB



                          Choose a file system:



                          Ext4



                          sudo mkfs.ext4 /dev/sdb1


                          Fat



                          sudo mkfs.vfat /dev/sdb1



                          Ntfs



                          sudo mkfs.ntfs /dev/sdb1





                          share|improve this answer





















                          • This won't help because it appears there is no partition table and hence no partitions to format on the device in question in the first place.
                            – David Foerster
                            May 3 '17 at 10:47






                          • 1




                            It works for me every time!
                            – Costis94
                            May 16 '17 at 11:52










                          • Then obviously your system doesn't reflect the situation of the question and is useless as a base for an answer to it.
                            – David Foerster
                            May 16 '17 at 14:10












                          • Or you are the wrong one. sourcedigit.com/… :)
                            – Costis94
                            May 19 '17 at 20:08










                          • You're missing the point: there are no partitions to format according to the question. Your explanation how to format partition is correct but not helpful here.
                            – David Foerster
                            May 19 '17 at 20:11













                          up vote
                          14
                          down vote










                          up vote
                          14
                          down vote









                          You can use the terminal:



                          1. Find device ID:



                          df -h


                          2. Now unmount the device:



                          sudo umount /dev/sdb1


                          (change sdb1 with your device id)



                          3.Format USB



                          Choose a file system:



                          Ext4



                          sudo mkfs.ext4 /dev/sdb1


                          Fat



                          sudo mkfs.vfat /dev/sdb1



                          Ntfs



                          sudo mkfs.ntfs /dev/sdb1





                          share|improve this answer












                          You can use the terminal:



                          1. Find device ID:



                          df -h


                          2. Now unmount the device:



                          sudo umount /dev/sdb1


                          (change sdb1 with your device id)



                          3.Format USB



                          Choose a file system:



                          Ext4



                          sudo mkfs.ext4 /dev/sdb1


                          Fat



                          sudo mkfs.vfat /dev/sdb1



                          Ntfs



                          sudo mkfs.ntfs /dev/sdb1






                          share|improve this answer












                          share|improve this answer



                          share|improve this answer










                          answered May 3 '17 at 10:18









                          Costis94

                          15614




                          15614












                          • This won't help because it appears there is no partition table and hence no partitions to format on the device in question in the first place.
                            – David Foerster
                            May 3 '17 at 10:47






                          • 1




                            It works for me every time!
                            – Costis94
                            May 16 '17 at 11:52










                          • Then obviously your system doesn't reflect the situation of the question and is useless as a base for an answer to it.
                            – David Foerster
                            May 16 '17 at 14:10












                          • Or you are the wrong one. sourcedigit.com/… :)
                            – Costis94
                            May 19 '17 at 20:08










                          • You're missing the point: there are no partitions to format according to the question. Your explanation how to format partition is correct but not helpful here.
                            – David Foerster
                            May 19 '17 at 20:11


















                          • This won't help because it appears there is no partition table and hence no partitions to format on the device in question in the first place.
                            – David Foerster
                            May 3 '17 at 10:47






                          • 1




                            It works for me every time!
                            – Costis94
                            May 16 '17 at 11:52










                          • Then obviously your system doesn't reflect the situation of the question and is useless as a base for an answer to it.
                            – David Foerster
                            May 16 '17 at 14:10












                          • Or you are the wrong one. sourcedigit.com/… :)
                            – Costis94
                            May 19 '17 at 20:08










                          • You're missing the point: there are no partitions to format according to the question. Your explanation how to format partition is correct but not helpful here.
                            – David Foerster
                            May 19 '17 at 20:11
















                          This won't help because it appears there is no partition table and hence no partitions to format on the device in question in the first place.
                          – David Foerster
                          May 3 '17 at 10:47




                          This won't help because it appears there is no partition table and hence no partitions to format on the device in question in the first place.
                          – David Foerster
                          May 3 '17 at 10:47




                          1




                          1




                          It works for me every time!
                          – Costis94
                          May 16 '17 at 11:52




                          It works for me every time!
                          – Costis94
                          May 16 '17 at 11:52












                          Then obviously your system doesn't reflect the situation of the question and is useless as a base for an answer to it.
                          – David Foerster
                          May 16 '17 at 14:10






                          Then obviously your system doesn't reflect the situation of the question and is useless as a base for an answer to it.
                          – David Foerster
                          May 16 '17 at 14:10














                          Or you are the wrong one. sourcedigit.com/… :)
                          – Costis94
                          May 19 '17 at 20:08




                          Or you are the wrong one. sourcedigit.com/… :)
                          – Costis94
                          May 19 '17 at 20:08












                          You're missing the point: there are no partitions to format according to the question. Your explanation how to format partition is correct but not helpful here.
                          – David Foerster
                          May 19 '17 at 20:11




                          You're missing the point: there are no partitions to format according to the question. Your explanation how to format partition is correct but not helpful here.
                          – David Foerster
                          May 19 '17 at 20:11










                          up vote
                          5
                          down vote













                          If the standard tools cannot restore the USB installer stick alias pendrive to a standard storage device, you can use mkusb-dus, which has a menu option to do it automatically,




                          • wipe the first megabyte and restore the drive to a standard storage device (with the MSDOS partition table and a partition with the FAT32 file system).


                          See these links




                          • https://help.ubuntu.com/community/mkusb

                          • mkUSB-quick-start-manual.pdf

                          • mkUSB-quick-start-manual.pdf - alternate link


                          There is a more general description of what to do, if you have problems with a USB pendrive in the following link,




                          • Repair the partition table and file system of a pendrive


                          enter image description here



                          enter image description here






                          share|improve this answer



















                          • 1




                            This is the Best answer. OP can do what he needs easily.
                            – Alan Jameson
                            Apr 4 '17 at 4:51










                          • dus is awesome and easy to use! I love this
                            – wadie
                            Apr 26 '17 at 18:24















                          up vote
                          5
                          down vote













                          If the standard tools cannot restore the USB installer stick alias pendrive to a standard storage device, you can use mkusb-dus, which has a menu option to do it automatically,




                          • wipe the first megabyte and restore the drive to a standard storage device (with the MSDOS partition table and a partition with the FAT32 file system).


                          See these links




                          • https://help.ubuntu.com/community/mkusb

                          • mkUSB-quick-start-manual.pdf

                          • mkUSB-quick-start-manual.pdf - alternate link


                          There is a more general description of what to do, if you have problems with a USB pendrive in the following link,




                          • Repair the partition table and file system of a pendrive


                          enter image description here



                          enter image description here






                          share|improve this answer



















                          • 1




                            This is the Best answer. OP can do what he needs easily.
                            – Alan Jameson
                            Apr 4 '17 at 4:51










                          • dus is awesome and easy to use! I love this
                            – wadie
                            Apr 26 '17 at 18:24













                          up vote
                          5
                          down vote










                          up vote
                          5
                          down vote









                          If the standard tools cannot restore the USB installer stick alias pendrive to a standard storage device, you can use mkusb-dus, which has a menu option to do it automatically,




                          • wipe the first megabyte and restore the drive to a standard storage device (with the MSDOS partition table and a partition with the FAT32 file system).


                          See these links




                          • https://help.ubuntu.com/community/mkusb

                          • mkUSB-quick-start-manual.pdf

                          • mkUSB-quick-start-manual.pdf - alternate link


                          There is a more general description of what to do, if you have problems with a USB pendrive in the following link,




                          • Repair the partition table and file system of a pendrive


                          enter image description here



                          enter image description here






                          share|improve this answer














                          If the standard tools cannot restore the USB installer stick alias pendrive to a standard storage device, you can use mkusb-dus, which has a menu option to do it automatically,




                          • wipe the first megabyte and restore the drive to a standard storage device (with the MSDOS partition table and a partition with the FAT32 file system).


                          See these links




                          • https://help.ubuntu.com/community/mkusb

                          • mkUSB-quick-start-manual.pdf

                          • mkUSB-quick-start-manual.pdf - alternate link


                          There is a more general description of what to do, if you have problems with a USB pendrive in the following link,




                          • Repair the partition table and file system of a pendrive


                          enter image description here



                          enter image description here







                          share|improve this answer














                          share|improve this answer



                          share|improve this answer








                          edited Apr 27 '17 at 6:12

























                          answered Mar 26 '17 at 16:19









                          sudodus

                          21.2k32770




                          21.2k32770








                          • 1




                            This is the Best answer. OP can do what he needs easily.
                            – Alan Jameson
                            Apr 4 '17 at 4:51










                          • dus is awesome and easy to use! I love this
                            – wadie
                            Apr 26 '17 at 18:24














                          • 1




                            This is the Best answer. OP can do what he needs easily.
                            – Alan Jameson
                            Apr 4 '17 at 4:51










                          • dus is awesome and easy to use! I love this
                            – wadie
                            Apr 26 '17 at 18:24








                          1




                          1




                          This is the Best answer. OP can do what he needs easily.
                          – Alan Jameson
                          Apr 4 '17 at 4:51




                          This is the Best answer. OP can do what he needs easily.
                          – Alan Jameson
                          Apr 4 '17 at 4:51












                          dus is awesome and easy to use! I love this
                          – wadie
                          Apr 26 '17 at 18:24




                          dus is awesome and easy to use! I love this
                          – wadie
                          Apr 26 '17 at 18:24










                          up vote
                          3
                          down vote













                          the @Eduardo Cola is solving the problem but after it I got:




                          The destination is read-only.




                          that was solved by:



                          sudo killall nautilus





                          share|improve this answer

























                            up vote
                            3
                            down vote













                            the @Eduardo Cola is solving the problem but after it I got:




                            The destination is read-only.




                            that was solved by:



                            sudo killall nautilus





                            share|improve this answer























                              up vote
                              3
                              down vote










                              up vote
                              3
                              down vote









                              the @Eduardo Cola is solving the problem but after it I got:




                              The destination is read-only.




                              that was solved by:



                              sudo killall nautilus





                              share|improve this answer












                              the @Eduardo Cola is solving the problem but after it I got:




                              The destination is read-only.




                              that was solved by:



                              sudo killall nautilus






                              share|improve this answer












                              share|improve this answer



                              share|improve this answer










                              answered Jan 15 at 11:58









                              ChaosPredictor

                              396211




                              396211






















                                  up vote
                                  2
                                  down vote













                                  I ran into this issue as well. I was able to get around it using sgdisk.



                                  sudo sgdisk --zap-all /dev/sdd






                                  share|improve this answer

























                                    up vote
                                    2
                                    down vote













                                    I ran into this issue as well. I was able to get around it using sgdisk.



                                    sudo sgdisk --zap-all /dev/sdd






                                    share|improve this answer























                                      up vote
                                      2
                                      down vote










                                      up vote
                                      2
                                      down vote









                                      I ran into this issue as well. I was able to get around it using sgdisk.



                                      sudo sgdisk --zap-all /dev/sdd






                                      share|improve this answer












                                      I ran into this issue as well. I was able to get around it using sgdisk.



                                      sudo sgdisk --zap-all /dev/sdd







                                      share|improve this answer












                                      share|improve this answer



                                      share|improve this answer










                                      answered Dec 3 '17 at 22:11









                                      user767386

                                      211




                                      211






















                                          up vote
                                          0
                                          down vote













                                          Check disk by issuing below command



                                          sudo fdisk -l


                                          you can find the usb disk, usually it would be /dev/sdb or /dev/sdc



                                          check if any of the partition of disk is not being used



                                          sudo df -h


                                          If you find any of the disk partition like /dev/sdb1 or /dev/sdc1 then you need to unmount it first



                                          sudo umount /dev/sdb1


                                          Now format the USB Stick with deisred file system like fat, ext4 or ntfs



                                          sudo mkfs.ext4 /dev/sdb
                                          suod mkfs.fat /dev/sdb





                                          share|improve this answer

























                                            up vote
                                            0
                                            down vote













                                            Check disk by issuing below command



                                            sudo fdisk -l


                                            you can find the usb disk, usually it would be /dev/sdb or /dev/sdc



                                            check if any of the partition of disk is not being used



                                            sudo df -h


                                            If you find any of the disk partition like /dev/sdb1 or /dev/sdc1 then you need to unmount it first



                                            sudo umount /dev/sdb1


                                            Now format the USB Stick with deisred file system like fat, ext4 or ntfs



                                            sudo mkfs.ext4 /dev/sdb
                                            suod mkfs.fat /dev/sdb





                                            share|improve this answer























                                              up vote
                                              0
                                              down vote










                                              up vote
                                              0
                                              down vote









                                              Check disk by issuing below command



                                              sudo fdisk -l


                                              you can find the usb disk, usually it would be /dev/sdb or /dev/sdc



                                              check if any of the partition of disk is not being used



                                              sudo df -h


                                              If you find any of the disk partition like /dev/sdb1 or /dev/sdc1 then you need to unmount it first



                                              sudo umount /dev/sdb1


                                              Now format the USB Stick with deisred file system like fat, ext4 or ntfs



                                              sudo mkfs.ext4 /dev/sdb
                                              suod mkfs.fat /dev/sdb





                                              share|improve this answer












                                              Check disk by issuing below command



                                              sudo fdisk -l


                                              you can find the usb disk, usually it would be /dev/sdb or /dev/sdc



                                              check if any of the partition of disk is not being used



                                              sudo df -h


                                              If you find any of the disk partition like /dev/sdb1 or /dev/sdc1 then you need to unmount it first



                                              sudo umount /dev/sdb1


                                              Now format the USB Stick with deisred file system like fat, ext4 or ntfs



                                              sudo mkfs.ext4 /dev/sdb
                                              suod mkfs.fat /dev/sdb






                                              share|improve this answer












                                              share|improve this answer



                                              share|improve this answer










                                              answered 2 days ago









                                              Vaseem007

                                              1312




                                              1312






























                                                   

                                                  draft saved


                                                  draft discarded



















































                                                   


                                                  draft saved


                                                  draft discarded














                                                  StackExchange.ready(
                                                  function () {
                                                  StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f769079%2fcant-format-ubuntu-installation-stick%23new-answer', 'question_page');
                                                  }
                                                  );

                                                  Post as a guest















                                                  Required, but never shown





















































                                                  Required, but never shown














                                                  Required, but never shown












                                                  Required, but never shown







                                                  Required, but never shown

































                                                  Required, but never shown














                                                  Required, but never shown












                                                  Required, but never shown







                                                  Required, but never shown







                                                  Popular posts from this blog

                                                  數位音樂下載

                                                  格利澤436b

                                                  When can things happen in Etherscan, such as the picture below?