Re: Size of initrd

2020-11-24 Thread Stefan Monnier
> Sorry for that. I know it's a sleazy way of learning -- spewing out some > nonsense, being corrected and caching that for the next time. You're describing the scientific method, Stefan

Re: Size of initrd

2020-11-24 Thread Curt
On 2020-11-24, Greg Wooledge wrote: > On Tue, Nov 24, 2020 at 10:09:51AM +0100, to...@tuxteam.de wrote: >> Sorry for that. I know it's a sleazy way of learning -- spewing out some >> nonsense, being corrected and caching that for the next time. > > It's only sleazy if you do it on purpose. If tha

Re: Size of initrd

2020-11-24 Thread Greg Wooledge
On Tue, Nov 24, 2020 at 10:09:51AM +0100, to...@tuxteam.de wrote: > Sorry for that. I know it's a sleazy way of learning -- spewing out some > nonsense, being corrected and caching that for the next time. It's only sleazy if you do it on purpose.

Re: Size of initrd

2020-11-24 Thread tomas
On Mon, Nov 23, 2020 at 06:30:46PM -0500, Stefan Monnier wrote: > > Use unmkinitramfs. It appears you've only looked at the first archive, > > the early one, which gets the kernel into shape. The second, main one > > is the big one. > > OK, for those interested I tracked it down: indeed the machin

Re: Size of initrd

2020-11-23 Thread Stefan Monnier
> Use unmkinitramfs. It appears you've only looked at the first archive, > the early one, which gets the kernel into shape. The second, main one > is the big one. OK, for those interested I tracked it down: indeed the machine with the larger initrd had MODULES=most instead of MODULES=dep. It took

Re: Size of initrd

2020-11-23 Thread tomas
On Mon, Nov 23, 2020 at 08:15:47AM -0500, Greg Wooledge wrote: > On Sat, Nov 21, 2020 at 10:03:06PM +0100, to...@tuxteam.de wrote: > > The initramfs is a compressed cpio archive (of the initial file > > system at boot time). You can inspect it like so: > > > > gunzip < /boot/initrd.img-4.19.0-10

Re: Size of initrd

2020-11-23 Thread Curt
On 2020-11-23, Curt wrote: > On 2020-11-21, wrote: >> >> The initramfs is a compressed cpio archive (of the initial file >> system at boot time). You can inspect it like so: >> >> gunzip < /boot/initrd.img-4.19.0-10-amd64 | cpio -it | less > > lsinitramfs /boot/initrd.img-4.19.0-10-amd64

Re: Size of initrd

2020-11-23 Thread Greg Wooledge
On Sat, Nov 21, 2020 at 10:03:06PM +0100, to...@tuxteam.de wrote: > The initramfs is a compressed cpio archive (of the initial file > system at boot time). You can inspect it like so: > > gunzip < /boot/initrd.img-4.19.0-10-amd64 | cpio -it | less Debian's initrd images are actually multiple cp

Re: Size of initrd

2020-11-23 Thread Curt
On 2020-11-21, wrote: > > The initramfs is a compressed cpio archive (of the initial file > system at boot time). You can inspect it like so: > > gunzip < /boot/initrd.img-4.19.0-10-amd64 | cpio -it | less lsinitramfs /boot/initrd.img-4.19.0-10-amd64

Re: Size of initrd

2020-11-22 Thread David Wright
On Sun 22 Nov 2020 at 23:46:54 (-0500), Stefan Monnier wrote: > >> I have two machines with very similar setups: both running Debian i386 > >> testing, they actually come from the same install done years ago > >> and were cloned at some point in time. > >> > >> One of the has /boot/initrd.img file

Re: Size of initrd

2020-11-22 Thread Stefan Monnier
>> I have two machines with very similar setups: both running Debian i386 >> testing, they actually come from the same install done years ago >> and were cloned at some point in time. >> >> One of the has /boot/initrd.img files that take about 15MB while the >> other has /boot/initrd.img files tha

Re: Size of initrd

2020-11-21 Thread David Wright
On Sat 21 Nov 2020 at 21:47:02 (+), 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 w

Re: Size of initrd

2020-11-21 Thread Andy Smith
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 com

Re: Size of initrd

2020-11-21 Thread David Wright
On Sat 21 Nov 2020 at 14:52:49 (-0500), Stefan Monnier wrote: > I have two machines with very similar setups: both running Debian i386 > testing, they actually come from the same install done years ago > and were cloned at some point in time. > > One of the has /boot/initrd.img files that take abo

Re: Size of initrd

2020-11-21 Thread tomas
On Sat, Nov 21, 2020 at 02:52:49PM -0500, Stefan Monnier wrote: > I have two machines with very similar setups: both running Debian i386 > testing, they actually come from the same install done years ago > and were cloned at some point in time. > > One of the has /boot/initrd.img files that take a