[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Enlarging /boot and swap partitions



On Mon, 15 Sep 2025 16:49:50 +0200
Vincent Lefevre <vincent@vinc17.net> wrote:

> On 2025-08-16 03:46:17 +0200, Vincent Lefevre wrote:
> > On 2025-08-15 01:15:12 -0400, Felix Miata wrote:  
> > > I suggest you realistically evaluate your actual need based upon
> > > your existing initrd sizes. I have about two dozen Trixie
> > > installations. They are all about the same as follows (none using
> > > separate /boot/ partitions):
> > > 
> > > # du -sh /disks/deb12/boot/
> > > 255M    /disks/deb12/boot/
> > > # ls -gGh /disks/deb12/boot/vmlinuz-6*
> > > /disks/deb12/boot/initrd.img-6* -rw-r--r-- 1 9.2M Nov  5  2024
> > > /disks/deb12/boot/initrd.img-6.1.0-26-amd64 -rw-r--r-- 1 9.2M Jan
> > > 21  2025 /disks/deb12/boot/initrd.img-6.1.0-30-amd64 -rw-r--r-- 1
> > > 9.2M Mar 21 18:20 /disks/deb12/boot/initrd.img-6.1.0-32-amd64
> > > -rw-r--r-- 1 9.0M Apr 30 16:42
> > > /disks/deb12/boot/initrd.img-6.1.0-34-amd64 -rw-r--r-- 1 9.0M Jul
> > > 22 23:30 /disks/deb12/boot/initrd.img-6.1.0-37-amd64  
> > [...]
> > 
> > The normal size of an initrd image (i.e. by installing the
> > recommended packages) is not about 9 MB, but now 100 MB:
> > 
> > -rw-r--r-- 1 root root  99M 2025-05-27 23:26:17
> > initrd.img-6.7.12-amd64 -rw-r--r-- 1 root root 104M 2025-08-11
> > 23:40:35 initrd.img-6.12.38+deb13-amd64
> > 
> > (this is with maximum compression).  
> 
> And now, in unstable, this has increased to 168 MB!
> 
> -rw-r--r-- 1 root root 168M 2025-09-15 02:36:59
> initrd.img-6.16.7+deb14-amd64
> 

Depending on what's installed. Mine for that kernel is 27821K, up
around 220K on 6.12.16. This unstable is a few years old and uses
Xfce4, and is not UEFI. vmlinuz is about 13 MB, I currently have three
kernels installed and /boot is about 133 MB.

-- 
Joe


Reply to: