Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Genkernel & BCache
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
foux
Tux's lil' helper
Tux's lil' helper


Joined: 04 Jul 2004
Posts: 89
Location: Rennes, France

PostPosted: Thu Feb 27, 2014 11:36 am    Post subject: Genkernel & BCache Reply with quote

Hello,

Has anybody managed to use genkernel with bcache?

Thanks
Back to top
View user's profile Send private message
Massimo B.
Veteran
Veteran


Joined: 09 Feb 2005
Posts: 1568
Location: Germany

PostPosted: Thu Sep 21, 2017 8:18 am    Post subject: Reply with quote

I'm interested in booting from bcache as well, can genkernel build such an initramfs?
_________________
ppc:PowerBook5,8 15"(1440)-G4/1.67,2G|amd64:HP EliteBook 8560w,i7-2620M,16G|Acer Z5610 (Core2QuadQ8200),8G|amd64-prefix:OpenSuse|HP EliteDesk 800G1 i7-4790|HP Compaq Pro 6300 i7-3770
Lila-Theme
Back to top
View user's profile Send private message
foux
Tux's lil' helper
Tux's lil' helper


Joined: 04 Jul 2004
Posts: 89
Location: Rennes, France

PostPosted: Thu Sep 21, 2017 8:20 am    Post subject: Reply with quote

Massimo B. wrote:
I'm interested in booting from bcache as well, can genkernel build such an initramfs?


I ended up using Dracut. Works light a charm
Back to top
View user's profile Send private message
Massimo B.
Veteran
Veteran


Joined: 09 Feb 2005
Posts: 1568
Location: Germany

PostPosted: Thu Sep 21, 2017 8:48 am    Post subject: Reply with quote

I thought about dracut for many reasons, also using plymouth etc...
But is dracut also a choice for OpenRC, or only systemd?

Dracut can create bcache ready initramfs out of the box? What about all the other solutions like lvm-cache as I mentioned here? Do you have some comparisons?
_________________
ppc:PowerBook5,8 15"(1440)-G4/1.67,2G|amd64:HP EliteBook 8560w,i7-2620M,16G|Acer Z5610 (Core2QuadQ8200),8G|amd64-prefix:OpenSuse|HP EliteDesk 800G1 i7-4790|HP Compaq Pro 6300 i7-3770
Lila-Theme
Back to top
View user's profile Send private message
foux
Tux's lil' helper
Tux's lil' helper


Joined: 04 Jul 2004
Posts: 89
Location: Rennes, France

PostPosted: Thu Sep 21, 2017 8:51 am    Post subject: Reply with quote

Massimo B. wrote:
I thought about dracut for many reasons, also using plymouth etc...
But is dracut also a choice for OpenRC, or only systemd?

Dracut can create bcache ready initramfs out of the box? What about all the other solutions like lvm-cache as I mentioned here? Do you have some comparisons?


Can't say for sure for OpenRC (I'm using SystemD for some years no), but I sincerely doubt Dracut doesn't't deals with it.
Concerning bcache, yes, the support is OOB
Back to top
View user's profile Send private message
Massimo B.
Veteran
Veteran


Joined: 09 Feb 2005
Posts: 1568
Location: Germany

PostPosted: Wed Oct 25, 2017 12:16 pm    Post subject: Reply with quote

Booting a btrfs-on-luks-on-bcache works fine now with a dracut generated initramfs when integrating the necessary modules from bcache-tools:
Code:
# equery files bcache-tools |grep "dracut.*sh"
/usr/lib/dracut/modules.d/90bcache/module-setup.sh

# cat /etc/dracut.conf.d/custom.conf
compress="lzma"
add_dracutmodules+="bcache"
install_items+="/lib/firmware/radeon/* /lib/firmware/edid/*"

_________________
ppc:PowerBook5,8 15"(1440)-G4/1.67,2G|amd64:HP EliteBook 8560w,i7-2620M,16G|Acer Z5610 (Core2QuadQ8200),8G|amd64-prefix:OpenSuse|HP EliteDesk 800G1 i7-4790|HP Compaq Pro 6300 i7-3770
Lila-Theme
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