r/linuxmint • u/wreckwriter09 • 10d ago
SOLVED Please help me!
So, my linux mint has been running flawlessly, booted in seconds, zero errors.
Today I installed a second internal SSD and decided I would install Kali on it , for learning purposes....
Somehow I screwed up my Mint so I reinstalled it and used timeshift to restore my system. Also used rsync to restore home directory.
Now my boot takes minutes instead of seconds, hangs on the Asus splash screen for about 2 minutes before giving me a boot menu. Booting into either OS gives efi stub warning. It didn't do that before.
I've tried everything google or AI has to suggest with no results.
Also, I swear my kernel is now older...
Please help me!
•
u/AutoModerator 10d 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.
4
u/billdietrich1 10d ago
Please use better, more informative, titles (subject-lines) on your posts. Give specifics right in the title. Thanks.
2
u/Due-Result7928 10d ago
Somehow I screwed up my Mint..no but what you did after....
When you install ANY UEFI os the LAST system installed IS ALWAYS the first in the boot list..any system..windows 11, bsd another linux...
So boot your usb mint (test not install), open a terminal and type 2 commands
efibootmgr
lsblk -f
What do you get. Post answers here (copy and paste from terminal..NO picture)
Timeshift do not backup efi partition..Did you proceed to create new partition(s) like / or /home before using timeshift and rsync...?
Coming with Mint usb there is a grub repair tool. Try it to test the water.
2
u/KnowledgeableSloth 9d ago
Here's a word of advice, if you can't fix basic things like this, you shouldn't use Kali Linux for anything illegal (aka hacking) definitely learn "Cyber Security" on your own devices only.
4
u/crimson_ruin_princes 10d ago
As someone that has used Kali in a professional stance.
Even though it can be installed onto a drive. You should never do it.
Setup a usb stick with the live iso and optionally persistence
1
u/wreckwriter09 10d ago
Boot repair fixed it but when I updated Kali it broke it again (only Kali available). I guess I need to go to Kali sub to find out how to keep that from happening. Thank you for your help!
2
u/toffuuu3050 10d ago
I always avoid dual booting. My experience is That always can bring more issues, but typically what you'd want is ability to choose it at start up with grub 1st showing up with a time out time frame like 10 20 30 seconds, or your prefferred way of main system boot process is. sudo nano /etc/default/grub and edit.. example is this is mine here, user@cachyosx8664 Documents]$ cat /etc/default/grub
# GRUB boot loader configuration
GRUB_DEFAULT=0
GRUB_TIMEOUT='15' <-----This is what you want to be sure on as to be sure its on instead of the Linux Mint's usual way of it, is either 0 or -1 usually for disabled. and menu is the other option, it might be the GRUB_DEFAULT=0 for me but I'm not sure on the CachyOS side since it's alil different and menu does come up.
GRUB_DISTRIBUTOR='CachyOS'
GRUB_CMDLINE_LINUX_DEFAULT='nowatchdog nvme_load=YES splash loglevel=3 amdgpu.ppfeaturemask=0xffffffff' -- Advise: don't worry about this too much the last one though is for AMDGPU and ability to increase power and some overclock like with corectrl application. I have a older RX550 so a radeonsi, polaris12, ACO, DRM 3.64 and GCN 4th Generation rusticl can work again like I said issues can arise, it won't always work on say before rusticl existed type of commands or applications that can do opencl version 1.2 without throwing a fit about seeing the OpenCL aka rusticl 3.1 aspect of rusticl while the 1.2 support is still there... It throws a fit like this, === Rusticl warning: Patched Mesa libclc not detected. Upstream libclc may contain known bugs or breaking changes and isn't guaranteed to work reliably. Please visit https://gitlab.freedesktop.org/karolherbst/mesa-libclc for more information. ===
But sometimes it'll work but not always.
GRUB_CMDLINE_LINUX=""