View previous topic :: View next topic |
Author |
Message |
Zucca Moderator
Joined: 14 Jun 2007 Posts: 3687 Location: Rasi, Finland
|
Posted: Tue Oct 20, 2020 1:02 pm Post subject: gentoo-kernel + dracut + btrfs root |
|
|
I'm thinking of switching to gentoo-kernel from gentoo-sources on my server.
I have /boot and /boot/efi formatted as ext4 and vfat but / (which contains the rest of the system) is a large multi-device (btrfs-raid1) btrfs filesystem.
Can dracut cope with btrfs root? Because Redhat abandoning btrfs this is my concern.
If it cannot, then can I disable initramfs USE-flag from gentoo-kernel and after emerging the kernel then use genkernel (for example) to build a initramfs for the just emerged gentoo-kernel? _________________ ..: Zucca :..
My gentoo installs: | init=/sbin/openrc-init
-systemd -logind -elogind seatd |
Quote: | I am NaN! I am a man! |
|
|
Back to top |
|
|
Zucca Moderator
Joined: 14 Jun 2007 Posts: 3687 Location: Rasi, Finland
|
Posted: Mon Jan 25, 2021 8:53 am Post subject: |
|
|
Well. I went and tried gentoo-kernel ootb and to no surprise I was dropped into a emergency shell during initrd processing. rEFInd picked the right initrd and kernel, so that looks promising at least.
Looking at dracut man page... yeah. It looks way too complicated. Although it has --hostonly which creates a smaller initrd just for the running system and not a universal initrd.
I'm tempted to create a custom minimal initrd... But can i disable initrd creation during gentoo-kernel install..?
Choices, choices...
EDIT: USE="-initramfs" ;)
I hope sys-kernel/*-kernel team would add support for other initramfs tools.
I think Arch has mkinitramfs tool for example. _________________ ..: Zucca :..
My gentoo installs: | init=/sbin/openrc-init
-systemd -logind -elogind seatd |
Quote: | I am NaN! I am a man! |
|
|
Back to top |
|
|
|