Hi John,

> Now I have wiped (wipefs) the 22.04 half and erased it but I would
> like to grow the 24.04 partition into the first half of the original
> root partition.

I think the time taken will vary depending on whether

- the end of the existing partition is moving forwards into vacated
  space, which is quick, or
- the beginning of the existing partition has to move backwards, which
  is slow.

> I can do this with gparted from a live memory stick

Yes.  I'd expect it to enlarge the partition and then have the
filesystem expand to fill its new size.

> but what happens to the boot arrangements?  I'm using grub2

I think ‘it depends’.

Separately from the use of GRUB 2 is whether the disk is partitioned
using the old master-boot record, MBR, or the newer GUID partition
table, GPT.  And whether the machine boots using the old BIOS technique
of reading from disk to get started, or UEFI which stores the starting
data in non-volatile RAM; UEFI systems will have an EFI partition on the
disk.

The Arch Linux wiki has useful information which is applicable to other
Linux distributions.  Some starting points:

- https://wiki.archlinux.org/title/Arch_boot_process
- https://wiki.archlinux.org/title/GRUB
- https://wiki.archlinux.org/title/EFI_system_partition

-- 
Cheers, Ralph.

-- 
  Next meeting: Online, Jitsi, Tuesday, 2024-11-12 20:00
  Check to whom you are replying
  Meetings, mailing list, IRC, ...  https://dorset.lug.org.uk
  New thread, don't hijack:  mailto:dorset@mailman.lug.org.uk

Reply via email to