Anton Aylward wrote:
On 12/27/2016 10:45 PM, Carlos E. R. wrote:
But Linda doesn't use initrd, if I remember correctly.
Correct.
Ah, yes, that's my recollection too, now you come to mention it.
I see earlier on in the 'lsinitrd' output that Drakut includes some modules. Perhaps the issue is in getting the right modules included.
--- Have you ever built your own kernel? As a start, look at output of: sudo lspci -k|grep kernel|cut -d: -f2|sort|uniq That will show you modules that you should *likely* build into your kernel as they are drivers for _your_ machine's hardware, though not all of them are needed for boot. For example, probably don't need network to boot unless you boot from net. "lsmod", will show you what modules have been dynamically loaded, while "ls /sys/module" will show you all modules the kernel has builtin OR dynamically loaded.
For example, I have everything except /boot and SWAP on LVM. That includes the ROOTFS. So the LVM modules needs to be included in initrd.
Yes, the initrd becomes bigger.
Yes, but I absolutely need LVM.
--- Do you need your rootfs to be LVM? FWIW, My 12G root is about half full. I wanted to minimize software complexity involved in booting root. I also wanted to constrain it at the start of the disk to limit seeks for reading the root files, so it is the 1st partition with only the 1st half of the disk used for content (short-stroking), also to limit seek latency on 15K SAS disks. The rest of my system uses lvm.
Well, there's
* what don't I need if all I'm doing is a regular boot?
--- My initial boot uses 'B'oot mode (i.e.: /etc/rc.d/boot.d, pre-SysD):
sysv -B tgt: boot.d-start S01boot.usr-mount, S01setserial, S05boot.sysctl, S05boot.udev S05boot.localnet, S05boot.klog, S05boot.swap, S05boot.isapnp S05boot.ldconfig, S10boot.lvm, S10boot.clock, S15boot.localfs S15boot.lvm_monitor, S20boot.cgroup, S20boot.assign_netif_names S20boot.sys_settings, S25boot.sysstat
and * what do I need to do a maintenance boot?
For emergency repair, boot is replaced by 'S'ingle mode:
sysv -S tgt: rcS.d-start S05boot.clock, S90single
where single pretty much just sets up keyboard on start.
I have
dracut modules: bash warpclock -- what's this
Time travel? (likely, "jump" clock to some value).
convertfs
--- ???
ifcfg
--- do you want/need networking? I just make sure the network interfaces are named correctly.
drm
--- Setup graphics mode?
btrfs -- What if I convert ROOTFS to ext4?
---- I build my rootfs into my kernel, otherwise how would it get mounted?
dm, kernel-modules
--- kernel builtins
lvm
--- On disk.
resume
Not needed in my config.
rootfs-block
terminfo -- ??
--- I want to be able to run vim in console mode. Do you? The rest are a bit alien to my boot so hard to say which you need, but, at least, should be on your initrd or root... -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org