Discussion
Loading...

Post

Log in
  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
Claudius Link
Claudius Link
@realn2s@infosec.exchange  ·  activity timestamp 7 hours ago

Dummy question.

On one of my Kali Linux installations there isn't enough space on /boot. So, installing a new kernel image fails.

Usually this is caused by having too many old kernels installed. But I my case I only have the running kernel installed. But the initrds have a size of ~200MB. As the initrds on a different Kali system are only around 125 MB I wonder if something goes wrong creating the initrds? Any ideas what I should check?

#Kali #Linux

  • Copy link
  • Flag this post
  • Block
Marcos Dione
Marcos Dione
@mdione@en.osm.town replied  ·  activity timestamp 7 hours ago

@realn2s another option, not sure it's in Kali, to create the initrd tailored to your computer. But yes, initrd sizes are a bit crazy right now.

  • Copy link
  • Flag this comment
  • Block
Sven Geggus
Sven Geggus
@giggls@karlsruhe-social.de replied  ·  activity timestamp 7 hours ago

@realn2s I consider keeping boot (not /boot/efi) on a separate partition a thing from an ancient past when bootloaders where unable to access the kernel image in the root filesystem because of limitations of the DOS era. Is default Kali still doing this on recent Installations? #Debian on which Kali is AFAIK based does not do this anymore.

  • Copy link
  • Flag this comment
  • Block
Claudius Link
Claudius Link
@realn2s@infosec.exchange replied  ·  activity timestamp 6 hours ago

@giggls
I use Luks to encrypt my Kali disk (to avoid any Virus or Malware findings from the host)

SO I'm not sure if this would work

  • Copy link
  • Flag this comment
  • Block
Sven Geggus
Sven Geggus
@giggls@karlsruhe-social.de replied  ·  activity timestamp 6 hours ago

@realn2s Right. If root is encrypted there needs to be some uencrypted /boot partition for kernel and initrd.

  • Copy link
  • Flag this comment
  • Block
mkj
mkj
@mkj@social.mkj.earth replied  ·  activity timestamp 7 hours ago

@realn2s Have you checked whether they are compressed?

  • Copy link
  • Flag this comment
  • Block
Claudius Link
Claudius Link
@realn2s@infosec.exchange replied  ·  activity timestamp 6 hours ago

@mkj
All of them are cpio archives (the small ones as well)

Both Kali system are VirtualBox VMs

  • Copy link
  • Flag this comment
  • Block
mkj
mkj
@mkj@social.mkj.earth replied  ·  activity timestamp 6 hours ago

@realn2s Okay, so no obvious difference there, then. Hmm.

  • Copy link
  • Flag this comment
  • Block
Claudius Link
Claudius Link
@realn2s@infosec.exchange replied  ·  activity timestamp 6 hours ago

@mkj
They are actual different Kernels

The large is initrd.img-6.18.5+kali-amd64 the small images are initrd.img-6.12.25-amd64
I can recall that I explicitly choose one of the versions

It turns out the large ones are Roling 2025.4 the small ones are 2025.2

I'll update the system to check if I see the same behaviour

  • Copy link
  • Flag this comment
  • Block

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About · Code of conduct · Privacy · Users · Instances
Bonfire social · 1.0.2-alpha.7 no JS en
Automatic federation enabled
Log in
  • Explore
  • About
  • Members
  • Code of Conduct