Using advice on the Internet, and trying to install a new distribution, I had to make an entry on the USB flash drive through the unpacking of an iso-image.

Again, it did not work. I decided to overwrite through the interface, having previously cleaned the flash drive.

And then there was a problem because the file manager and the program can not delete the contents, perhaps because the folders themselves are locked up and require root .

How to solve this problem?

Distribution - Xubuntu . Put - Linux Mint LXDE (correct)

  • But what's the problem to open the console and clean everything from the root? - KoVadim
  • @KoVadim The problem is that I still understand. And the teams that people on the Internet offer are either not working or a bit dangerous - Vlad
  • logical that dangerous - KoVadim
  • I added to my answer about the image recording on the block device. - aleksandr barakin

3 answers 3

if you have recorded (not “unpacked”, namely, recorded) an iso image (“normal” installation) on a block device, then you now have one partition on the block device with the iso9660 file system (or similar), which is “the file system only for reading".

therefore, you need to delete all partitions from the block device and re-create one (or more, if necessary) partition that is already formatted for some file system.

If file exchange with ms / windows is not supposed, you can select the ext2 / ext3 / ext4 file system. if supposed to be better, probably choose fat or even ntfs .

All this can be done, for example, using the gparted gui program you mentioned.


but, judging by the fact that you want to record the installation iso-image again, no partition manipulation is required. you need (assuming that the block device is /dev/sdb ):

  1. unmount all partitions mounted from the block device:

     $ sudo umount /dev/sdb* 
  2. write image to device:

     $ sudo cp /путь/к/образу /dev/sdb 
  • And why do you need to delete and re-create the partition? To problems with its size was not? Or formatting here will not work for some reason? - Qwertiy
  • @alexander barakin Thank you! Based on your advice, I danced a little more with a tambourine and everything turned out. True with the help of the GUI. GPARTED+UnetBootin - Vlad
  • @Qwertiy, because it’s longer to talk about changing the type of a partition, and deleting / creating is no more difficult / longer than changing the type. - aleksandr barakin
  • @Qwertiy, again: if an image was recorded on the device, the size of the partition is clearly smaller than the size of the bl. devices. i.e., if without deletion , then it would be necessary to tell about the resizing of the section. therefore, it is easier to advise: delete / create. - aleksandr barakin

If you need to remove everything from a flash drive, then I suggest it be simply formatted.

  • Used GParted. It seems that it formatted it, shows the interface - clean, but the folders remained on the flash drive ... (looked through the file manager) - Vlad
  • @Maksym, in the mine there is an already installed application. Search for the word disk in the start menu. - Qwertiy

In Ubuntu, there is a special program for recording boot disks, it can "clean" similar flash drives (there is a "Erase Disk / Format" button). See How to create a bootable USB stick on Ubuntu.