Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #228874

Re: Size of initrd

From Andy Smith <andy@strugglers.net>
Newsgroups linux.debian.user
Subject Re: Size of initrd
Date 2020-11-21 22:50 +0100
Message-ID <BdIVz-C4-5@gated-at.bofh.it> (permalink)
References <BdHd7-7WI-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

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

csiph-web