[xubuntu-users] xubuntu-users Digest, Vol 207, Issue 6

Ralf Mardorf silver.bullet at zoho.com
Wed May 29 14:54:27 UTC 2024


On Wed, 2024-05-29 at 08:31 -0400, Carl Snyder wrote:
> I originally allocated 256M for the EFI partition, but the present
> requirements for the same multi-boot Linux machine is over 1G
> allocated on my 1.5T HDD.

Hi,

the esp partition of my Linux multi-boot machine does use 20.24 MiB,
13 MiB for everything inside of the EFI/ folder and the rest is required
by the fat32 file system for a 4.01 GiB sized partition. The kernels
aren't stored on the esp partition.

You might need between 1 GiB and 4 GiB, depending on how large the
multi-boot machine ist and depending on the way you manage the multi-
boot. However, if the whole space is just 1.5 TiB and if you don't store
the kernels on the esp partition, then 256 MiB are most likely way
enough, even to hold memtest86 and countless memtest86 log files.

• rocketmouse at archlinux ~ 
$ df -h /mnt/M1ESP/
Filesystem      Size  Used Avail Use% Mounted on
/dev/nvme0n1p1  4.1G   13M  4.0G   1% /mnt/M1ESP
• rocketmouse at archlinux ~ 
$ du -sh /mnt/M1ESP/EFI/
13M	/mnt/M1ESP/EFI/
• rocketmouse at archlinux ~ 
$ cat /boot/grub/grub.cfg 
play 1920 440 1 0 1 880 2 0 1 880 1 0 1 440 2
set timeout=60
set color_normal=light-gray/black
set color_highlight=white/light-gray
set menu_color_normal=light-gray/black
set menu_color_highlight=white/light-gray
set default="1"
insmod efi_gop

menuentry " -- HAL 9000-m1 -----------------------------------------------------------------" {
        true
}

menuentry "    MemTest86 V10+ Free" {
        search --set=root --no-floppy --fs-uuid 3F5B-F698
        chainloader /EFI/memtest86/memtestx64.efi
}

menuentry " -- Arch Linux ------------------------------------------------------------------" {
        true
}

menuentry "    Arch Linux threadirqs" {
        search --no-floppy --set=root --label m1.archlinux
        linux /boot/vmlinuz-linux root=/dev/disk/by-label/m1.archlinux ro threadirqs ibt=off ipv6.disable=1
        initrd /boot/intel-ucode.img /boot/initramfs-linux.img
}

menuentry "    Arch Linux" {
        search --no-floppy --set=root --label m1.archlinux
        linux /boot/vmlinuz-linux root=/dev/disk/by-label/m1.archlinux ro ibt=off ipv6.disable=1
        initrd /boot/intel-ucode.img /boot/initramfs-linux.img
}

menuentry "    Arch Linux Longterm" {
        search --no-floppy --set=root --label m1.archlinux
        linux /boot/vmlinuz-linux-lts root=/dev/disk/by-label/m1.archlinux ro ibt=off ipv6.disable=1
        initrd /boot/intel-ucode.img /boot/initramfs-linux-lts.img
}

menuentry "    Arch Linux Rt" {
        search --no-floppy --set=root --label m1.archlinux
        linux /boot/vmlinuz-linux-rt root=/dev/disk/by-label/m1.archlinux ro ibt=off ipv6.disable=1
        initrd /boot/intel-ucode.img /boot/initramfs-linux-rt.img
}

menuentry " -- Other Linux -----------------------------------------------------------------" {
        true
}

menuentry "    Alpine Linux" {
        search --no-floppy --set=root --label m1.alpine
        linux	/boot/vmlinuz-lts root=/dev/disk/by-label/m1.alpine ro modules=ext4
        initrd	/boot/initramfs-lts
}

menuentry "    Xubu 20.04 Linux 6.2.9-custom" {
        search --no-floppy --set=root --label m1.xubu20.04
        linux	/boot/vmlinuz-6.2.9-custom root=/dev/disk/by-label/m1.xubu20.04 ro
        initrd	/boot/initrd.img-6.2.9-custom
}

menuentry "    Ubuntu X Moon Studio lowlatency" {
        search --no-floppy --set=root --label m1.archlinux
        linux   /.boot/ubuntu_moonstudio/boot/vmlinuz-lowlatency root=/dev/disk/by-label/moonstudio ro
        initrd  /.boot/ubuntu_moonstudio/boot/initrd.img-lowlatency
}

submenu "    *buntu            -- Submenu --" {
    menuentry "    Xubu 20.04 Linux 6.2.9-custom     (recovery mode)" {
            search --no-floppy --set=root --label m1.xubu20.04
            linux	/boot/vmlinuz-6.2.9-custom root=/dev/disk/by-label/m1.xubu20.04 ro recovery nomodeset 
            initrd	/boot/initrd.img-6.2.9-custom
    }
    menuentry "    Xubu 20.04 Linux 5.4.0-42-generic" {
            search --no-floppy --set=root --label m1.xubu20.04
            linux	/boot/vmlinuz-5.4.0-42-generic root=/dev/disk/by-label/m1.xubu20.04 ro
            initrd	/boot/initrd.img-5.4.0-42-generic
    }
    menuentry "    Xubu 20.04 Linux 5.4.0-42-generic (recovery mode)" {
            search --no-floppy --set=root --label m1.xubu20.04
            linux	/boot/vmlinuz-5.4.0-42-generic root=/dev/disk/by-label/m1.xubu20.04 ro recovery nomodeset 
            initrd	/boot/initrd.img-5.4.0-42-generic
    }

    menuentry "    Ubuntu X Moon Studio liquorix threadirqs" {
            search --no-floppy --set=root --label m1.archlinux
            linux   /.boot/ubuntu_moonstudio/boot/vmlinuz-liquorix root=/dev/disk/by-label/moonstudio ro threadirqs
            initrd  /.boot/ubuntu_moonstudio/boot/initrd.img-liquorix
    }
}

menuentry " -- System ----------------------------------------------------------------------" {
        true
}

menuentry "    UEFI Firmware Settings" --id 'uefi-firmware' {
        fwsetup
}

menuentry "    Restart" {
        reboot
}

menuentry "    Shutdown" {
        halt
}

menuentry " --------------------------------------------------------------------------------" {
        true
}

Regards,
Ralf



More information about the xubuntu-users mailing list