Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #236810
| From | Reco <recoverym4n@enotuniq.net> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: removing modules |
| Date | 2021-07-03 19:10 +0200 |
| Message-ID | <CwRjs-74O-9@gated-at.bofh.it> (permalink) |
| References | <CwQnn-6tT-3@gated-at.bofh.it> <CwQnn-6tT-1@gated-at.bofh.it> <CwQGJ-6Bk-3@gated-at.bofh.it> <CwRjs-74O-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Sat, Jul 03, 2021 at 05:50:44PM +0100, mick crane wrote: > I looked because "apt upgrade" failed to install things in /boot > because no room left. I deleted the oldest kernel stuff of the 3 there > and "apt upgrade" worked. Kernel is here: $ du -sxh /boot/vmlinuz-5.10.0-0.bpo.7-amd64 6.5M /boot/vmlinuz-5.10.0-0.bpo.7-amd64 Modules are here: $ du -sxh /lib/modules/5.10.0-0.bpo.7-amd64/ 290M /lib/modules/5.10.0-0.bpo.7-amd64/ You must mean initrd, which contains selected kernel modules and is used in the boot process: $ du -sxh /boot/initrd.img-5.10.0-0.bpo.7-amd64 36M /boot/initrd.img-5.10.0-0.bpo.7-amd64 > I was thinking then to remove the unwanted modules to make the kernels smaller. It does not work like this, no amount of modprobing or removing *ko files would make an installed kernel smaller. You could build your own kernel, of course, then things would be different. > If remove modules from kernel are the gone or are they still on disk and could be put back ? Modprobe, insmod and rmmod merely change the state of the running kernel (i.e. - in-memory). What you probably want described at initramfs.conf(5), MODULES section. Reco
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
removing modules mick crane <mick.crane@gmail.com> - 2021-07-03 18:10 +0200
Re: removing modules Reco <recoverym4n@enotuniq.net> - 2021-07-03 18:20 +0200
Re: removing modules The Wanderer <wanderer@fastmail.fm> - 2021-07-03 18:30 +0200
Re: removing modules The Wanderer <wanderer@fastmail.fm> - 2021-07-03 19:10 +0200
Re: removing modules The Wanderer <wanderer@fastmail.fm> - 2021-07-03 19:40 +0200
Re: removing modules The Wanderer <wanderer@fastmail.fm> - 2021-07-03 19:40 +0200
Re: removing modules IL Ka <kazakevichilya@gmail.com> - 2021-07-03 19:10 +0200
Re: removing modules Hans <hans.ullrich@loop.de> - 2021-07-03 20:10 +0200
Re: removing modules Sven Hartge <sven@svenhartge.de> - 2021-07-03 20:50 +0200
Re: removing modules Reco <recoverym4n@enotuniq.net> - 2021-07-03 19:10 +0200
Re: removing modules Greg Wooledge <greg@wooledge.org> - 2021-07-03 19:20 +0200
Re: removing modules Greg Wooledge <greg@wooledge.org> - 2021-07-03 20:10 +0200
Re: removing modules Stefan Monnier <monnier@iro.umontreal.ca> - 2021-07-03 20:30 +0200
Re: removing modules Stefan Monnier <monnier@iro.umontreal.ca> - 2021-07-03 22:40 +0200
Re: removing modules David Wright <deblis@lionunicorn.co.uk> - 2021-07-04 17:30 +0200
Re: removing modules Brian <ad44@cityscape.co.uk> - 2021-07-03 21:10 +0200
Re: removing modules Tom Dial <tddial@comcast.net> - 2021-07-04 05:10 +0200
Re: removing modules Brian <ad44@cityscape.co.uk> - 2021-07-04 11:10 +0200
Re: removing modules Tixy <tixy@yxit.co.uk> - 2021-07-04 14:50 +0200
Re: removing modules Brian <ad44@cityscape.co.uk> - 2021-07-04 20:50 +0200
Re: removing modules Brad Rogers <brad@fineby.me.uk> - 2021-07-04 21:20 +0200
Re: removing modules Brian <ad44@cityscape.co.uk> - 2021-07-04 22:20 +0200
Re: removing modules David Wright <deblis@lionunicorn.co.uk> - 2021-07-05 07:00 +0200
Re: removing modules Brian <ad44@cityscape.co.uk> - 2021-07-05 12:10 +0200
Re: removing modules David Wright <deblis@lionunicorn.co.uk> - 2021-07-03 19:40 +0200
Re: removing modules IL Ka <kazakevichilya@gmail.com> - 2021-07-03 18:30 +0200
csiph-web