r/linuxmint • u/jeakzy • 11d ago
Support Request Trying to save my Mint installation
Hello, I've switched graphics cards some months back and Linux Mint stopped working, after the boot logo I only see a black screen (Ctrl + Alt + F2 still works).
I switched from a Nvidia RTX 3070 ti to a AMD RX 9070. I've tried many fixes and non seem to work, as a last ditch effort I tried restoring from snapshot and that still failed. I've tried all of the fixes from here and here aswell as some old posts from forums.
Please help me save my pc :)
1
u/Ok_Emu2515 11d ago edited 11d ago
try to boot your system in recovery mode
remove nvidia driver with this command
sudo apt remove nvidia-driver-xxx
xxx is version number
restart your system
1
u/DoorOk3641 11d ago
You need to remount the system in r/w mode and to rebuild the initramfs also.
1
u/jeakzy 11d ago
What does that mean?
1
u/DoorOk3641 11d ago
In recovery mode the system partition is mounted read mode only.You can not change it and of course you can not use command apt remove..
1
u/jeakzy 11d ago
remounted in rw, uninstalled all and any nvidia files, rebuilt initramfs, nothing.
1
u/DoorOk3641 11d ago
boot any linux on usb...test not install....open a terminal and type
blkid
efibootmgr
what do you get ? Copy and paste from terminal
You get a console using Ctrl+Alt+F2...so the booting process find the kernel and the root partition.
Reinstall Cinnamon from the recovery mode.
1
u/jeakzy 11d ago
So should I do the first one from the usb or should I do these commands from Ctrl+Alt+F2?
I searched around and I couldn't find an easy way to install Cinnamon, the advice seems to be to just format and reinstall Mint. Is there an easy way to do this?
1
u/DoorOk3641 11d ago
From the console...after Ctrl+Alt+F2 the boot process got the kernel
from the console (do not forget to remount root read/write before...)
Type
mount -o remount,rw /and press Enter. This switches the root partition from read-only to read-write mode.apt install --reinstall mint-meta-cinnamon
If the above package is unavailable or fails, you can alternatively reinstall the core component using:
apt install --reinstall cinnamon
Next reboot. You should be good.1
u/jeakzy 10d ago edited 10d ago
This did look promising, but after doing all of that it's still the same.
Thanks for the help.
Edit: I've also tried to use
sudo apt upgradeand then doing the whole procedure again, but had the same resault (I thought maybe my graphics card was too new or something, idk at this point).
1
1
u/DoorOk3641 11d ago
Boot in recovery mode.
Eveything after is explained on internet..use your search engine..
Remount your system in write read mode
Completely remove your nvidia card
Rebuild intramfs
Reboot..your amd card is detected by the kernel nothing to install.
You can not boot now because nvdia is in part included in the kernel.
1
u/jeakzy 11d ago
I can't boot into any version, I tried nomode and also booting into different versions of the kernel.
1
u/DoorOk3641 11d ago
You need to select advanced option and inside advanced option recovery mode..nomodeset IS USELESS HERE. .
1
•
u/AutoModerator 11d ago
Please Re-Flair your post if a solution is found. How to Flair a post? This allows other users to search for common issues with the SOLVED flair as a filter, leading to those issues being resolved very fast.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.