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


Groups > linux.debian.user > #225759

Re: Enlarging /boot

From Leslie Rhorer <lesrhorer@att.net>
Newsgroups linux.debian.user
Subject Re: Enlarging /boot
Date 2020-08-03 00:00 +0200
Message-ID <Azubq-2KT-11@gated-at.bofh.it> (permalink)
References <AzsVX-25w-1@gated-at.bofh.it> <Azu1I-2Hv-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 8/2/2020 4:45 PM, Doug McGarrett wrote:
> On 8/2/20 4: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 ?
> Perhaps you can make the partition larger, using an external version of 
> gparted.
> Download gparted and burn it to a cd or a bootable usb stick and make the
> partition bigger. This will not destroy the data on the partition, but 
> it can
> give you as much extra space as you need. You will, of course, have to
> shrink the partition that is next on the drive to make room for this 
> operation.
> You can do that without losing data on the other partition, assuming it is
> not already full. gparted will caution you about the possible loss of data,
> but typically there is no loss in doing these operations. These functions
> will take a few minutes, so be patient.

	First - and this is *VERY* important - back up the data in both 
partitions.  They are both small so backing them up is not onerous.  I 
would munt (or remount) both partitions as read-only, and then copy 
everything on the partitions to separate files.

	Using a chroot is probably less dangerous, if the OP is something of a 
newbie.

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