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


Groups > linux.debian.user > #222322

Re: Hmmm... /boot is too small. what's the best way to increase it's size?

From Andy Smith <andy@strugglers.net>
Newsgroups linux.debian.user
Subject Re: Hmmm... /boot is too small. what's the best way to increase it's size?
Date 2020-05-10 05:40 +0200
Message-ID <A4KYO-1e1-1@gated-at.bofh.it> (permalink)
References <A4KP7-1aU-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hi Rick,

On Sat, May 09, 2020 at 08:05:48PM -0700, Rick Thomas wrote:
> What's the best way to increase the size of /boot ?

There is no easy way. If you boot into a live/rescue environment and
run parted you *may* be able to shrink your LVM and grow your /boot
but it's a procedure fraught with danger; make sure you have
excellent backups first.

I am not 100% sure that parted can handle partitions that are used
as LVM PVs.

> I can easily create a gig or so of space by a shrink/resize of /home, but how do I add that space to /dev/sda2 ?

This won't work because your /home is an LVM logical volume. Its
actual extents could be all over sda3.

> I can't just move up the end of /dev/sda2 = start of /dev/sda3 without backing up and restoring, can I?

parted can move partitions about, so if you run it from outside your
install and it does support LVM PV then it might work. You'd
basically have to shift everything up the disk, making your PV
(sda3) slightly smaller in the process.

I really wouldn't like to try it myself. With the backup that you'll
need you may as well just reinstall as even if parted can do this it
will take some time for it to rewrite all that data.

This is a great example of why it's not good to be stingy with the
size of /boot.

Cheers,
Andy

-- 
https://bitfolk.com/ -- No-nonsense VPS hosting

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


Thread

Hmmm... /boot is too small. what's the best way to increase it's size? "Rick Thomas" <rick.thomas@pobox.com> - 2020-05-10 05:30 +0200
  Re: Hmmm... /boot is too small. what's the best way to increase it's  size? Andy Smith <andy@strugglers.net> - 2020-05-10 05:40 +0200
    Re: Hmmm... /boot is too small. what's the best way to increase it's  size? Andy Smith <andy@strugglers.net> - 2020-05-10 05:50 +0200
    Re: Hmmm... /boot is too small. what's the best way to increase it's  size? The Wanderer <wanderer@fastmail.fm> - 2020-05-10 06:00 +0200
      Re: Hmmm... /boot is too small. what's the best way to increase it's  size? elvis <elvis@dogonfire.com> - 2020-05-11 07:50 +0200
  Re: Hmmm... /boot is too small. what's the best way to increase  it's size? Charles Curley <charlescurley@charlescurley.com> - 2020-05-10 06:40 +0200
    Re: Hmmm... /boot is too small. what's the best way to increase it's size? "Rick Thomas" <rick.thomas@pobox.com> - 2020-05-10 09:10 +0200
      Re: Hmmm... /boot is too small. what's the best way to increase it's size? "Rick Thomas" <rick.thomas@pobox.com> - 2020-05-10 11:30 +0200
        Re: Hmmm... /boot is too small. what's the best way to increase it's  size? Andrei POPESCU <andreimpopescu@gmail.com> - 2020-05-10 12:30 +0200
          Re: Hmmm... /boot is too small. what's the best way to increase it's size? "Rick Thomas" <rick.thomas@pobox.com> - 2020-05-10 13:30 +0200
            Re: Hmmm... /boot is too small. what's the best way to increase it's  size? Andrei POPESCU <andreimpopescu@gmail.com> - 2020-05-11 08:10 +0200
  Re: Hmmm... /boot is too small. what's the best way to increase it's  size? "Will Mengarini" <seldon@eskimo.com> - 2020-05-10 07:20 +0200
    Re: Hmmm... /boot is too small. what's the best way to increase it's  size? Andrei POPESCU <andreimpopescu@gmail.com> - 2020-05-10 09:10 +0200
    Re: Hmmm... /boot is too small. what's the best way to increase it's size? "Rick Thomas" <rick.thomas@pobox.com> - 2020-05-10 09:20 +0200
    Re: Hmmm... /boot is too small. what's the best way to increase it's  size? David Christensen <dpchrist@holgerdanske.com> - 2020-05-10 10:20 +0200
      Re: Hmmm... /boot is too small. what's the best way to increase it's size? "Rick Thomas" <rick.thomas@pobox.com> - 2020-05-10 11:30 +0200
        Re: Hmmm... /boot is too small. what's the best way to increase it's size? rhkramer@gmail.com - 2020-05-10 14:00 +0200
        Re: Hmmm... /boot is too small. what's the best way to increase it's  size? David Christensen <dpchrist@holgerdanske.com> - 2020-05-10 21:40 +0200
          Re: Hmmm... /boot is too small. what's the best way to increase it's size? "Rick Thomas" <rick.thomas@pobox.com> - 2020-05-11 01:20 +0200
            Re: Hmmm... /boot is too small. what's the best way to increase it's  size? elvis <elvis@dogonfire.com> - 2020-05-11 07:40 +0200
            Re: Hmmm... /boot is too small. what's the best way to increase it's  size? David Christensen <dpchrist@holgerdanske.com> - 2020-05-11 09:40 +0200
          Re: Hmmm... /boot is too small. what's the best way to increase it's  size? Andrei POPESCU <andreimpopescu@gmail.com> - 2020-05-11 08:20 +0200
            Re: Hmmm... /boot is too small. what's the best way to increase it's  size? David Christensen <dpchrist@holgerdanske.com> - 2020-05-11 10:20 +0200
              Re: Hmmm... /boot is too small. what's the best way to increase it's  size? Andrei POPESCU <andreimpopescu@gmail.com> - 2020-05-11 15:10 +0200
        Re: Hmmm... /boot is too small. what's the best way to increase it's  size? Tom Dial <tddial@comcast.net> - 2020-05-11 06:10 +0200
    Re: Hmmm... /boot is too small. what's the best way to increase it's  size? Greg Wooledge <wooledg@eeg.ccf.org> - 2020-05-11 13:40 +0200
      Re: Hmmm... /boot is too small. what's the best way to increase  it's size? Celejar <celejar@gmail.com> - 2020-05-11 16:30 +0200
        Re: Hmmm... /boot is too small. what's the best way to increase it's  size? David Wright <deblis@lionunicorn.co.uk> - 2020-05-11 18:30 +0200
          Re: Hmmm... /boot is too small. what's the best way to increase  it's size? Celejar <celejar@gmail.com> - 2020-05-11 18:50 +0200
  Re: Hmmm... /boot is too small. what's the best way to increase it's  size? David Wright <deblis@lionunicorn.co.uk> - 2020-05-10 16:20 +0200
    Re: Hmmm... /boot is too small. what's the best way to increase it's size? Sven Hartge <sven@svenhartge.de> - 2020-05-10 16:40 +0200
      Re: Hmmm... /boot is too small. what's the best way to increase it's  size? David Wright <deblis@lionunicorn.co.uk> - 2020-05-10 17:20 +0200
  Re: Hmmm... /boot is too small. what's the best way to increase it's  size? Jonathan Dowland <jon+debian-user@dow.land> - 2020-05-14 11:30 +0200

csiph-web