View previous topic :: View next topic |
Author |
Message |
g-virus Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 26 Aug 2017 Posts: 113
|
Posted: Mon Nov 27, 2017 5:30 pm Post subject: Plymouth and UEFI without GRUB2. How to? |
|
|
Hello everyone! I'm trying to setup the plymouth on my UEFI laptop and it's not working. I have installed sys-boot/plymouth package and OpenRC-plugin. I have also chosen a theme and disabled rc_interactive. Also disabled a Boot Logo. Well I guess I've done everything according to Gentoo Wiki. But the Plymouth doesn't work, I still see text-mode but without the logo. What should I do more? I don't have any bootloader. my system loads from /boot/EFI/Gentoo/linux,efi file
Thanks in advance |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
charles17 Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
Joined: 02 Mar 2008 Posts: 3685
|
Posted: Mon Nov 27, 2017 5:54 pm Post subject: |
|
|
How did you create the initramfs? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
g-virus Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 26 Aug 2017 Posts: 113
|
Posted: Mon Nov 27, 2017 10:43 pm Post subject: |
|
|
charles17 wrote: | How did you create the initramfs? |
I don't have it actually |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
charles17 Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
Joined: 02 Mar 2008 Posts: 3685
|
Posted: Tue Nov 28, 2017 7:52 am Post subject: |
|
|
g-virus wrote: | I don't have it actually |
Do you think plymouth works without initramfs? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
g-virus Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 26 Aug 2017 Posts: 113
|
Posted: Tue Nov 28, 2017 9:36 pm Post subject: |
|
|
charles17 wrote: | g-virus wrote: | I don't have it actually |
Do you think plymouth works without initramfs? |
I thought so actually because I don't need the initramfs and I thought it is an optional way. So I guess I will have to setup it? Does it work without grub, lilo etc? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
charles17 Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
Joined: 02 Mar 2008 Posts: 3685
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
g-virus Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 26 Aug 2017 Posts: 113
|
Posted: Fri Dec 08, 2017 4:54 pm Post subject: |
|
|
Well ok, I've installed the initramfs by dracut.
Config file /etc/dracut.conf.d/initramfs.conf
Code: |
hostonly="yes"
dracutmodules+="plymouth"
|
the img-file was generated successfully, 12M size.
I've also added it to EFI according to this article https://wiki.gentoo.org/wiki/EFI_stub_kernel so seems like everything is ok, but still no Plymouth during the boot. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
g-virus Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 26 Aug 2017 Posts: 113
|
Posted: Tue Dec 12, 2017 5:29 pm Post subject: |
|
|
Any ideas, guys? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
charles17 Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
Joined: 02 Mar 2008 Posts: 3685
|
Posted: Tue Dec 12, 2017 6:10 pm Post subject: |
|
|
g-virus wrote: | the img-file was generated successfully, 12M size. |
And is it used at all? Or are you booting without your new initramfs? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
g-virus Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 26 Aug 2017 Posts: 113
|
Posted: Fri Dec 15, 2017 5:48 pm Post subject: |
|
|
charles17 wrote: | g-virus wrote: | the img-file was generated successfully, 12M size. |
And is it used at all? Or are you booting without your new initramfs? |
I'm not sure I could add successfully wrong Probably my UEFI doesn't work with external initramfs files. If I rename the initramfs will my laptop fail on boot? If yes I will try it[/quote] |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
charles17 Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
Joined: 02 Mar 2008 Posts: 3685
|
Posted: Fri Dec 15, 2017 7:09 pm Post subject: |
|
|
g-virus wrote: | Probably my UEFI doesn't work with external initramfs files. ... |
This should be tested, of course. But why not try internal initramfs ( did I tell you the link )? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
g-virus Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 26 Aug 2017 Posts: 113
|
Posted: Fri Dec 15, 2017 7:35 pm Post subject: |
|
|
charles17 wrote: | g-virus wrote: | Probably my UEFI doesn't work with external initramfs files. ... |
This should be tested, of course. But why not try internal initramfs ( did I tell you the link )? |
I didn't try the internal variant because I don't know how to enable it correctly with non-grub-like booting so I've tried the external variant first
I've tried to delete the initramfs file /boot/efi/gentoo/initramfs.img and the system doesn't boot so the external file works good. Any ideas? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
g-virus Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 26 Aug 2017 Posts: 113
|
Posted: Sun Dec 17, 2017 10:19 pm Post subject: |
|
|
Probably it is a reason of the problem - I use official nvidia drivers (nvidia-drivers package). Could Plymouth stop work because of these drivers?
I've tried to run these commands to test Plymouth
Code: |
# plymouthd
# plymouth --show-splash
|
A screen has fade to black, I can see a login prompt but I cannot enter login/password so I have to switch to another terminal and restart X server. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
tberger2 Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 05 Feb 2013 Posts: 83
|
Posted: Mon Dec 18, 2017 10:37 am Post subject: |
|
|
For some reasons I use a custom initramfs (busybox) made by myself. Does anyone use plymouth/UEFI not created by dracut? If yes or somebody knows, what files are needed and what has to be added to the init script? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
g-virus Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 26 Aug 2017 Posts: 113
|
Posted: Sat Jan 27, 2018 12:20 am Post subject: |
|
|
I have to up the topic because I'm close to the solution.
What have I done now:
1) Recompiled the nvidia proprietary driver with uvm use flag.
2) Added quite splash parameters to the EFI kernel command-line string in the kernel configuration menu (Processor's Type and Features)
Now Plymouth "works". But I can see only an ugly gray splashscreen with ugly dark-gray squares with '?'-signs on center. And this shit is animated. No idea what is happening, but I've tried to change a theme and the splash does not change.
Also I have tried to debug this by call this commands
Code: |
(first terminal)#: plymouthd --no-daemon --debug > log.txt
(another terminal)#: plymouth show-splash
|
but I still can see the ugly gray splash.
Also I have tried to change the kernel parameters to splash plymouth:debug but I can't find any plymouth error messages.
Please your ideas guys |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
charles17 Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
Joined: 02 Mar 2008 Posts: 3685
|
Posted: Sat Jan 27, 2018 8:12 am Post subject: |
|
|
tberger2 wrote: | For some reasons I use a custom initramfs (busybox) made by myself. Does anyone use plymouth/UEFI not created by dracut? If yes or somebody knows, what files are needed and what has to be added to the init script? |
Are you using the directory approach or the initramfs_list approach? I am having directory for EFI stub kernel but without plymouth. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
tberger2 Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 05 Feb 2013 Posts: 83
|
Posted: Wed Feb 07, 2018 6:54 am Post subject: |
|
|
charles17 wrote: | tberger2 wrote: | For some reasons I use a custom initramfs (busybox) made by myself. Does anyone use plymouth/UEFI not created by dracut? If yes or somebody knows, what files are needed and what has to be added to the init script? |
Are you using the directory approach or the initramfs_list approach? I am having directory for EFI stub kernel but without plymouth. |
I use the directory approach. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
charles17 Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
Joined: 02 Mar 2008 Posts: 3685
|
Posted: Wed Feb 07, 2018 9:14 am Post subject: |
|
|
So I guess you would need to add some of the plymouth stuff compiled with USE=static-libs and maybe add something to the init file. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
tberger2 Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 05 Feb 2013 Posts: 83
|
Posted: Thu Feb 08, 2018 5:42 am Post subject: |
|
|
That's what I did. I got it work on a busybox shell but for some reason it didn't start while booting. Been a while, maybe I'll try it again. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|