Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
gentoo-kernel + dracut + btrfs root
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Zucca
Moderator
Moderator


Joined: 14 Jun 2007
Posts: 3687
Location: Rasi, Finland

PostPosted: Tue Oct 20, 2020 1:02 pm    Post subject: gentoo-kernel + dracut + btrfs root Reply with quote

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


Joined: 14 Jun 2007
Posts: 3687
Location: Rasi, Finland

PostPosted: Mon Jan 25, 2021 8:53 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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