Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Unsupported Software
  • Search

zfsbootmenu issues booting stucks?

This forum covers all Gentoo-related software not officially supported by Gentoo. Ebuilds/software posted here might harm the health and stability of your system(s), and are not supported by Gentoo developers. Bugs/errors caused by ebuilds from overlays.gentoo.org are covered by this forum, too.
Post Reply
Advanced search
4 posts • Page 1 of 1
Author
Message
Waterdevil
Apprentice
Apprentice
User avatar
Posts: 172
Joined: Tue Aug 15, 2017 10:56 am
Location: LaniakeaHypercluster VirgoSupercluster MilkomedaGroup OrionArm Sector001 GouldBelt SolSystem Austria

zfsbootmenu issues booting stucks?

  • Quote

Post by Waterdevil » Thu Apr 11, 2024 9:59 am

Hello world,

I have root on zfs!

when I found zfsbootmenu I tried it immediately.
Grub has unsolvable (for me?) issues. Can not boot any more with each and any kernel on both of my two machines.

so zfsbootmenu:
I booted, =>
Tearing down USB 0...14...
no message, no action.

I made a new kernel with chroot, booted, =>
Tearing down USB 0...14...
no message, no action.
I struggled a week only to realize, that when I waited more than 2 minutes it booted successfully.

QUESTION:

How can I see messages from booting like
Loading initramfs, vmlinux and their messages
or at least set a progress indicator (like penguins)?

Many thanks in advance,
Best regards
_____________________
Aut semper aut numquam

Main-Sys: LianLi modded Big Cube 8000,X11DPG-QT,MEM:64G,LSI 9305,HDD:102TB(16x3T,8x6T,4x1T,1x0,5Tm.2,4x0,5TSSD),nVidia GTX1060,NIC:2x10GbSFP+,Fans:20,PSU:1200W+500W,UPS:APC1500VA,FibreChannel,Tandberg LTO-6
Top
pingtoo
Advocate
Advocate
User avatar
Posts: 2180
Joined: Fri Sep 10, 2021 8:37 pm
Location: Richmond Hill, Canada

  • Quote

Post by pingtoo » Thu Apr 11, 2024 1:19 pm

Waterdevil,

Using zfsbootmenu you essentially booted twice, first time is the the in memory system (initrd), which in turn locate kernel and zfs-root and use kexec with newly mounted zfs-root to reboot.

So which part you not seeing messages?

If you are talking your firmware loading zfsbootmenu image and not seeing anything about the zfsbootmenu's execution than you need to review how you got the zfsbootmenu image. It is very possible your kernel binary in zfsbootmenu need to re-configure to support correct linux console setting for your firmware. You could search gentoo forums for those talk about black screen after boot.
Top
Waterdevil
Apprentice
Apprentice
User avatar
Posts: 172
Joined: Tue Aug 15, 2017 10:56 am
Location: LaniakeaHypercluster VirgoSupercluster MilkomedaGroup OrionArm Sector001 GouldBelt SolSystem Austria

  • Quote

Post by Waterdevil » Thu Apr 11, 2024 7:13 pm

Hi pingtoo,

I use /efi/EFI/boot/zbmBOOTX64.EFI, which I downloaded from https://docs.zfsbootmenu.org/en/v2.3.x/

The initramfs I generated with dracut.

I chrooted in LiveCD and did:

Code: Select all

zcat /proc/config.gz > /usr/src/linux/.config -v
With this I tried to make a kernel (this worked with grub), but now is a black screen.

A second kernel which I copied from actual Gentoo LiveCD can boot and displays messages.

I can't recognize two boots, so I don't know which part.

/etc/dracut.conf

Code: Select all

# PUT YOUR CONFIG IN separate files
# in /etc/dracut.conf.d named "<name>.conf"
# SEE man dracut.conf(5) for options
#
nofsck="yes"
add_dracutmodules+=" zfs "
omit_dracutmodules+=" btrfs resume "
#
# Choose compression program for the image
compress="gzip"
Hope this informations help to find a solution.

Thank you for fast response
Best regards
_____________________
Aut semper aut numquam

Main-Sys: LianLi modded Big Cube 8000,X11DPG-QT,MEM:64G,LSI 9305,HDD:102TB(16x3T,8x6T,4x1T,1x0,5Tm.2,4x0,5TSSD),nVidia GTX1060,NIC:2x10GbSFP+,Fans:20,PSU:1200W+500W,UPS:APC1500VA,FibreChannel,Tandberg LTO-6
Top
pingtoo
Advocate
Advocate
User avatar
Posts: 2180
Joined: Fri Sep 10, 2021 8:37 pm
Location: Richmond Hill, Canada

  • Quote

Post by pingtoo » Thu Apr 11, 2024 7:48 pm

Waterdevil wrote:With this I tried to make a kernel (this worked with grub), but now is a black screen.
grub vs EFI. both grub and efi have their own way of initialling display system. so you can see gtub/efi menu, once the execution pass on to linux kernel it will have to choose a device driver that match grub/efi's setting in order for linux continue to display messages.

Have a look a this thread, it may help you understand your situation. (note, I am not saying it give you solution, I mean it give you why)

In your case it is efi that initialling the display system, so your first kernel need to support EFI's setup.

Your first kernel is in the zbmBOOTX64.efi, I am not sure if there is a different image you can download that will support your firmware.

As far as I know zfsbootmenu can be build. you can get it from several overlay, for example GURU overlay::sys-boot/zfsbootmenu
Waterdevil wrote:A second kernel which I copied from actual Gentoo LiveCD can boot and displays messages.
Since your second kernel seems work ok, please keep it so it will not create confusion later.
Top
Post Reply

4 posts • Page 1 of 1

Return to “Unsupported Software”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy