Thread 105612730 - /g/ [Archived: 1055 hours ago]

Anonymous
6/16/2025, 7:42:31 PM No.105612730
mac-win-reset
mac-win-reset
md5: 252e9066c72bf66c1ad11dd03a247375🔍
what is the Linux equivalent of this?
Replies: >>105612828 >>105612840 >>105612851 >>105612872 >>105612947 >>105612952 >>105612988 >>105613265 >>105613396 >>105613852 >>105613975 >>105615746 >>105615783 >>105615797 >>105615839 >>105615962 >>105618755 >>105619450 >>105619494 >>105619516 >>105619538
Anonymous
6/16/2025, 7:45:24 PM No.105612772
<package manager>
Replies: >>105612838
Anonymous
6/16/2025, 7:46:10 PM No.105612782
https://support.system76.com/articles/pop-recovery/
Replies: >>105612831
Anonymous
6/16/2025, 7:50:04 PM No.105612822
e9602a
e9602a
md5: 453d7ec1bb29356d783ad6939756b712🔍
Pop OS has a Refresh OS option in the settings. It basically factory resets everything outside the /home directory.

https://www.techrepublic.com/article/popos-refresh-install/
Anonymous
6/16/2025, 7:50:24 PM No.105612828
>>105612730 (OP)
I don't use "just werk" distro but that seems very trivial to set up to me. A "just work" distro with something alike ready to go may be an atomic one like Fedora Silverblue/Kinoite.
Anonymous
6/16/2025, 7:50:28 PM No.105612831
>>105612782
Always been confused by more distros don't support this setup, even literally just as an ISO 9660 filesystem on the partition. I've seen internet comments about how there's something fundamentally bad about the paradigm but never any explanation of why. Sometimes I think Linux users just hate good things.
Replies: >>105619450
Anonymous
6/16/2025, 7:50:51 PM No.105612838
>>105612772
><package manager>
what?
Replies: >>105612950
Anonymous
6/16/2025, 7:50:56 PM No.105612840
>>105612730 (OP)
The problem is fresh linux install is basically broken. You need to change settings and install stuff until it's usable.
Snapshot and similar solution doesn't give what you want either, because outdated packages.
To get what you want, I guess you can create a new user so everything is on default settings again, and maintain a list of non-essential packages you can uninstall easily. Easier said than done.
Replies: >>105612947
Anonymous
6/16/2025, 7:51:50 PM No.105612851
>>105612730 (OP)
rm -rf
Anonymous
6/16/2025, 7:53:38 PM No.105612872
>>105612730 (OP)
sudo dd if=/dev/null of=/dev/sda
Replies: >>105613350
Anonymous
6/16/2025, 8:00:03 PM No.105612947
>>105612840
>The problem is fresh linux install is basically broken.
maybe for arch users and ricing autists; for most people modern distros are pefectly functional ootb .
>>105612730 (OP)
use a usb drive to reinstall like a proper linux user. factory resets don't wipe out the nasty stuff like viruses.
Anonymous
6/16/2025, 8:00:15 PM No.105612950
>>105612838
reset OS to default state just means to remove software
Replies: >>105614294
Anonymous
6/16/2025, 8:00:18 PM No.105612952
>>105612730 (OP)
just reinstall without formatting your /home partition
Anonymous
6/16/2025, 8:03:34 PM No.105612988
>>105612730 (OP)
Coming soon.
https://github.com/systemd/systemd/blob/main/docs/FACTORY_RESET.md
Replies: >>105613014 >>105613768
Anonymous
6/16/2025, 8:06:19 PM No.105613014
>>105612988
this implementation isn't very useful to home desktop users, it's for servers/iot that should be using immutable roots in the first place.
Anonymous
6/16/2025, 8:23:45 PM No.105613214
rsync -a home/etc/var/whatever/packages.db /mnt/backupdrive
Anonymous
6/16/2025, 8:28:59 PM No.105613265
>>105612730 (OP)
not deleting your /home data?
what the fuck?

if you don't have it on a separate partition, you just snapshot that shit, send it somewhere else, reinstall, make rw snapshot after sending it, delete snapshot.
Anonymous
6/16/2025, 8:31:06 PM No.105613295
linux people dont need to do this or i havent needed to.
modern linux doesnt even let you do thinks like brick the system by downloading new python libraries. you have to use a python environment to do it, just to ensure you cant fuck up the python depends. which would require something like a system wipe to fix.
Replies: >>105613334
Anonymous
6/16/2025, 8:34:37 PM No.105613334
>>105613295
That was never a real concern unless you were prefixing pip with sudo anyway. Theatre.
Anonymous
6/16/2025, 8:36:07 PM No.105613350
>>105612872
>if=/dev/null
There's no data in /dev/null, you're thinking of /dev/zero
Replies: >>105613414
Anonymous
6/16/2025, 8:39:37 PM No.105613396
>>105612730 (OP)
Reinstall the OS, and select erase disk and install.

Assuming your original setup was with disk encryption, that will throw away its keys as well, making all data unrecoverable.

If you did not encryption originally, you can shred -n 3 data you want unrecoverable, before reinstalling OS, or with the usb live boot of your OS before reinstalling, find the underlining disk and shred it entirely:
sudo shred -n 3 /dev/_yourdisk_


Then reinstall on to that disk
Anonymous
6/16/2025, 8:41:00 PM No.105613414
>>105613350
/dev/null is full of ^Ds on modern systems.
Replies: >>105613437
Anonymous
6/16/2025, 8:43:06 PM No.105613437
>>105613414
That's the control code(more like a convention) for EOF anon
Replies: >>105613466 >>105613501
Anonymous
6/16/2025, 8:45:36 PM No.105613466
>>105613437
Yes that's what /dev/null is full of on modern systems.
Replies: >>105613514
Anonymous
6/16/2025, 8:48:35 PM No.105613501
IMG_20250616_114443
IMG_20250616_114443
md5: 7c2ce9f3e92707ba7e1dafbb03c66852🔍
>>105613437
Anonymous
6/16/2025, 8:50:08 PM No.105613514
>>105613466
Full of being empty?
Anonymous
6/16/2025, 9:16:23 PM No.105613768
>>105612988
>Alternatively, systemd-logind.service's hotkey support may be used, for example to request factory reset if the reboot button is pressed for a long time
>cat sits on the button
>wipes everything
based
Replies: >>105619382
Anonymous
6/16/2025, 9:25:23 PM No.105613852
>>105612730 (OP)
The entire point is that you don't have to do this.
Replies: >>105613939
Anonymous
6/16/2025, 9:34:27 PM No.105613939
>>105613852
if this was true there would be no distrohopping
Replies: >>105613960
Anonymous
6/16/2025, 9:36:25 PM No.105613960
>>105613939
They distrohop because they have nothing of use to do with their PCs.
Anonymous
6/16/2025, 9:38:00 PM No.105613975
backup
backup
md5: 834118922e84b56d5ba19516bd68f24c🔍
>>105612730 (OP)
these 4 I think. But there are a lot of apps for this kind of tasks.
Anonymous
6/16/2025, 10:11:23 PM No.105614294
>>105612950
>reset OS to default state just means to remove software
bait
Anonymous
6/17/2025, 1:29:16 AM No.105615746
>>105612730 (OP)
sudo rm -rf / --no-preserve-root
Anonymous
6/17/2025, 1:35:15 AM No.105615783
>>105612730 (OP)
Our brain.
Anonymous
6/17/2025, 1:37:20 AM No.105615797
1749097101334106
1749097101334106
md5: 925c5d30dc3b8e94b472ea6daff6b910🔍
>>105612730 (OP)
Isn't that just a partition with fresh Windows installation? Bloat included if on laptop?
Anonymous
6/17/2025, 1:42:15 AM No.105615834
Quite a few waysof going about it:
- Use relax-and-recover, with you preferred post-install point.
- Set a fresh-install fs snapshot (say, via snapper) and restore it.
- Clean, fresh installs without data loss are also possible via partition scheme selection(ie, reinstall $THIS-VERSION but don't touch user-data).
- VM Snapshots are also available, depending on you vm platform of choice.

All of these are doable via GUI/web frontends or simple boot menus.
There are also more exotic methods in use, like full fs snapshots via things like xfsdump, but you catch my drift.
Anonymous
6/17/2025, 1:42:51 AM No.105615839
>>105612730 (OP)
dconf reset -f /
Anonymous
6/17/2025, 1:56:37 AM No.105615943
put arch linux CD in the floppy disk drive and install?
Anonymous
6/17/2025, 1:59:27 AM No.105615962
>>105612730 (OP)
Reinst^W"Distrohopping".
Anonymous
6/17/2025, 7:14:03 AM No.105618034
rm -rf ~
Anonymous
6/17/2025, 9:16:31 AM No.105618755
>>105612730 (OP)
First program I download is Timeshift to make a clean backup. Then I set everything up how I like it and make a backup that I'll actually use
Anonymous
6/17/2025, 11:11:42 AM No.105619382
buttons go front dummy
buttons go front dummy
md5: 8e922a8b5618ea82ee07407444656a74🔍
>>105613768
>buying a case with buttons on the top
Faggot. Buttons go on the front
Replies: >>105619921
Anonymous
6/17/2025, 11:22:48 AM No.105619450
>>105612730 (OP)
>>105612831
>I've seen internet comments about how there's something fundamentally bad about the paradigm but never any explanation of why
This isn't done by default since it's inferior to just booting from a live USB stick and wiping the entire disk. All these recovery partitions do is waste storage space.
Replies: >>105620240
Anonymous
6/17/2025, 11:28:43 AM No.105619494
>>105612730 (OP)
booting a clean image
mounting a chroot
fixing whatever is broken or replacing the whole tree
Anonymous
6/17/2025, 11:32:12 AM No.105619516
>>105612730 (OP)
dd your initial image over your current drive.
Anonymous
6/17/2025, 11:35:51 AM No.105619538
>>105612730 (OP)
For restoring?
>Redshift, several other file backup programs

For re-installing?
>Factory default option if it exists or just use the installation USB again/make a new one since you're on linux and can almost certainly reinstall an OS yourself in half an hour.
Anonymous
6/17/2025, 12:39:58 PM No.105619921
>>105619382
how is my cat supposed to turn it on to play on my pc then
Anonymous
6/17/2025, 1:38:42 PM No.105620240
>>105619450
My hard drive is 2 terabytes. I can spend 5 gigabytes of that on not having to have a flash drive dedicated to being my recovery partition instead.
Replies: >>105620677
Anonymous
6/17/2025, 2:52:18 PM No.105620677
>>105620240
yeah but you're a pussy ass bitch who doesn't use their computer, as evidenced by the fact you think 5gb out of 2tb is negotiable.
It's not. It's bloat.