View previous topic :: View next topic |
Author |
Message |
Jackie Lin Tux's lil' helper
Joined: 31 May 2017 Posts: 115
|
Posted: Tue May 05, 2020 12:42 pm Post subject: can not load module after reboot |
|
|
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 |
|
|
alamahant Advocate
Joined: 23 Mar 2019 Posts: 3879
|
Posted: Tue May 05, 2020 1:28 pm Post subject: |
|
|
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........"
|
|
|
Back to top |
|
|
fturco Veteran
Joined: 08 Dec 2010 Posts: 1181 Location: Italy
|
Posted: Tue May 05, 2020 2:05 pm Post subject: |
|
|
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 |
|
|
Jackie Lin Tux's lil' helper
Joined: 31 May 2017 Posts: 115
|
Posted: Wed May 06, 2020 2:03 pm Post subject: |
|
|
Yes, I use grub. I will have a try. Thanks! _________________ peace, focus. |
|
Back to top |
|
|
|