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
Is it possible to add an EFI system partition to a server already
running Debian 12?
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
Hi,
On Sat, May 24, 2025 at 03:31:03PM +0200, Tommy Berglund wrote:
Is it possible to add an EFI system partition to a server already
running Debian 12?
So, you're going to have to
- Reboot and get into the BIOS/firmware of your machine to set it to
UEFI boot mode
On 24.05.2025 22:40, Joe wrote:
Looks like you need to shrink lvm a bit. EFI needs a partitionYou have Boot partition and EFI partition mixed up. They are
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.
different things.
EFI partition have to be formatted to FAT32, but its safe and
sufficient size could be even 100MB, because only UEFI executable
binaries go there.
The points to consider are that nobody knows what /boot/efi might need
to contain in the future, in addition to the current files, and given
modern drive sizes, the odd GB here or there is a rounding error. If
you reach the point where 900MB less spare space is really becoming an
issue, it's time you moved to a bigger drive or added more LVM space.
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
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 546 |
Nodes: | 16 (0 / 16) |
Uptime: | 168:47:51 |
Calls: | 10,385 |
Calls today: | 2 |
Files: | 14,057 |
Messages: | 6,416,551 |