Why is Porteus-installer-for-Linux.com needed for booting Porteus via USB?

Technical issues/questions of an intermediate or advanced nature.
donald
Full of knowledge
Full of knowledge
Posts: 1777
Joined: 17 Jun 2013, 13:17
Distribution: Porteus 3.2.2 XFCE 32bit
Location: Germany

Why is Porteus-installer-for-Linux.com needed for booting Porteus via USB?

Post#16 by donald » 03 Jan 2021, 07:18

Hi Ed
I do not have any hardware "contaminated" with UEFI; so please don't ask me questions. :)

But here is a link to some drivers.
http://efi.akeo.ie/

User avatar
cad
Black ninja
Black ninja
Posts: 56
Joined: 06 Nov 2020, 22:40
Distribution: 4.0 i586 LXDE

Why is Porteus-installer-for-Linux.com needed for booting Porteus via USB?

Post#17 by cad » 03 Jan 2021, 23:20

nanZor wrote:
03 Jan 2021, 02:21
So Cad, for future reference, don't conflate EFI and Secure Boot together. Two different things.

I run some modern hardware, that only allows you to turn off secure-boot, but otherwise, EFI booting is all you have. No fallback to legacy boot.

Yet I still run normal installations for the most part on stick that are EFI aware.

The saddest thing about EFI boot is that the *myth* that one *has* to use fat-32 has been repeated so often, it has become fact. You can use ANY filesystem you want, including ext, but many read the specs too fast.

For a more detailed explanation of EFI and Secure Boot facts and myths, the author of Rufus spells it out in his faq:

https://github.com/pbatard/rufus/wiki/F ... hould_Blah

Next time anyone build a bootable stick that is EFI aware, try using a filesystem of your choice. You can end up with a fat/ntfs-free EFI install.

Thing is, you have to try it to find out. Too many just don't believe it, or just parrot back some other guide that doesn't know this either. :)
I did not just "parrot" something I had read about "EFI and FAT32" somewhere... I spoke from personal experience. My first attempt booting Porteus on my EFI laptop consisted in following the procedure described in my Jan 2 post above, except at the time of that first attempt I used an EXT4 partition. It did not work, as the partition was not recognized as a booting device and was therefore bypassed by my laptop's BIOS (a last generation Lenovo IdeaPad, manufactured last October). By the way, I too USB-drive boot Porteus v5.0 via EFI, not legacy boot. Next, I followed that same procedure, but this time I booted from a FAT32 partition. It worked flawlessly! Hence, I posted here that a FAT32 partition is required in order to boot Porteus from a USB flash drive on an EFI machine when following that simple procedure. Why would I waste my time searching for, downloading and installing additional drivers when all that is needed is to copy the Porteus ISO files to a FAT32 partition? After reading your post today, I gave it another try with a non-FAT32 partition (this time an EXT2). Again, it did not work. I did not test with non-FAT32 UEFI drivers, and do not intend to. Why should I make it difficult for myself when it can be so simple and easy?

So, yes, for anyone intending to follow the simple procedure outlined in my previous post, a FAT32 partition is required in order to properly boot Porteus from a USB stick on an EFI machine.

kuldeep
Ronin
Ronin
Posts: 1
Joined: 14 May 2021, 08:48
Distribution: v4

Why is Porteus-installer-for-Linux.com needed for booting Porteus via USB?

Post#18 by kuldeep » 14 May 2021, 09:06

CAN I JUST BOOT FROM A BOOTABLE LIVE PORTEUS USB Like I do in Ubuntu . ? Why so much hype here - I just wish to give it a try & make a bootable usb - rest I shall take care of selecting that USB as my first boot device - my bios supports and lets me choose any disk to boot from by pressing F9 at bootup. whhy is all that fuss around here about UEFI & ALL . Make things simpler not complex guys. Appreciate any help in advance or I shall figure it out my self - thank you .

User avatar
Ed_P
Contributor
Contributor
Posts: 6096
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 4.0 & 5.0rc3 ISOs
Location: Western NY, USA

Why is Porteus-installer-for-Linux.com needed for booting Porteus via USB?

Post#19 by Ed_P » 14 May 2021, 15:04

Hello kuldeep. Booting Porteus from a USB is very easy.

1. Format USB drive as FAT32.
2. Copy all files in the Porteus ISO to the USB drive.
3. Review the USB_INSTALLATION.txt file on the USB drive.
4. Run the /boot/Porteus-installer that matches the OS you are running.
5. Boot the USB drive. :good:

If you have an EFI system you need to disable the Secure Boot option because unlike Ubuntu, Porteus does not have EFI Secure Boot support.

Easy enough for you? :D

If you have grub installed you can boot the ISO directly. No need for a USB drive. :happy62:

Added in 9 hours 28 minutes 4 seconds:
Not sure what specifically the Porteus-installer apps do but the Linux version has 2600+ lines of code and both are over 110KB and if you don't run one of them the USB drive doesn't boot.
Ed

beny
Full of knowledge
Full of knowledge
Posts: 970
Joined: 02 Jan 2011, 11:33
Location: italy

Why is Porteus-installer-for-Linux.com needed for booting Porteus via USB?

Post#20 by beny » 15 May 2021, 17:00

hi Ed_P the installer check the device and install the syslinux boot manager and we have of course two version : for linux and window.

User avatar
Ed_P
Contributor
Contributor
Posts: 6096
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 4.0 & 5.0rc3 ISOs
Location: Western NY, USA

Why is Porteus-installer-for-Linux.com needed for booting Porteus via USB?

Post#21 by Ed_P » 16 May 2021, 21:05

Hi beny. Thanks. I know the installer tweaks the USB's MBR to boot Porteus. It may also tweak the USB drive's partition table for GPT compatibility. (Uefi and porteus 3.0) As I said, I don't know all the specifics I just know the drives boot if the ISO files are all copied to the USB drive and the Porteus-install app is run. :D
Ed

User avatar
Rava
Contributor
Contributor
Posts: 2944
Joined: 11 Jan 2011, 02:46
Distribution: Porteus 5.0rc2 + 4.0 i586 XFCe
Location: Forests of Germany

Why is Porteus-installer-for-Linux.com needed for booting Porteus via USB?

Post#22 by Rava » 02 Jun 2021, 17:37

Just a reminder, any OS - any Linux, but also e.g. BSD - could be loaded from the same USB drive that has Porteus installed, when you can figure out the needed syntax for it. :) Just a tip.
Cheers!
Yours Rava

Post Reply