Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
can not load module after reboot
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Jackie Lin
Tux's lil' helper
Tux's lil' helper


Joined: 31 May 2017
Posts: 115

PostPosted: Tue May 05, 2020 12:42 pm    Post subject: can not load module after reboot Reply with quote

Hi, there.
I followed the AMD64 handbook, and use genkernel to generate kernel. After the command "genkernel all" finished, it displayed a message saying that I may need to pass the root filesystem partition to the kernel or the image to boot successfully. But I did not take care of it. and when the computer rebooted, it failed showing many messages like "failed to load xxx".

what should I do? Should I pass the root filesystem partition to kernel or image? and how can I do that?
Thanks in advance!
_________________
peace, focus.
Back to top
View user's profile Send private message
alamahant
Apprentice
Apprentice


Joined: 23 Mar 2019
Posts: 262

PostPosted: Tue May 05, 2020 1:28 pm    Post subject: Reply with quote

Do you use grub?
If yes add in /etc/default/grub
Code:

GRUB_CMDLINE_LINUX=".........root=/dev/sdxxxx ................" ##OR
GRUB_CMDLINE_LINUX=".........root=UUID=xxxxxxxxxxx........"

:D
Back to top
View user's profile Send private message
fturco
Veteran
Veteran


Joined: 08 Dec 2010
Posts: 1038
Location: Italy

PostPosted: Tue May 05, 2020 2:05 pm    Post subject: Reply with quote

After editing /etc/default/grub one also needs to mount the /boot partition (if needed) and run:
Code:
grub-mkconfig -o /boot/grub/grub.cfg
Back to top
View user's profile Send private message
Jackie Lin
Tux's lil' helper
Tux's lil' helper


Joined: 31 May 2017
Posts: 115

PostPosted: Wed May 06, 2020 2:03 pm    Post subject: Reply with quote

Yes, I use grub. I will have a try. Thanks!
_________________
peace, focus.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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