message ${MESSAGE_COLOR}In order to use Limine:\
\\n/boot should be a FAT32 partition \
\\nCopy /usr/share/limine/* to /boot/limine/ \
\\nOn UEFI systems, the kernel needs efi support

if [[ -d /sys/firmware/efi ]];then
  message This is a UEFI system\
\\nIn order to use Limine on a UEFI system, we must \
\\ncreate an entry in the UEFI Firmware. \
\\n\
\\nUse the following command, \
\\n   changing /dev/...  as appropriate: \

\\nefibootmgr --create\  \
\\n####           --disk /dev/sda1  ...\   ####  \
\\n####           --disk /dev/nvme0n1 ...\ ####  \
\\n####           --part 1\  \
\\n           --label "SMGL Linux with Limine"\  \
\\n           --loader '/limine/BOOTX64.EFI' 
else
   message This is a legacy BIOS system
   message You will need to run \'limine bios-install ...\'
fi
message  \
\\nYou will need to create a limine.conf file each time the Linux kernel changes. \
\\nConsider using the mk-limine-cfg.sh script provided. \
${DEFAULT_COLOR}
