On Sat, 24 May 2025 15:31:03 +0200
Tommy Berglund <to...@fam-berglund.eu> wrote:

> Hi,
> Translated by Google from Swedish
> 
> Is it possible to add an EFI system partition to a server already
> running Debian 12?
> How do I do it?
> 
> (parted) print devices
> /dev/sda (2000GB)
> /dev/sdb (2000GB)
> /dev/mapper/vg-data (1888GB)
> /dev/mapper/vg-www (4295MB)
> /dev/mapper/vg-vmail (10,7GB)
> /dev/mapper/vg-ftp (16,1GB)
> /dev/mapper/vg-var (9999MB)
> /dev/mapper/vg-tmp (1996MB)
> /dev/mapper/vg-home (43,1GB)
> /dev/mapper/vg-root (25,0GB)
> /dev/mapper/vg-swap_1 (1023MB)
> (parted) print free                                                   
> Model: ATA ST2000VN000-1H31 (scsi)
> Disk /dev/sda: 2000GB
> Sector size (logical/physical): 512B/4096B
> Partition Table: msdos
> Disk Flags: 
> 
> Number  Start   End     Size    Type      File system  Flags
>         1024B   1049kB  1048kB            Free Space
>  1      1049kB  512MB   511MB   primary   ext2         boot
>         512MB   513MB   1048kB            Free Space
>  2      513MB   2000GB  2000GB  extended
>  5      513MB   2000GB  2000GB  logical                lvm
>         2000GB  2000GB  90,1kB            Free Space
> 

Looks like you need to shrink lvm a bit. EFI needs a partition
formatted to one of the FAT family filesystems, with no additional
software needed to access it, so no encryption or LVM. The size
recommendation for Linux is 1GB minimum. It's generally advised to keep
it near the beginning of large discs.

-- 
Joe

Reply via email to