Page 1 of 1

Porteus gets skipped on boot even though USB is first

Posted: 04 Oct 2024, 00:45
by EloyKra?
Original problem: I have Porteus version 5.0 x64 installed onto an ext4 partition under my 16GB SanDisk Cruzer Blade.
It boots normally on my main pc, but on the school computers, it skips right to Windows.
Secure boot is a thing on these PCs, but it does not make any difference.
By default, USB is over Hard Disk on all school computers.
It even boots on ALL computers if installed by copying the ISO files to a FAT32 partition.
These computers CAN boot Linux because they ALL have Huayra (My country's government distro of Linux)
Now, I can not show this because, I don't bring any other device with me, because someone could steal from me.

Porteus gets skipped on boot even though USB is first

Posted: 04 Oct 2024, 05:47
by Ed_P
If the school's computers have Secure Boot enabled it means they have EFI systems which means: 1. Porteus's FAT32 EFI partition must be on the USB drive, and 2. The computer's Secure Boot function must be disabled to boot the Porteus USB drive.

Porteus gets skipped on boot even though USB is first

Posted: 04 Oct 2024, 06:20
by benkenobi36
EloyKra? wrote:
04 Oct 2024, 00:45
I have Porteus version 4.0 x64 installed onto an ext4 partition under my 16GB SanDisk Cruzer Blade.
It boots normally on my main pc, but on the school computers, it skips right to Windows.
Secure boot is a thing on these PCs, but it does not make any difference.
By default, USB is over Hard Disk on all school computers.
It even boots on ALL computers if installed by copying the ISO files to a FAT32 partition.
These computers CAN boot Linux because they ALL have Huayra (My country's government distro of Linux)
Now, I can not show this because, I don't bring any other device with me, because someone could steal from me.
This the relevant line,I think that shows this :
Ed_P wrote:
04 Oct 2024, 05:47
1. Porteus's FAT32 EFI partition must be on the USB drive
to be necessary and this :
Ed_P wrote:
04 Oct 2024, 05:47
2. The computer's Secure Boot function must be disabled to boot the Porteus USB drive.
not needed in this case

Porteus gets skipped on boot even though USB is first

Posted: 04 Oct 2024, 09:46
by beny
hi, maybe the usb port are blocked by bios,because if you have a linux usb device on windows it ask you to format the device if the file system is ext4 or another one

Porteus gets skipped on boot even though USB is first

Posted: 04 Oct 2024, 23:06
by EloyKra?
Quick update: Porteus does NOT want to boot from a ext4 partition.
The problem I originally wrote there is now fixed, but this one arrived... (The FAT32 partition had no bootable content, and the ext4 partition can not boot after succesful installation)
Now, after installing Porteus to the FAT32 partition, it boots normally.
But even though I have installed it to the ext4 one too (Obviously, with bootloader), no computer wants to detect it as bootable.

On other side, the name for this topic is not correct anymore. How do I rename it? Or do I create a new one?

Porteus gets skipped on boot even though USB is first

Posted: 05 Oct 2024, 06:48
by benkenobi36
To fix this,first boot into Porteus , open Gparted find and right click your USB's FAT32 partition then click manage flags , make sure the box next to "boot" and "esp" are checked
then while still in Gparted , label your ext4 partition "MAIN"
go to /boot/syslinux/porteus.cfg on your USB's FAT32 Partition add from=LABEL:MAIN to the first append line

Porteus gets skipped on boot even though USB is first

Posted: 06 Oct 2024, 03:40
by Ed_P
EloyKra? wrote:
04 Oct 2024, 23:06
On other side, the name for this topic is not correct anymore. How do I rename it? Or do I create a new one?
Edit the 1st posting. The icon that resembles a pencil invokes editing. :)
benkenobi36 wrote:
05 Oct 2024, 06:48
then while still in Gparted , label your ext4 partition "MAIN"
go to /boot/syslinux/porteus.cfg on your USB's FAT32 Partition add from=LABEL:MAIN to the first append line
Line 43

Code: Select all

APPEND changes=/porteus from=LABEL:MAIN