Skip to content

u/Xerotras

In this archive from Jan 2021 to Feb 2021

0
posts
3
comments
0
media
5
score

Top comments

You probably already have spent at least one hour to fix your Linux. Sometimes if things are broken it's easier to start fresh.

I can set up an empty Arch Linux in 5 minutes just with ssh and have it working with desktop in 10 minutes more. You can enable ssh on Arch USB. Then you can save you data from a second computer (Even a raspberry helps) via ssh to the USB-Linux. Otherwise mount a second memory stick on the USB linux.

Save your home and /etc and grub.cfg and/or the added kernel options on a USB memory stick or on a second disk. Install the system new without partitioning (just mkfs the partition) and restore you home from that backup. Then install all packages again and replace a the changes you made in /etc and add the kernel parameters to grub.cfg again if needed.

Doing it this way you will be sure that you have a working system. Otherwise if you encounter some installation or Linux problem later you will always second guess if you did fix everything.

Backup your /home, /etc, /boot/grub/grub.cfg or /boot/loader/entries. Save the names of the installed packages: pacman -Ss|grep -A1 installed >~/installed_packages.txt for the next time when you need to recover. It's not important but just makes life a bit easier.

0 points

Subreddits

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.