Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #225770

Re: Enlarging /boot

Path csiph.com!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod
From Andrew Cater <amacater@gmail.com>
Newsgroups linux.debian.user
Subject Re: Enlarging /boot
Date Mon, 03 Aug 2020 09:50:01 +0200
Message-ID <AzDol-89-1@gated-at.bofh.it> (permalink)
References <AzsVX-25w-1@gated-at.bofh.it> <Azu1I-2Hv-5@gated-at.bofh.it> <AzCiC-7Va-5@gated-at.bofh.it>
X-Mailbox-Line From debian-user-request@lists.debian.org Mon Aug 3 07:49:44 2020
Old-Return-Path <amacater@gmail.com>
X-Amavis-Spam-Status No, score=-4.199 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DIGITS_LETTERS=1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=2, LDO_WHITELIST=-5, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=no autolearn_force=no
X-Policyd-Weight NOT_IN_SBL_XBL_SPAMHAUS=-1.5 CL_IP_EQ_HELO_IP=-2 (check from: .gmail. - helo: .mail-ed1-x52a.google. - helo-domain: .google.) FROM/MX_MATCHES_HELO(DOMAIN)=-2; rate: -5.5
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=zmf+to259Iacfq9G3liYMs1xvinsTuxZNrnEj6O7Tz4=; b=bUtklakKmZSfM+rv/9kYk445uid06Jktqlfcg9qu/FmhNfimyQHK0jfM+hAefJ+FxB SulEn8XiRBVVj89VpG+ybW/k7IXONsOfGS26/8NXClzykFxLXmEoIOdqvR+y1ubBvkyH Pyuz0KymuIePII2TKuALASG7Nrth7JI+w+iIekAQeU16hNIB9RhfXAgfDaEnZ3kgw3xo 9JBgrnfNeApzBMjdPEZW5kybPFrY0MCCLOMsXzigvrm9PcfF+6pYWYybO25YNHHzX22o M1OTlL3AiJvPVdoyUjFmZCs0IzK2yBaP64nWWFHc4EWDHs5SXe5qqQCQMEX2iZWmqCFj h7mw==
X-Google-Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=zmf+to259Iacfq9G3liYMs1xvinsTuxZNrnEj6O7Tz4=; b=ToE4gWajv+C5+gQX/qeEmGZY6ILPJFgN1bvN1VctAus/H/uASG7Qgp2bfFNREwOHEC fKuX8bH2DmQ70PJpRDeIYnLqpiXJPywx7D8qt6m/lv1PUNzRFlESw573gVBJoZo4V1HE CwYFOq+s6xxQZlhd3ek5999wxMS5TXwrT16qKjXHLWmNWMQT6Lo7ckx7w0nnooRxDEfU 1qV4zd/U9m6B9gtRZHKpUO5r6P1U1nndr4ZdD2Ljkvl5QUR4pGlbMUWV02TTPAsA4uHx uOr6Hix0IXOWA57B1atRyNMxWcCQJrV4VrSTkg5n0aPdazDBDw3NROcr0i3GZDYLMqsj punA==
X-Gm-Message-State AOAM531yKDdUfIycxGVJZu6wD6QP2vmP6YQ7FGB+EKNtndcSAlKC8w/4 Da1ks6nJ/wT3p3Zn0B/xTCG/TZb0fWe/FJuBHT4yT9j4
X-Google-SMTP-Source ABdhPJwk5ygyFh3l9CWhLYsLJcjFW3TwmPaOj7VAP2Mc41KKD8Xg9jwf7kOchHovQ968BsSA+hhoSBw4b3hlIh3mNtI=
X-Received by 2002:aa7:de09:: with SMTP id h9mr14170857edv.277.1596440969461; Mon, 03 Aug 2020 00:49:29 -0700 (PDT)
MIME-Version 1.0
Content-Type multipart/alternative; boundary="000000000000e3c3f605abf4604b"
X-Mailing-List <debian-user@lists.debian.org> archive/latest/766106
List-ID <debian-user.lists.debian.org>
List-URL <https://lists.debian.org/debian-user/>
List-Archive https://lists.debian.org/msgid-search/CALtr+3mWDf6F8THDWpHK7-nxDxVkkX8nGBsoTXMw=jGqXWsszw@mail.gmail.com
Approved robomod@news.nic.it
Lines 118
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Cc Debian User ML <debian-user@lists.debian.org>
X-Original-Date Mon, 3 Aug 2020 07:49:18 +0000
X-Original-Message-ID <CALtr+3mWDf6F8THDWpHK7-nxDxVkkX8nGBsoTXMw=jGqXWsszw@mail.gmail.com>
X-Original-References <fd6116e1-2cde-835d-f150-d5df2fbe4a57@rail.eu.org> <d0c52f90-bf27-245b-a832-c487ad5c32b7@att.net> <78c856a0-e45f-298b-da21-fa7ed08f5da3@rail.eu.org>
Xref csiph.com linux.debian.user:225770

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

If you have room for two kernels and you are booting from the newest one:
potentially, you can remove the older one to gain some space. If apt update
installs another kernel of the same version so you have two 4.19 - reboot
when the apt run finishes, make sure that the new kernel boots and runs
fine, then remove the older one. The trick is to check that you are booting
from the latest version - you don't want to remove a running kernel :(

On Mon, Aug 3, 2020 at 6:39 AM Erwan David <erwan@rail.eu.org> wrote:

> Le 02/08/2020 à 23:48, Leslie Rhorer a écrit :
> > On 8/2/2020 3:32 PM, Erwan David wrote:
> >> I used the buster installer about 1 year ago,with a fully encrypted
> >> disk, thus
> >>
> >> a /boot/efi partition, a /boot partition then an encrypted lvm.
> >>
> >> /boot is now not large enough to even have 2 kernels on it,
> >> initramfs-tools cannot create the images.
> >>
> >> I see this
> >> /dev/nvme0n1p2                     237M   92M  133M  41% /boot
> >> /dev/nvme0n1p1                     511M  5.3M  506M   2% /boot/efi
> >>
> >> Is it possible to reduce /boot/efi and have some more room for /boot, or
> >> should I reinstall the computer ?
> >
> >     Um, the kernel is only about 5M in size.  With 133M free, there
> > should be plenty of room for multiple kernels.  The initrd image is
> > usually under 40M, so there should be room for the entire boot image to
> > be duplicated.  Note the current use is only 41%.  You shouldn't need
> > more space, per se, except that normally the initrd is temporarily
> > uncompressed while it is being created.  I think you could get around
> > this by employing chroot.
>
> My initrd is 69 M...
>
> >     To answer your question, I am given to understand /boot/efi is a
> > vfat file system, so it should be possible to shrink it, move the /boot
> > partition, and then expand it.
>
> However both /boot/efi and /boot are critoical for the booting process,
> thus my concerns.
>
>
>

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Enlarging /boot Erwan David <erwan@rail.eu.org> - 2020-08-02 22:40 +0200
  Re: Enlarging /boot Leslie Rhorer <lesrhorer@att.net> - 2020-08-02 23:50 +0200
    Re: Enlarging /boot Erwan David <erwan@rail.eu.org> - 2020-08-03 08:40 +0200
      Re: Enlarging /boot Andrew Cater <amacater@gmail.com> - 2020-08-03 09:50 +0200
        Re: Enlarging /boot Leslie Rhorer <lesrhorer@att.net> - 2020-08-04 00:20 +0200
      Re: Enlarging /boot David Wright <deblis@lionunicorn.co.uk> - 2020-08-03 18:30 +0200
  Re: Enlarging /boot Doug McGarrett <dmcgarrett@optonline.net> - 2020-08-02 23:50 +0200
    Re: Enlarging /boot Leslie Rhorer <lesrhorer@att.net> - 2020-08-03 00:00 +0200
  Re: Enlarging /boot David Wright <deblis@lionunicorn.co.uk> - 2020-08-03 05:40 +0200
  Re: Enlarging /boot didier.gaumet@gmail.com - 2020-08-03 10:10 +0200

csiph-web