Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #228867 > unrolled thread
| Started by | Stefan Monnier <monnier@iro.umontreal.ca> |
|---|---|
| First post | 2020-11-21 21:00 +0100 |
| Last post | 2020-11-22 00:10 +0100 |
| Articles | 2 on this page of 22 — 8 participants |
Back to article view | Back to linux.debian.user
Size of initrd Stefan Monnier <monnier@iro.umontreal.ca> - 2020-11-21 21:00 +0100
Re: Size of initrd <tomas@tuxteam.de> - 2020-11-21 22:10 +0100
Re: Size of initrd Stefan Monnier <monnier@iro.umontreal.ca> - 2020-11-23 05:50 +0100
Re: Size of initrd David Wright <deblis@lionunicorn.co.uk> - 2020-11-23 06:20 +0100
Re: Size of initrd Stefan Monnier <monnier@iro.umontreal.ca> - 2020-11-24 00:40 +0100
Re: Size of initrd <tomas@tuxteam.de> - 2020-11-24 10:20 +0100
Re: Size of initrd Greg Wooledge <wooledg@eeg.ccf.org> - 2020-11-24 14:00 +0100
Re: Size of initrd Curt <curty@free.fr> - 2020-11-24 15:40 +0100
Re: Size of initrd Stefan Monnier <monnier@iro.umontreal.ca> - 2020-11-24 16:00 +0100
Re: initrd inspection (was: Size of initrd) Felix Miata <mrmazda@earthlink.net> - 2020-11-23 07:40 +0100
Re: initrd inspection (was: Size of initrd) <tomas@tuxteam.de> - 2020-11-23 09:50 +0100
Re: initrd inspection Sven Hartge <sven@svenhartge.de> - 2020-11-23 12:30 +0100
Re: initrd inspection <tomas@tuxteam.de> - 2020-11-23 13:00 +0100
Re: initrd inspection Stefan Monnier <monnier@iro.umontreal.ca> - 2020-11-24 00:40 +0100
Re: Size of initrd Curt <curty@free.fr> - 2020-11-23 14:00 +0100
Re: Size of initrd Curt <curty@free.fr> - 2020-11-23 14:30 +0100
Re: initrd inspection (was: Size of initrd) Felix Miata <mrmazda@earthlink.net> - 2020-11-23 18:30 +0100
Re: Size of initrd Greg Wooledge <wooledg@eeg.ccf.org> - 2020-11-23 14:20 +0100
Re: Size of initrd <tomas@tuxteam.de> - 2020-11-23 16:20 +0100
Re: Size of initrd David Wright <deblis@lionunicorn.co.uk> - 2020-11-21 22:40 +0100
Re: Size of initrd Andy Smith <andy@strugglers.net> - 2020-11-21 22:50 +0100
Re: Size of initrd David Wright <deblis@lionunicorn.co.uk> - 2020-11-22 00:10 +0100
Page 2 of 2 — ← Prev page 1 [2]
| From | Andy Smith <andy@strugglers.net> |
|---|---|
| Date | 2020-11-21 22:50 +0100 |
| Message-ID | <BdIVz-C4-5@gated-at.bofh.it> |
| In reply to | #228867 |
Hi Stefan, On Sat, Nov 21, 2020 at 02:52:49PM -0500, Stefan Monnier wrote: > One of the has /boot/initrd.img files that take about 15MB while the > other has /boot/initrd.img files that take about 30MB (in both cases, > they are compressed with `lzma`). > > Any idea what this difference could come from (or how I could try and > track it down) and how I could fix the size to be more like 15MB? A common question during install is whether to build an initramfs that has all drivers as modules, or one that only has the "targeted" drivers as modules. That could be the difference you are seeing. $ grep MODULES /etc/initramfs-tools/initramfs.conf will tell you what it is currently set to, and if you change it and then do # update-initramfs -u -k <version> or # update-initramfs -u -k all then you can compare the differences. If that doesn't show it, you may need to take the initramfs apart to compare contents. Cheers, Andy -- https://bitfolk.com/ -- No-nonsense VPS hosting
[toc] | [prev] | [next] | [standalone]
| From | David Wright <deblis@lionunicorn.co.uk> |
|---|---|
| Date | 2020-11-22 00:10 +0100 |
| Message-ID | <BdKaZ-1zH-11@gated-at.bofh.it> |
| In reply to | #228874 |
On Sat 21 Nov 2020 at 21:47:02 (+0000), Andy Smith wrote: > > On Sat, Nov 21, 2020 at 02:52:49PM -0500, Stefan Monnier wrote: > > One of the has /boot/initrd.img files that take about 15MB while the > > other has /boot/initrd.img files that take about 30MB (in both cases, > > they are compressed with `lzma`). > > > > Any idea what this difference could come from (or how I could try and > > track it down) and how I could fix the size to be more like 15MB? > > A common question during install is whether to build an initramfs > that has all drivers as modules, or one that only has the "targeted" > drivers as modules. That could be the difference you are seeing. > > $ grep MODULES /etc/initramfs-tools/initramfs.conf Note that /etc/initramfs-tools/conf.d/ files override this, particularly /etc/initramfs-tools/conf.d/driver-policy which IIRC is written by the installer. > will tell you what it is currently set to, and if you change it and > then do > > # update-initramfs -u -k <version> > > or > > # update-initramfs -u -k all > > then you can compare the differences. > > If that doesn't show it, you may need to take the initramfs apart to > compare contents. Cheers, David.
[toc] | [prev] | [standalone]
Page 2 of 2 — ← Prev page 1 [2]
Back to top | Article view | linux.debian.user
csiph-web