That is OK. I thought you had no grub menu and were only able to boot using the grub prompt.
Right, you have control of your machine. … can you identify
(in gparted) all the partitions that still exist?
Probably the Mint partition will be missing or empty
Then decide how to get it back… do you lose a lot if you do a fresh install?
A lot more apps to install/customize maybe (I’m getting to old to remember…lol) but I just finished the Timeshift attempt of today’s Boot/Hourly restore (it took forever…) and it did not boot to grub. Something"FAILED" flashed so fast I couldn’t read it, then it tries to log me into a web console? Why? Is it because I set up SSH for use with the server?
I may have to do the Timeshift restore from one that is an entire backup (maybe as long ago as Oct 2023) in order to get everything working, but then I can probably move forward from there with a more current restore.
At this point, I can’t hurt anything
I am still sitting at the web console login prompt and have tried everything I know to login, but its not working.
It can wait. Before closing Timeshift, it shows a message that if it fails to boot, come back and try a different snapshot restore. I will try that next.
Kubuntu is gone since using Timeshift to restore LM. It did boot to the LM logo, then that error message in red said FAILURE: failed to detect available GPU card and “failed to start light display manager”.
Not sure how that is not restored from a backup snapshot. Since the web console for mint-desktop login is what it goes back to each time, I cannot update-grub from the current install.
I will boot up the live LM session and maybe I can figure out how to do it from there? Or try a different timeshift snapshot.
I did find one forum where someone was getting the tty web console login after restoring one system Timeshift backup to a different one (which I did) and the solution was:
No wonder you can’t boot. Your UUIDs (Universally Unique Identifiers) may all be mismatched. If I’m right in my assessment, then you’ll have to load up a Live CD/USB, go to the new SSD, open up the ‘etc/fstab’ file on it, then change the UUIDs to the correct values for the filesystem(s) on the SSD. You can get the UUIDs with blkid or sudo blkid if it doesn’t work.
I guess I could run the live session and compare what I get in terminal with the fstab file and at least see if this is the case for me.
You could run update-grub, but what it writes in grub.cfg will not persist… so there is no point.
I dont get it. If Timeshift does a proper restore, it should boot.
It clearly copied all the root filesystem back. What else could be wrong?
Only option would be to go to the grub> prompt and try and boot it with grub commands.
or
Use the live CD, mount the LM root filesystem, you have already checked fstab, but maybe you should check /boot/grub/grub.cfg.
look at the lines starting with linux and see what the root=
parameter is set to. It should point to the root filesystem partition.
If you cant see anything, you could hide the grub.cfg file, and see if it will boot without it. mv grub.cfg grub.cfg.hide
will hide it, and you can get it back if necessary
Sorry out of ideas.
Afterthought
If timeshift restored LM onto the Kubuntu partition, that is a different partition from where LM originally was?
Check your UUID’s again.
That looks right as the linux partition would be gpt2.
So get to grub prompt, are you talking grub shell or terminal in live session? I have chrooted after mounting the boot and sys, but I too am out of ideas…other than to attempt another Timeshift restore.
No. I get the normal messages at boot including those 2 Failure lines, then it goes to the tty1. And no matter that my login is Sheila Flanagan and I know my password, it fails to login to console. And I have even tried ALT-CTRL-F7, F1, they do nothing. So only choice is to reboot at that point.
Strange. Lightdm failing is most likely because it could not
start the Xorg server. But cant detect the GPU card… that is
weird.
Can you boot in recovery mode?
Is all your LM on one partition? It is like it left something behind.
Is there anything that can scan the current LM install and find errors? I tried using Rescuezilla, but I think it only looks at saved images when you use Verify. But I am unaware of any other tool to analyze the system for issues.
Hey, I remembered how to get to recovery mode: hold down right shift while booting. So now I can select cuurent kernel recovery mode. Or should I get to grub shell?
Okay. I used recovery to repair broken packages. It did. Rebooted back to recovery to use fsck and that failed with:
line 80: /et/default/rcS: No such file or directory
e2fsck: cannot continue, aborting
And in recovery mode I found what I suspected, and that was since installing cockpit for server control from linux mint, that is why we are getting that tty1 at startup, although Lord only knows why.
I will attempt another restore from Timeshift to see if that fixes it. At least if I go back farther than installing Cockpit, we might get rid of that tty1 prompt and get directly to grub (at least holding right shift, as it is hidden with only one OS).