Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
After motherboard change: unknown filesystem. Rescue mode
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
hariskar
Apprentice
Apprentice


Joined: 29 Jan 2017
Posts: 168

PostPosted: Wed Mar 22, 2023 8:51 pm    Post subject: After motherboard change: unknown filesystem. Rescue mode Reply with quote

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
View user's profile Send private message
mike155
Advocate
Advocate


Joined: 17 Sep 2010
Posts: 4438
Location: Frankfurt, Germany

PostPosted: Thu Mar 23, 2023 1:29 am    Post subject: Reply with quote

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
View user's profile Send private message
Goverp
Advocate
Advocate


Joined: 07 Mar 2007
Posts: 2128

PostPosted: Thu Mar 23, 2023 9:09 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum