Can Porteus be booted from the UEFI Shell option?
Posted: 11 May 2022, 13:24
I'm still trying to figure out a way to get Porteus to boot on my converted Chromebook (General chat - "Chromebook converted to Linux lappy").
Porteus User Forum
https://forum.porteus.org/
Thanks Ed! Yeah, I'm down to my last option, it seems, to get Porteus to boot on this converted Chromebook. Looking like it will need some kind of command-line to boot when @ the UEFI Shell prompt. Mainly just a test machine 'n the added BIOS doesn't offer a lot of options. No biggie, but figured I'd give it one last try...Porteus would be perfect on it, IMHO.
I can't go back to Chrome OS after MrChromebox...if I recall correctly. It was on a 32GB eMMC drive that CloudReady OS is now on. For other Linuxes I am using the SD card slot or a USB.
Code: Select all
/multiboot/Porteus-LXDE-v5.0rc3-x86_64
Code: Select all
/multiboot/Porteus-LXDE-v5.0rc3-x86_64/grub.cfg
Code: Select all
changes=/mnt/sdaX/path/to/your/savefile.dat
Are you sure you "have to"? Have you tried changing the porteus.cfg file instead? Changing the porteus.cfg file's "APPEND changes=/porteus" to "APPEND changes=/porteus/your.savefile.dat" should work, once the file is created.
I am talking about the porteus.cfg file that comes with Porteus and it's in the Porteus's /boot/syslinux/ directory. I don't know anything about personalize cfg files users or user apps create. If YUMM creates a Porteus cfg file I suspect it's cfg file will support the change I suggest also. If you or Karmi post the YUMi boot file they use it would help determine which cfg file it uses.
Code: Select all
# Menu Entry Created by YUMI
insmod png
insmod part_msdos
insmod fat
insmod ntfs
insmod ext2
#set root='hd0,msdos1'
set root --label MULTIBOOT --hint hd0,msdos1
#the following two lines allow the default entry to boot without displaying a menu (default)
set timeout=0
set TIMEOUT_STYLE=hidden
if loadfont /boot/grub/fonts/unicode.pf2 ; then
set gfxmode=640x480
insmod efi_gop
insmod efi_uga
insmod vbe
insmod vga
insmod gfxterm
terminal_output gfxterm
fi
if background_image /boot/grub/yumi.png ; then
set color_normal=white/black
set color_highlight=yellow/dark-gray
set menu_color_highlight=yellow/black
set menu_color_normal=white/blue
else
set menu_color_normal=white/blue
set menu_color_highlight=yellow/black
fi
set default=2
menuentry "[Reboot]" {reboot}
menuentry "< Go back to the Main Menu"{configfile /EFI/BOOT/grub.cfg}
menuentry "Porteus-LXDE-v5.0rc3-x86_64" {
#set gfxpayload=keep
linux /multiboot/Porteus-LXDE-v5.0rc3-x86_64/boot/syslinux/vmlinuz from=/multiboot/Porteus-LXDE-v5.0rc3-x86_64 changes=/mnt/sda1/porteus/changes/mychanges.dat
echo "Loading - This may take several seconds..."
initrd /multiboot/Porteus-LXDE-v5.0rc3-x86_64/boot/syslinux/initrd.xz
}
Try booting the USB stick after changing the porteus.cfg file as I suggested.
I'm surprised the app disregards the Porteus menu's APPEND line for each menu.
You need to relook at your ISO's /boot/syslinux/porteus.cfg file. Each menu has an APPEND line and the one for the GUI is:
Code: Select all
APPEND changes=/porteus
Code: Select all
menuentry " Porteus 5.0 USB - AF'" --class slackware --class icon-porteus {
set porteus_parms="volume=33 reboot=cold extramod=/Modules" #;cinnamon" # changes=EXIT:/changes/porteussave.dat"
set bootdrv=$root
search -f /boot/syslinux/vmlinuz --set=root
if [ $root != $bootdrv ]; then
linux /boot/syslinux/vmlinuz $porteus_parms
initrd /boot/syslinux/initrd.xz
else
echo "----------------------------------------"
echo USB drive NOT found.
echo
sleep -v -i 10
fi
set root=$bootdrv
}
menuentry " Porteus 5.0 USB - EFI" --class slackware --class icon-porteus {
set bootmgr=/EFI/boot/bootx64.efi #grubx64.efi # bootx64.efi
set bootdrv=$root
search -f $bootmgr --set=root
if [ $root != $bootdrv ]; then
chainloader $bootmgr
else
echo "----------------------------------------"
echo USB drive NOT found.
echo
sleep -v -i 10
fi
set root=$bootdrv
}
menuentry " Porteus 5.0 USB - syslinux" --class slackware --class icon-porteus {
# https://unix.stackexchange.com/questions/73564/chainload-syslinux-from-grub2-show-syslinux-cfg-menu
set bootmgr=/boot/syslinux/isolinux.bin
set bootdrv=$root
search -f $bootmgr --set=root
if [ $root != $bootdrv ]; then
syslinux_source $bootmgr
syslinux_configfile /boot/syslinux/porteus.cfg
else
echo "----------------------------------------"
echo Porteus drive NOT found.
echo
sleep -v -i 10
fi
set root=$bootdrv
}