You are not logged in.

#1 2023-08-23 17:28:26

ragnarokangel
New Member
Registered: 2023-08-23
Posts: 1

How to Reinstall

I hosed my install of BL beryllium. I was having an issue with dependencies of libc6. It needed a newer version than I have. Without thinking through things I ran <code> dpkg --purge libc6 </code>. I tried using the advanced installer to just reinstall the base system to my previous / partition. The partitioner hangs and won't let me move forward to the next steps. Is there a better way to reinstall the system? I would prefer to keep my /home partition and not symlink.

Offline

#2 2023-08-23 18:06:38

rbh
Moderator
From: South of Lapplands inland
Registered: 2016-08-11
Posts: 1,921

Re: How to Reinstall

ragnarokangel wrote:

I tried using the advanced installer to just reinstall the base system to my previous / partition. The partitioner hangs and won't let me move forward to the next steps. Is there a better way to reinstall the system? I would prefer to keep my /home partition and not symlink.

If you try to install to a system that still have system directories (like /bin, /etc, /lib, the installer will refuse to continue on "unclean system".
You can  boot a live iso and delete all but /home, ev /data and all other non-system directories.
When you reinstall and keep data, it is best to boot the advanced installation. Make sure you set the partition use right. If you have /home on own partition, do not reformat it, if you want to keep it. The other partition can yo set to use prefered file system and be reformated. If you have other linux system on the pc, that share swap, make sure not to reformat swap.
Set to not use the swap and correct it after the installation by editing /etc/fstab

Before you reinstall, you can try to chroot to your borked system and reinstall what has been removed.
When you chroot and reinstall, you need to also mount virtual filsystems. Rescue dist grml (download from  grml.org/download), can take care of mounting the virtual filesystem for you (command grml-chroot, is a wrapper around chroot and take care of mounting the virtual filesystems).
In /var/log/apt/history.log and ..term.log, you have info about what was uninstalled.


// Regards rbh

Please read before requesting help: "Guide to getting help", "Introduction to the Bunsenlabs Lithium Desktop" and other help topics under "Help & Resources" on the BunsenLabs menu

Offline

Board footer

Powered by FluxBB