View previous topic :: View next topic |
Author |
Message |
hariskar Apprentice
Joined: 29 Jan 2017 Posts: 168
|
Posted: Wed Mar 22, 2023 8:51 pm Post subject: After motherboard change: unknown filesystem. Rescue mode |
|
|
After I changed motherboard and cpu but kept my 2 ssd with Windows and Gentoo. I can boot Windows but not Gentoo. I get message:
[/code]error: unknown filesystem.
Entering rescue mode...[/code]
Gentoo is /dev/sdb as it was on previous motherboard.
In grub rescue ls shows:
(hd0) (hd0, msdos1) (hd1) (hd2) (hd3)
Basic entries in:
/etc/fstab
/dev/sdb1 /boot
/dev/sdb2 swap
/dev/sdb3 /
In grub.cfg root points at hd1, gpt1 8f I remember correctly.
Previous processor was Intel, the new is AMD.
What ifind strange is that Windows 10 booted easy, immediately like nothing has changed..
Any help please?
Thank you! |
|
Back to top |
|
|
mike155 Advocate
Joined: 17 Sep 2010 Posts: 4438 Location: Frankfurt, Germany
|
Posted: Thu Mar 23, 2023 1:29 am Post subject: |
|
|
Do you know SystemRescue? I would copy it to a USB stick and boot from it.
There's an option "boot an installed OS". You could try that one. It will boot your machine, but with the SystemRescue kernel. If it works, you will know that something is wrong with your boot loader or with the kernel.
You could also boot the SystemRescue system and mount your machine using the chroot trick, which is described in the handbook. Maybe the drive order has changed? |
|
Back to top |
|
|
Goverp Advocate
Joined: 07 Mar 2007 Posts: 2179
|
Posted: Thu Mar 23, 2023 9:09 am Post subject: |
|
|
hariskar wrote: | ...
In grub rescue ls shows:
(hd0) (hd0, msdos1) (hd1) (hd2) (hd3)
Basic entries in:
/etc/fstab
/dev/sdb1 /boot
/dev/sdb2 swap
/dev/sdb3 /
... |
At this stage /etc/fstab is irrelevant, the linux kernel hasn't read it.
What are you specifying for "root=" in the kernel command line? From what you said, I guess "root=/dev/sdb3", but the grub rescue lines suggest it should be "root=/dev/sda3". Obviously it will be better if you use "root=LABEL=" or "root=UUID+" or "root=PARTUUID=" (assuming your kernel has the appropriate initramfs where needed). _________________ Greybeard |
|
Back to top |
|
|
|