View previous topic :: View next topic |
Author |
Message |
crocket Guru
Joined: 29 Apr 2017 Posts: 558
|
Posted: Sat Mar 02, 2019 8:37 am Post subject: Do you prefer dracut or genkernel? |
|
|
Both work, but genkernel's initial ramdisk seems to produce prettier boot messages.
What do you prefer? |
|
Back to top |
|
|
Koyan n00b
Joined: 07 Nov 2014 Posts: 22
|
Posted: Sat Mar 02, 2019 8:57 am Post subject: |
|
|
Bliss-initramfs. Works the best for me with root on zfs. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54276 Location: 56N 3W
|
Posted: Sat Mar 02, 2019 9:40 am Post subject: |
|
|
crocket,
I like to know what's in my system, so when it breaks, I can put the pieces together again.
I dislike all the autoblackmagic equally. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
crocket Guru
Joined: 29 Apr 2017 Posts: 558
|
Posted: Sat Mar 02, 2019 12:50 pm Post subject: |
|
|
Koyan wrote: | Bliss-initramfs. Works the best for me with root on zfs. |
LOL. https://github.com/fearedbliss/bliss-initramfs says bliss-initramfs is unmaintained. Welcome to genkernel.
NeddySeagoon wrote: | I dislike all the autoblackmagic equally. |
What do you use to generate initial ramdisk? |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54276 Location: 56N 3W
|
Posted: Sat Mar 02, 2019 1:39 pm Post subject: |
|
|
crocket,
The method described here. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
crocket Guru
Joined: 29 Apr 2017 Posts: 558
|
Posted: Sat Mar 02, 2019 2:15 pm Post subject: |
|
|
I thought I was driving gentoo like a car with a stick shift. https://forums.gentoo.org/viewtopic-t-1093724.html was truly a mind fuck.
It seems a stick shift is still a high-level abstraction for you. Are you taming a difficult horse? |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54276 Location: 56N 3W
|
Posted: Sat Mar 02, 2019 2:25 pm Post subject: |
|
|
crocket,
Whenever you use the 'black box' solution to solve a problem, someone, sometime, had to understard the problem well enough to create the 'black box' for you to use.
I'm not saying that 'black box' solutions are inherently bad, just that they don't always work and when that happens you have no understanding of what went wrong.
By all means use black boxs to delay the learning opportunity but don't put it off forever. One day, you will wish you hadn't, then its too late. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
nlsa8z6zoz7lyih3ap Guru
Joined: 25 Sep 2007 Posts: 388 Location: Canada
|
Posted: Sat Mar 02, 2019 4:09 pm Post subject: |
|
|
I write my own, basically using the method refereed to by Neddy
I find it much easier than trying to understand either Dracut or genkernel. |
|
Back to top |
|
|
Koyan n00b
Joined: 07 Nov 2014 Posts: 22
|
Posted: Sat Mar 02, 2019 5:28 pm Post subject: |
|
|
Thanks for the info. Did you have to LOL though? |
|
Back to top |
|
|
Muso Veteran
Joined: 22 Oct 2002 Posts: 1052 Location: The Holy city of Honolulu
|
Posted: Sat Mar 02, 2019 6:20 pm Post subject: |
|
|
NeddySeagoon wrote: | crocket,
I like to know what's in my system, so when it breaks, I can put the pieces together again.
I dislike all the autoblackmagic equally. |
++
Same. Plus, I like having a kernel that doesn't include a bunch of modules that I will never use. _________________ "You can lead a horticulture but you can't make her think" ~ Dorothy Parker
2021 is the year of the Linux Desktop! |
|
Back to top |
|
|
Naib Watchman
Joined: 21 May 2004 Posts: 6051 Location: Removed by Neddy
|
Posted: Sat Mar 02, 2019 7:25 pm Post subject: |
|
|
no initramFS so neither. my use cases do not need one so I don't. _________________
Quote: | Removed by Chiitoo |
|
|
Back to top |
|
|
Syl20 l33t
Joined: 04 Aug 2005 Posts: 619 Location: France
|
Posted: Mon Mar 04, 2019 5:17 pm Post subject: |
|
|
On my laptop, using LVM+LUKS, I wrote my own initramfs generator script, using this and this. That took some time to make it work, but I learnt lots of things on how that works. So those spent hours were absolutely not a waste of time.
On all the other boxes I own, I don't use an initramfs. I don't need it, even with a separate /usr filesystem/partition. |
|
Back to top |
|
|
msst Apprentice
Joined: 07 Jun 2011 Posts: 259
|
Posted: Wed Mar 06, 2019 9:58 pm Post subject: |
|
|
I use genkernels initramfs on a small server. Tried dracut, more complicated on the server, not working correctly on the desktop.
On that desktop I use better-initramfs. Both systems use full-disk encryption dmcrypt-luks and btrfs. This configuration is not easy generally and requires an initramfs. |
|
Back to top |
|
|
crocket Guru
Joined: 29 Apr 2017 Posts: 558
|
Posted: Thu Mar 07, 2019 6:06 am Post subject: |
|
|
msst wrote: | I use genkernels initramfs on a small server. Tried dracut, more complicated on the server, not working correctly on the desktop.
On that desktop I use better-initramfs. Both systems use full-disk encryption dmcrypt-luks and btrfs. This configuration is not easy generally and requires an initramfs. |
If you use full-disk encryption, can it be woken up remotely? You would have to type password whenever you wake it up. |
|
Back to top |
|
|
Zucca Moderator
Joined: 14 Jun 2007 Posts: 3352 Location: Rasi, Finland
|
Posted: Thu Mar 07, 2019 11:18 am Post subject: |
|
|
Currently I use initramfs on my desktop and server. On both setups /boot (and /boot/efi) are located on an USB memory stick. All the disks on my systems have no partition tables, but are all formatted/filled with btrfs.
Since I use multi-device btrfs it's pretty complicated to boot without iniramfs. Well.. Tehnically I could boot kernel with rootfsflags=device=/dev/sda,device=/dev/sdb,device=/dev/sdc,device=/dev/sdd,device=/dev/sde, but it's not recommended.
I have had ideas of creating my own initramfs, but hadn't really put too much thought to it... yet. So my current solution is to use genkernel.
One another way would be to supply custom linuxrc for genkernel. That would possibly be a pretty good "middle ground". _________________ ..: Zucca :..
Gentoo IRC channels reside on Libera.Chat.
--
Quote: | I am NaN! I am a man! |
|
|
Back to top |
|
|
msst Apprentice
Joined: 07 Jun 2011 Posts: 259
|
Posted: Tue Apr 02, 2019 8:08 pm Post subject: |
|
|
Quote: | If you use full-disk encryption, can it be woken up remotely? You would have to type password whenever you wake it up. |
You probably mean suspend to disk, which I do not use anyway. One could probably get it to work by using an unencrypted swap, but that defeats the purpose. Suspend to ram works on the desktop without problems. |
|
Back to top |
|
|
bammbamm808 Guru
Joined: 08 Dec 2002 Posts: 548 Location: Hawaii
|
Posted: Wed Apr 03, 2019 6:46 am Post subject: |
|
|
Manual after emerging new sources. It's really not so bad once you get used to it. and Gives you much more control over and insight into the workings of your system. Have never emerged Genkerel. I know vaguely what it is, but have no use of it. _________________ MSI MAG B550 Tomahawk
Ryzen 3900x
32Gb Samsung B-die (16GB dual rank x2) DDR4 @ 3200MHz, cl14
Geforce RTX 2070S 8GB
Samsung m.2 NVME pcie-3.0
Etc.... |
|
Back to top |
|
|
Maitreya Guru
Joined: 11 Jan 2006 Posts: 441
|
Posted: Wed Apr 03, 2019 8:42 am Post subject: |
|
|
Only use genkernel-next for the machine that has root in raid btrfs.
Does anyone know other initramfs builders that support root raid btrfs/plymouth? |
|
Back to top |
|
|
bunder Bodhisattva
Joined: 10 Apr 2004 Posts: 5934
|
Posted: Wed Apr 03, 2019 8:45 am Post subject: |
|
|
i didn't use an initrd for many years until i switched to zfs... afaik, even if you build the modules into the kernel, you still need an initrd to import your pool and mount datasets. that said, i'm currently using dracut because genkernel had bugs at the time. it was suggested to me that genkernel would switch to dracut for initrd generation, but last time i checked, that hadn't happened. _________________
Neddyseagoon wrote: | The problem with leaving is that you can only do it once and it reduces your influence. |
banned from #gentoo since sept 2017 |
|
Back to top |
|
|
SpiderPigLoki Tux's lil' helper
Joined: 22 Aug 2008 Posts: 90
|
Posted: Mon Jun 24, 2019 7:31 pm Post subject: |
|
|
Little late to the party, but for me it's dracut.
Genkernel (and Genkernel-Next) have the nasty bug of not being able to properly work with LUKS and s2disk.
EDIT: Fixed typo |
|
Back to top |
|
|
fturco Veteran
Joined: 08 Dec 2010 Posts: 1181 Location: Italy
|
Posted: Tue Jun 25, 2019 9:11 am Post subject: |
|
|
I'm happy to use dracut on my desktop computer with a LUKS-encrypted btrfs root partition. |
|
Back to top |
|
|
|