1. sudo apt install flatpak
2. flatpak uninstall --all
3. sudo apt purge --autoremove flatpak
4. Check directory /var/lib/flatpak should be everything removed.
1. sudo apt install flatpak
2. flatpak uninstall --all
3. sudo apt purge --autoremove flatpak
4. Check directory /var/lib/flatpak should be everything removed.
Step 1. Download Windows10
https://www.microsoft.com/pl-pl/software-download/windows10ISO
Step 2. Check where is mounted your usb stick.
Step 3. Run command:
sudo dd bs=4M if=[path to windows iso] of=/dev/sd[that 1 letter]
Shred - overwrite data on a whole device with random bits.
1. Identify the name of the device
fdisk -l
Disk /dev/sdc: 931,53 GiB, 1000204886016 bytes, 1953525168 sectors
Disk model: SAMSUNG HD103SJ
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
:
sudo shred -v -n1 -z /dev/sdX
-v flag is verbose and will print the current progress
-n1 overwrite blocks on the device "n1" times
-z set all bits to zero after the last iteration
shred: /dev/sdc: pass 2/2 (000000)...920GiB/932GiB 98%
shred: /dev/sdc: pass 2/2 (000000)...921GiB/932GiB 98%
shred: /dev/sdc: pass 2/2 (000000)...922GiB/932GiB 98%
shred: /dev/sdc: pass 2/2 (000000)...923GiB/932GiB 99%
shred: /dev/sdc: pass 2/2 (000000)...924GiB/932GiB 99%
shred: /dev/sdc: pass 2/2 (000000)...925GiB/932GiB 99%
shred: /dev/sdc: pass 2/2 (000000)...926GiB/932GiB 99%
shred: /dev/sdc: pass 2/2 (000000)...927GiB/932GiB 99%
shred: /dev/sdc: pass 2/2 (000000)...928GiB/932GiB 99%
shred: /dev/sdc: pass 2/2 (000000)...929GiB/932GiB 99%
shred: /dev/sdc: pass 2/2 (000000)...930GiB/932GiB 99%
shred: /dev/sdc: pass 2/2 (000000)...931GiB/932GiB 99%
shred: /dev/sdc: pass 2/2 (000000)...932GiB/932GiB 100%