View previous topic :: View next topic |
Author |
Message |
fabiolima n00b
Joined: 22 May 2017 Posts: 3
|
Posted: Mon May 22, 2017 4:20 pm Post subject: Refind custom |
|
|
I had to install the Genkernel Gentoo kernel to load the NVIDIA video card drivers by customizing the refind with the Gen's entry on the second partition (Arch Linux is installed first)
After reading the refind does not accept these input "Kernel" as loader (only BzImage, vmlinux) has to read the intramfs to load the drives.
When customizing with the following input it is not possible to boot by Gentoo
Code: | menuentry "Arch" {
icon \EFI\BOOT\icons\os_arch.png
volume Arch
ostype Linux
loader /vmlinuz-linux
initrd /initramfs-linux.img
options "root=/dev/sdc3 rw"
}
menuentry "Gentoo" {
icon \EFI\BOOT\icons\os_gentoo.png
volume Gentoo
ostype Linux
loader kernel-genkernel-x86_64-4.9.16-gentoo
initrd /initramfs-genkernel-x86_64-4.9.16-gentoo
options "root=/dev/sdc6 rw"
} |
Does anyone have any idea how I can do to leave the custom refind with the gentoo entry working.
[Moderator edit: added [code] tags to preserve output layout. -Hu] |
|
Back to top |
|
|
saboya Guru
Joined: 28 Nov 2006 Posts: 552 Location: Brazil
|
Posted: Mon May 22, 2017 4:25 pm Post subject: |
|
|
Well, unless you to use Plymouth or something like that, you don't need the module to be available when the kernel starts, you can load if afterwards.
I currently use refind and Nvidia drivers with no initramfs. |
|
Back to top |
|
|
fabiolima n00b
Joined: 22 May 2017 Posts: 3
|
Posted: Mon May 22, 2017 4:39 pm Post subject: |
|
|
Hi Saboya
Can you give me the hint of how I can compile the kernel manually without the need to load the driver without the initramfs
I use the manufacturer's NVIDIA drive
How can I use Plymouth? |
|
Back to top |
|
|
saboya Guru
Joined: 28 Nov 2006 Posts: 552 Location: Brazil
|
Posted: Mon May 22, 2017 4:48 pm Post subject: |
|
|
You need a kernel with EFI stub:
https://wiki.gentoo.org/wiki/EFI_stub_kernel
Then just emerge the Nvidia driver as you would, it will be loaded automatically after the kernel initializes. |
|
Back to top |
|
|
fabiolima n00b
Joined: 22 May 2017 Posts: 3
|
Posted: Tue May 23, 2017 12:44 am Post subject: |
|
|
Soboya
Working after reinstall gentooo
You could submit a custom gentoo example entry for refind.
Thanks by help |
|
Back to top |
|
|
|