Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #256339
| Path | csiph.com!fu-berlin.de!news.servidellagleba.it!bofh.it!news.nic.it!robomod |
|---|---|
| From | KCB Leigh <kcbl2003@yahoo.co.uk> |
| Newsgroups | linux.debian.user |
| Subject | Culling old versions of Kernel from /usr/lib/modules/ |
| Date | Fri, 24 Mar 2023 23:00:01 +0100 |
| Message-ID | <GcXC1-eQFu-3@gated-at.bofh.it> (permalink) |
| References | <GcXC1-eQFu-5@gated-at.bofh.it> |
| X-Mailbox-Line | From debian-user-request@lists.debian.org Fri Mar 24 21:57:12 2023 |
| Old-Return-Path | <kcbl2003@yahoo.co.uk> |
| X-Amavis-Spam-Status | No, score=-1.699 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, FREEMAIL_REPLYTO_END_DIGIT=0.25, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=no autolearn_force=no |
| X-Policyd-Weight | using cached result; rate: -5.5 |
| X-Sonic-Dkim-Sign | v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1679694031; bh=4YP+KHL0De7tUjlNsES2jMd+BVU1LcJmgosT+5ttS/M=; h=X-Sonic-MF:Date:From:To:Subject:From:Subject; b=fxvW20nXclmaotqycx90hf8UywqpA1V2nJz/aKuKd16B9e9ki5hlS+0TKHaewaZXwBGTpSOShX9t3Ilokhb8bQ6me1l+sH4c1Lh3DaNsIfVt22i+tyNLfmXtoD9Xc4LS+1vr2Zxk307R7iW/iJQ8PkfbnuHlMZ0WAlenZaGDNh/tZOy92B0yFMMTId9iKG4iyIjC3Ij1xPVV4WdmR6jZ/GXF0UNUiQEzefb5j7WvNtWaA/7YSRRPGzrAKe53AUeJSdSuqAWwztYidinzkd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vaVoB 3UDTyXhxxcGhYfsKxfFsACR2Yxch4hq_Q76cLGPFpAg_9rNZsmO1XSXenZ9r1S91Qqru2a6qhmzd z562nh7kgBARH3i0P9DkIBnvHmHe6C2Hsq2UtUrVFBtnceY0GGb5.0PDGNF4EivJH90FX0balPzP fB8qlnNBKDW4zWGTwHp.QMlSp04gcBP9tRwer9QLNal_RXc5qybQxwWJwK.KW7jt4mdU6fB40WeF 1pq.Vpgrt73KBodRog3hYewSMVhaEslm3dhG9vA-- |
| X-Sonic-Mf | <kcbl2003@yahoo.co.uk> |
| X-Sonic-ID | 9cb12370-b501-405c-bd01-a6a51bdaf3dc |
| Reply-To | KCB Leigh <kcbl2003@yahoo.co.uk> |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=UTF-8 |
| Content-Transfer-Encoding | quoted-printable |
| X-Mailer | WebService/1.1.21284 YMailNorrin |
| X-Mailing-List | <debian-user@lists.debian.org> archive/latest/797626 |
| List-ID | <debian-user.lists.debian.org> |
| List-URL | <https://lists.debian.org/debian-user/> |
| List-Archive | https://lists.debian.org/msgid-search/2083485524.691603.1679693973484@mail.yahoo.com |
| Approved | robomod@news.nic.it |
| Lines | 51 |
| Organization | linux.* mail to news gateway |
| Sender | robomod@news.nic.it |
| X-Original-Date | Fri, 24 Mar 2023 21:39:33 +0000 (UTC) |
| X-Original-Message-ID | <2083485524.691603.1679693973484@mail.yahoo.com> |
| X-Original-References | <2083485524.691603.1679693973484.ref@mail.yahoo.com> |
| Xref | csiph.com linux.debian.user:256339 |
Show key headers only | View raw
This message is related to the 'Re: solution to / full' thread. I am running my computer from a Debian 11.6 OS on a 25GB partition on a USB stick. The root partition is now 70% full, with over 4GB (16%) of the volume occupied by /usr/lib/modules/ (3.5GB) & /usr/lib/x86_64-linux-gnu (1.4GB) - as far as I can tell, this latter directory only has essential, current files. I have been using this volume for over a year, & the modules directory now has over a dozen kernels from previous versions of the operating system. I can see the need to retain the last couple of versions, but within the space constraints, I really cannot afford to keep all of these old kernels, each consuming 307-323MB. MY QUESTION: - Is there some utility that pares these files, or must one do this manually? - I have been reluctant to do this manually because I'm not too familiar with the structure of the operating system & do not want to delete a file which may be required by some other part of the system that I've not also removed. Specifically, in the /boot/ directory there are also files related to these older kernel versions: config-5.10.0-*-amd64 (236 kB each) initrd.img-5.10.0-*-amd64 ( 72.7MB each) System.map-5.10.0-*-amd64 ( 83 bytes each) vmlinuz-5.10.0-*-amd64 ( 6.8MB each) corresponding to each of the dozen or so old versions of kernel in the /usr/lib/modules/ directory. I would think the older versions of these files should also be removed when the kernels are. ? & are there any other files related to these kernels that should also be deleted? I think there is some file that contains the list of possible boot volumes displayed by grub: I think I've found this somewhere in the distant past, but can't recall whether it contains a list of these older kernels, or whether that list is dynamically updated depending on what is found on the boot volume. I would appreciate any references that might give more information about this, or any advice. With thanks in advance, Ken (I have not subscribed to the list, but will try to check it; I would be very grateful if replies could be cc to my e-mail address: kcbl2003@yahoo.co.uk.)
Back to linux.debian.user | Previous | Next — Next in thread | Find similar | Unroll thread
Culling old versions of Kernel from /usr/lib/modules/ KCB Leigh <kcbl2003@yahoo.co.uk> - 2023-03-24 23:00 +0100 Re: Culling old versions of Kernel from /usr/lib/modules/ David <curmudgeon@telaman.net.au> - 2023-03-24 23:30 +0100 Re: Culling old versions of Kernel from /usr/lib/modules/ Joe <joe@jretrading.com> - 2023-03-25 10:00 +0100
csiph-web