Benjamin_Loison commented on issue Benjamin_Loison/linux#36 2024-09-11 21:07:44 +02:00
Mount LUKS encrypted Linux Mint 22 Cinnamon
sudo mount -o ro /dev/mapper/vgmint-root partition0/
ls partition0/
bin                boot   dev  file.swap  lib    lib64              libx32      media  opt   root  sbin    …
Benjamin_Loison commented on issue Benjamin_Loison/linux#36 2024-09-11 21:06:01 +02:00
Mount LUKS encrypted Linux Mint 22 Cinnamon
sudo vgrename 'XXXXXX-XXXX-XXXX-XXXX-XXXX-XXXX-XXXXXX' my_unique_name
  Processing VG vgmint because of matching UUID XXXXXX-XXXX-XXXX-XXXX-XXXX-XXXX-XXXXXX
  Error writing…
Benjamin_Loison commented on issue Benjamin_Loison/linux#36 2024-09-11 21:04:47 +02:00
Mount LUKS encrypted Linux Mint 22 Cinnamon
sudo vgdisplay
  --- Volume group ---
  VG Name               vgmint
  System ID             
  Format                lvm2
  Metadata Areas        1
  Metadata Sequence No…
Benjamin_Loison commented on issue Benjamin_Loison/linux#36 2024-09-11 20:57:32 +02:00
Mount LUKS encrypted Linux Mint 22 Cinnamon
ls /dev/mapper/
control  luks-XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX  nvme0n1p5_crypt  pegasus--vg-root  pegasus--vg-swap_1  vgmint-root  vgmint-swap_1
Benjamin_Loison commented on issue Benjamin_Loison/linux#36 2024-09-11 20:52:45 +02:00
Mount LUKS encrypted Linux Mint 22 Cinnamon
sudo vgrename 'XXXXXX-XXXX-XXXX-XXXX-XXXX-XXXX-XXXXXX' my_unique_name
  Volume group "XXXXXX-XXXX-XXXX-XXXX-XXXX-XXXX-XXXXXX" not found
  Cannot process volume group…
Benjamin_Loison commented on issue Benjamin_Loison/linux#36 2024-09-11 20:48:32 +02:00
Mount LUKS encrypted Linux Mint 22 Cinnamon
sudo vgchange -ay
  2 logical volume(s) in volume group "vgmint" now active
  2 logical volume(s) in volume group "pegasus-vg" now active

Source: [the Unix Stack…

Benjamin_Loison opened issue Benjamin_Loison/linux#36 2024-09-11 20:47:36 +02:00
Mount LUKS encrypted Linux Mint 22 Cinnamon
Benjamin_Loison commented on issue Benjamin_Loison/linux#22 2024-09-09 00:04:26 +02:00
How to shred free disk slots?
sudo ls -lh /var/lib/libvirt/images/Debian_not_trust.qcow2
-rw------- 1 root root 37G Sep  8 23:03 /var/lib/libvirt/images/Debian_not_trust.qcow2
sudo cp…
Benjamin_Loison commented on issue Benjamin_Loison/adb#14 2024-09-08 17:27:56 +02:00
Long adb kill-server
ps aux 
Benjamin_Loison commented on issue Benjamin_Loison/adb#20 2024-09-08 16:42:08 +02:00
adb disconnect does not work for a closed Waydroid (shown as *offline*)

After a few minutes:

adb devices
List of devices attached
XXXXXXXX	device
Benjamin_Loison opened issue Benjamin_Loison/adb#20 2024-09-08 16:30:01 +02:00
adb disconnect does not work for a closed Waydroid (shown as *offline*)
Benjamin_Loison commented on issue Benjamin_Loison/linux#22 2024-09-08 00:30:09 +02:00
How to shred free disk slots?

Could backup a Linux virtual machine with lowest space at all (not free) and proceed with it.

Benjamin_Loison commented on issue Benjamin_Loison/linux#22 2024-09-07 22:21:38 +02:00
How to shred free disk slots?

Still same output of time sudo sfill -v /; echo $?; matrix-commander -m 'sfill finished!'.

watch ls -lh /oooooooo.ooo
Every 2.0s: ls -lh /oooooooo.ooo                     …
Benjamin_Loison commented on issue Benjamin_Loison/linux#22 2024-09-07 21:05:22 +02:00
How to shred free disk slots?
df -h /
Filesystem               Size  Used Avail Use% Mounted on
/dev/mapper/vgmint-root  1.8T  1.6T  117G  94% /
Benjamin_Loison commented on issue Benjamin_Loison/linux#22 2024-09-07 15:00:55 +02:00
How to shred free disk slots?
sfill
Warning: you are not root. You might not be able to wipe the whole filesystem.
sfill v3.1 (c) 1997-2003 by van Hauser / THC <vh@thc.org>

Syntax: sfill [-fiIlvz]…
Benjamin_Loison commented on issue Benjamin_Loison/linux#22 2024-09-07 14:57:26 +02:00
How to shred free disk slots?

The Super User answer 19377:

sfill
Command 'sfill' not found, but can be installed with:
sudo apt install secure-delete