Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Refind custom
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
fabiolima
n00b
n00b


Joined: 22 May 2017
Posts: 3

PostPosted: Mon May 22, 2017 4:20 pm    Post subject: Refind custom Reply with quote

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


Joined: 28 Nov 2006
Posts: 552
Location: Brazil

PostPosted: Mon May 22, 2017 4:25 pm    Post subject: Reply with quote

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


Joined: 22 May 2017
Posts: 3

PostPosted: Mon May 22, 2017 4:39 pm    Post subject: Reply with quote

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


Joined: 28 Nov 2006
Posts: 552
Location: Brazil

PostPosted: Mon May 22, 2017 4:48 pm    Post subject: Reply with quote

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


Joined: 22 May 2017
Posts: 3

PostPosted: Tue May 23, 2017 12:44 am    Post subject: Reply with quote

Soboya

Working after reinstall gentooo :D :D :D :D

You could submit a custom gentoo example entry for refind.


Thanks by help
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things 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