[support] installation initrds larger than subsequent
Long ago I noticed on Leap at least that the initial installed initrd is significantly larger than rebuilds or those for newer kernels. I'd like to know why, so I thought I could find (a) .conf file(s) on a boot from installation media. No such luck, NAICT. There are few small files in */usr/lib/dracut/dracut.conf.d/, but they don't really look like they're big enough, or contain the right kind of content, to be responsible: 113 multipath.conf 112 50-sg3_utils.conf 147 dm-parts.conf /etc/dracut.conf.d/ doesn't exist, and neither /etc/dracut.conf. multipath.conf only has comment and: install_items+=" /usr/lib/tmpfiles.d/multipath.conf " dm-parts.conf only has comment and: install_items+=" /usr/lib/udev/rules.d/11-dm-parts.rules " 50-sg3_utils.conf only has comment and: install_items+=" /usr/lib/udev/rules.d/54-before-scsi-sg3_id.rules " How can I find out what is responsible for making them significantly bigger? -- Evolution as taught in public schools is, like religion, based on faith, not based on science. Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata
On 30. 05. 23, 5:52, Felix Miata wrote:
Long ago I noticed on Leap at least that the initial installed initrd is significantly larger than rebuilds or those for newer kernels. I'd like to know why, so I thought I could find (a) .conf file(s) on a boot from installation media. No such luck, NAICT. There are few small files in */usr/lib/dracut/dracut.conf.d/, but they don't really look like they're big enough, or contain the right kind of content, to be responsible:
113 multipath.conf 112 50-sg3_utils.conf 147 dm-parts.conf
/etc/dracut.conf.d/ doesn't exist, and neither /etc/dracut.conf.
multipath.conf only has comment and: install_items+=" /usr/lib/tmpfiles.d/multipath.conf " dm-parts.conf only has comment and: install_items+=" /usr/lib/udev/rules.d/11-dm-parts.rules " 50-sg3_utils.conf only has comment and: install_items+=" /usr/lib/udev/rules.d/54-before-scsi-sg3_id.rules "
How can I find out what is responsible for making them significantly bigger?
--no-hostonly, I suppose. Compare the initrds using lsinitrd. -- js suse labs
Jiri Slaby composed on 2023-05-31 10:44 (UTC+0200):
Felix Miata wrote:
Long ago I noticed on Leap at least that the initial installed initrd is significantly larger than rebuilds or those for newer kernels. I'd like to know why, so I thought I could find (a) .conf file(s) on a boot from installation media. No such luck, NAICT. There are few small files in */usr/lib/dracut/dracut.conf.d/, but they don't really look like they're big enough, or contain the right kind of content, to be responsible:
113 multipath.conf 112 50-sg3_utils.conf 147 dm-parts.conf
/etc/dracut.conf.d/ doesn't exist, and neither /etc/dracut.conf.
multipath.conf only has comment and: install_items+=" /usr/lib/tmpfiles.d/multipath.conf " dm-parts.conf only has comment and: install_items+=" /usr/lib/udev/rules.d/11-dm-parts.rules " 50-sg3_utils.conf only has comment and: install_items+=" /usr/lib/udev/rules.d/54-before-scsi-sg3_id.rules "
How can I find out what is responsible for making them significantly bigger?
--no-hostonly, I suppose.
It's easy to suppose. ISTR noticing some time back that enabling no-hostonly makes them bigger than the installer does. I had been expecting to find the installer using some specific set of extra driver types, and possibly a few extra tools for rescue shells. e.g.: # ls -gG .initrd*.43-* -rw------- 1 16765549 Mar 12 01:01 .initrd-5.14.21-150500.43-default1-installer -rw------- 1 14400633 May 31 05:09 .initrd-5.14.21-150500.43-default2-regularConfig -rw------- 1 69671570 May 31 05:12 .initrd-5.14.21-150500.43-default3-nohostonly -rw------- 1 14403645 May 31 05:17 .initrd-5.14.21-150500.43-default4-defaultConfig
Compare the initrds using lsinitrd.
They are huge, and diff would only tell what's different, not necessarily what accounts for difference(s). -- Evolution as taught in public schools is, like religion, based on faith, not based on science. Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata
On 31. 05. 23, 11:21, Felix Miata wrote:
e.g.: # ls -gG .initrd*.43-* -rw------- 1 16765549 Mar 12 01:01 .initrd-5.14.21-150500.43-default1-installer -rw------- 1 14400633 May 31 05:09 .initrd-5.14.21-150500.43-default2-regularConfig -rw------- 1 69671570 May 31 05:12 .initrd-5.14.21-150500.43-default3-nohostonly -rw------- 1 14403645 May 31 05:17 .initrd-5.14.21-150500.43-default4-defaultConfig
Compare the initrds using lsinitrd.
They are huge, and diff would only tell what's different, not necessarily what accounts for difference(s).
Yes. Fortunately you have not only diff. -- js suse labs
participants (2)
-
Felix Miata
-
Jiri Slaby