101010.pl is one of the many independent Mastodon servers you can use to participate in the fediverse.
101010.pl czyli najstarszy polski serwer Mastodon. Posiadamy wpisy do 2048 znaków.

Server stats:

544
active users

#gparted

0 posts0 participants0 posts today

My experience with #FlashDrives recently has been mixed. I have no problem in encrypting them with #LUKS, using #cryptsetup or with formatting a partition with #Btrfs, for instance, using #gparted and doing other tinkering with #Gnome #disks. But the problem has been with the actual drives themselves. The cheaper ones seem to have quite a few bad sectors, etc. and so they’re not really reliable for medium term storage.

1/2

Giving credit to the programmers of GPARTED(8)

gparted works its magic, by entering correct parameters to a suite of partition control & editing commands, which are sh envoked, so you can easily manipulate your partitions on all your SSDs HDDs from the comfort of your UI

When you want to batch manipulate partitions, you can study the log output and make sh scripts yourself, controlling partitions anywhere.
You also have the convenience of running gparted from sh so it still works its magic for you, without the UI!

I usually run cfdisk gdisk fdisk when I partition a fresh mechanical or SSD, later on I invoke gparted when I want to resize or move them

it also runs important commands at the end so that the kernel gets to know your new partition layout, which makes rebooting your machine to use them unneeded

I shrunk and resized a partition where I installed a program, which needed 75GB (*1024!) as installation space but only uses 56GB in the end. I left 12GB of breathing room on the partition after the shrink and of course grew the partition before with the same size, minus the alignment snip of 1MB

log:
myserver kernel: JFS: nTxBlock = 8192, nTxLock = 65536
myserver kernel: SGI XFS with ACLs, security attributes, realtime, scrub, repair, quota, debug enabled
myserver kernel: sdb: sdb1 sdb2 sdb3 sdb4
myserver kernel: sdb: sdb1 sdb2 sdb3 sdb4
^Z

@altbot

gparted.org

Continued thread

Mas se você fez merda e ai?

O segredo é sempre ter um pendrive de uns 16 ou 32 gb com o #ventoy configurado
ventoy.net/en/index.html

Esse carinha te ajuda a ter um pendrive bootavél que é pau pa toda obra, permitindo n ter um , mais vários init points.

E usando o #ventoy vc pode ter uma ferramenta pra recuperar discos, tô falando dele o #gparted que tem uma forma de ser usado em live USB
gparted.org/livecd.php

Dai vc consegue checar discos e arquivos.

Por fim tenha um liveCD de uma distro de confiança, no meu caso é sempre a LTS do #debian com live do #xfce (se liga no link de download jovem padawan)
debian.org/CD/live/

Ou usa o #linuxmint essas duas bunca me deixaram na mão na hora de recuperar sistema.

Ah e a dica de ouro pra quem usa #linux.

Sempre mantenha partição home separada da root, se puder em discos físicos diferentes, esse ano mesmo eu já mandei meu root com debian pelos ares umas 3 vezes, mas nada que um clean install mantendo a home não resolva.

www.ventoy.netVentoyVentoy is an open source tool to create bootable USB drive for ISO files. With ventoy, you don't need to format the disk again and again, you just need to copy the iso file to the USB drive and boot it.
Replied in thread

@phpmacher Andere verschrotten in so einer Situation den PC und kaufen neu (Behörden *räusper*).

Für alle anderen, die gerne rumprobieren, gäbe es da noch Netboot.xyz (netboot.xyz/). Einfach alle möglichen Linux Distros, nahezu blitzschnell, aus dem Netzwerk booten (PXE). Mit Anleitung sogar Windows. Benutze ich recht häufig auch für RAM Analysen oder Secure Erase Zeug. Da gibts eigentlich alles, was man sich so vorstellen kann: DBan, Arch Linux, CentOS, clonezilla, FreeBSD, GParted, Kali, Proxmox, Rescuezilla, ShredOS, ... uvm.

netboot.xyzYour favorite operating systems in one place! | netboot.xyznetboot.xyz enables you to PXE boot many Operating System installers and utilities from a simple to use menu powered by the iPXE project.

Ich muss es mal wieder in aller Deutlichkeit sagen:
Ich
❤️ #Linux

Im
#Notebook meiner Frau war noch eine relativ kleine #SSD. Seit einem Jahr macht sie mega viele Fotos mit dem #Smartphone und bei der letzten Sicherung auf's Notebook waren nur noch 4 GB frei.

Ich habe das mit
#LUKS vollverschlüsselte #Ubuntu kurzerhand mit Linux #Bordmitteln auf eine größere SSD umgezogen:

1. alte SSD mit dd auf neue SSD 1:1 geklont
2. neue SSD ins Notebook eingebaut und Ubuntu gestartet
3. im laufenden System unbenutzten Speicherplatz mit
#gparted der verschlüsselten Root-Partition hinzugefügt.
4. im laufenden System das
#LVM vergrößert
5. im laufenden System das Dateisystem vergrößert

Fertig.

#OpenSource #FOSS #digitaleSelbstbestimmung #digitaleSouveränität #Terminal