#2780 Issue closed: Not able to increase EFI partition size

Labels: support / question, fixed / solved / done, not ReaR / invalid

vonhawkeye opened issue at 2022-03-29 18:23:

  • ReaR version ("/usr/sbin/rear -V"):
    rear -V
    Relax-and-Recover 2.4 / Git

  • OS version

# cat /etc/*release

CentOS Linux release 7.5.1804 (Core)
NAME="RedHawk Linux"
VERSION="7.5 (Rey)"
ID="redhawk"
ID_LIKE="rhel centos fedora"
CPE_NAME="cpe:/o:ccur:redhawk:7.5"
VERSION_ID="7.5"
PRETTY_NAME="RedHawk Linux 7.5 (Rey)"
ANSI_COLOR="0;31"
HOME_URL="http://www.concurrent-rt.com/"
SUPPORT_URL="http://www.concurrent-rt.com/customer-support/"
BUG_REPORT_URL="http://www.concurrent-rt.com/support/"
CentOS Linux release 7.5.1804 (Core)
7.5 RedHawk Linux (Rey)
RedHawk Linux release 7.5 (Rey)
RedHawk Linux release 7.5 (Rey)
  • ReaR configuration files ("cat /etc/rear/site.conf" and/or "cat /etc/rear/local.conf"):
    cat /etc/rear/local.conf
# Default is to create Relax-and-Recover rescue media as ISO image
# set OUTPUT to change that
# set BACKUP to activate an automated (backup and) restore of your data
# Possible configuration values can be found in /usr/share/rear/conf/default.conf
#
# This file (local.conf) is intended for manual configuration. For configuration
# through packages and other automated means we recommend creating a new
# file named site.conf next to this file and to leave the local.conf as it is.
# Our packages will never ship with a site.conf.
#
OUTPUT=USB
#GAOUTPUT=ISO
BACKUP=NETFS
#OUTPUT_URL=file:///mnt/ihawk_rescue
BACKUP_URL="usb:///dev/disk/by-label/REAR-000"
#BACKUP_URL=iso:///backup
#ISO_DIR="/mnt/ihawk_rescue"
#
#OUTPUT=ISO
#OUTPUT_URL=file:///mnt/rescue_system/
  • Hardware vendor/product (PC or PowerNV BareMetal or ARM) or VM (KVM guest or PowerVM LPAR):
    SuperMicro

  • System architecture (x86 compatible or PPC64/PPC64LE or what exact ARM device):
    lscpu

Architecture:          x86_64
CPU op-mode(s):        32-bit, 64-bit
Byte Order:            Little Endian
CPU(s):                16
  • Firmware (BIOS or UEFI or Open Firmware) and bootloader (GRUB or ELILO or Petitboot):
    UEFI
    GRUB

  • Storage (local disk or SSD) and/or SAN (FC or iSCSI or FCoE) and/or multipath (DM or NVMe):
    Local HDD

  • Storage layout ("lsblk -ipo NAME,KNAME,PKNAME,TRAN,TYPE,FSTYPE,LABEL,SIZE,MOUNTPOINT"):
    lsblk -f

NAME                                          FSTYPE      LABEL    UUID                                   MOUNTPOINT
sdb
└─sdb1                                        ext3        REAR-000 5453d950-9c0d-4981-9281-0709f32e499c
sr0
sda
├─sda2                                        xfs                  1b2acac7-9fec-46f6-9063-4a3bfa3d5899   /boot
├─sda3                                        crypto_LUKS          4dc60a76-2672-4ba3-9e7c-3769d508691d
│ └─luks-4dc60a76-2672-4ba3-9e7c-3769d508691d LVM2_member          O50A5t-s1Xh-Bejh-9hT2-6gyP-NUGy-vnbCoB
│   ├─vg00-root                               xfs                  a7a9fd47-4352-465f-8ba7-316c8a20bebc   /
│   └─vg00-lv_swap                            swap                 657a2842-e09e-402d-8aa6-1b427b5c3452   [SWAP]
└─sda1                                        vfat                 ECC3-FBD5                              /boot/efi
  • Description of the issue (ideally so that others can reproduce it):
    Attempting to increase the EFI partition created from running "rear format -- --efi /dev/sdb will on create a 200Mib partition.
    Attempt to edit the value set here: test "$USB_UEFI_PART_SIZE" || USB_UEFI_PART_SIZE="1024" in the /usr/share/rear/format/USB/default/300_format_usb_disk.sh file still results in a 200MB partition.

  • Workaround, if any: Not yet. Any tips or tricks would be much appreciated.

  • Attachments, as applicable ("rear -D mkrescue/mkbackup/recover" debug log files):

vonhawkeye commented at 2022-03-29 18:47:

I thought i had searched for this "USB_UEFI_PART_SIZE="200"" in the /usr/share/rear/conf/default.conf. However, it turns out I did not. Just changed the value in the default.conf file and reformatted the USB device and got a 1G partition.


[Export of Github issue for rear/rear.]