Porteus on UEFI-ONLY: rock solid boot!

Here you can post about your various experiences with PC hardware. You can also post about hardware that is not compatible with the linux kernel or not recommended for use with Porteus.
User avatar
Ed_P
Contributor
Contributor
Posts: 8341
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Porteus on UEFI-ONLY: rock solid boot!

Post#16 by Ed_P » 01 Jul 2021, 21:26

M. Eerie wrote:
01 Jul 2021, 20:56
The real challenge is getting a USB drive that boots in all scenarios.
I think BIOS and EFI covers 90% of new users which the 4 steps noted above do.
M. Eerie wrote:
01 Jul 2021, 20:56
As for saving changes, there's no need to create a separate partition. In Porteus you can store your changes by creating a container file
I agree, and have been doing that for years. A problem for some is the container file can not be bigger than 4 GB on a FAT32 drive.
Ed

rych
Warlord
Warlord
Posts: 622
Joined: 04 Jan 2014, 04:27
Distribution: Porteus 5.0 x64 OpenBox
Location: NZ
Contact:

Porteus on UEFI-ONLY: rock solid boot!

Post#17 by rych » 02 Jul 2021, 09:48

beny, Thank you: the TAB displays a textual line menu with the same options: Graphical, fresh etc. And it boots! Making this indeed a dual UEFI-Legacy bootable Porteus! -- no need to carry 2 USB sticks.

raja, I can also confirm that making an additional partition (ext4), moving the porteus folder onto it, and just adding the from=LABEL:Porteus cheatcode in (one of the) menus of portesu.cfg works including changes folder that is automagically placed on that partition too.

M. Eerie, since exFAT might not be an easy option, I'll stay with FAT32 for now -- a small partition of 350MB in my case that is only used for booting.

Thanks everyone, I'm quite happy now. On to the next problem: the network adapter on my newest DELL machine doesn't seem to be recognised, No network devices available

User avatar
Bicephale
Full of knowledge
Full of knowledge
Posts: 111
Joined: 28 Dec 2010, 19:10
Distribution: Live CDs
Location: Quebec/Qc, Canada

Porteus on UEFI-ONLY: rock solid boot!

Post#18 by Bicephale » 08 Jul 2021, 05:26

Hello!

Thanks for staying around trying to make a difference. One recent suggestion to copy reFind's (v0.13.2) 'bootia32.efi' to 'EFI/BOOT/' in 'APorteus-v21.06.27-x86_64.iso' didn't enable hybrid 32/64 booting on my CherryTrail transformer tablet but this sure proved interesting as some alternate boot menu actually capable of finding & loading Fedora's own boot menu - present on my "HS200" MMC NCard (via an 'EFI\fedora\grubia32.efi' menu item). Most unfortunately previous installation of Linuxium on removable "SDR104" SDHC media only worked until reboot, apparently because this uSD drive just doesn't seem accessible yet (chicken & egg paradox)... So, in principle 64-bits OS setup on that portable's main storage unit proved this budget machine is OKay with it, while a remedy would be to split the booting process, staring from where Win10 used to stand before (then once all media is made functional control would be passed to one of a multitude of OSes as its uSD maximum capacity is 128 GB instead of only 32, which may imply that Win11 setup would eventually fail kind of early anyway.

Well i suppose feedback is welcome even if preliminary, mentions of late Linux v5.x kernels made me hopeful: it's a simple matter of time IMO! :thumbsup:

nanZor
Shogun
Shogun
Posts: 381
Joined: 09 Apr 2019, 03:27
Distribution: Porteus 5.01 x86-64 LXQT

Porteus on UEFI-ONLY: rock solid boot!

Post#19 by nanZor » 25 Oct 2021, 23:56

Even the install for the UEFI-ONLY machines is the utmost in simplicity - you can skip the "installer".

It's in the usb install readme, but I've seen some guys so used to using burners that they just dont know you don't need to dd, rufus, etcher or whatever.

From a windows download perspective:

Download porteus iso. Double click it to mount and extract it. Copy contents to your usb-drive. Eject it nicely. (important). Reboot and make it first in your boot list in your bios if necessary.

No need (at least for the majority of my machines) to even have to use the porteus windows exe installer at all. Blows their minds!
That's a UNIX book - cool. -Garth

User avatar
francois
Contributor
Contributor
Posts: 6434
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Porteus on UEFI-ONLY: rock solid boot!

Post#20 by francois » 09 Oct 2023, 20:38

It has been some years since I built a usb porteus bootable key.

My usb key will not boot. I proceeded as in this thread:
SOLVED: linux usb key recognized in window 10

I want a linux only usb with porteus as OS. Here is what I have done:

A. Formatted the with 3 partitions
1) 1 gig fat32
2) 5.32 gig ext2
3) 1 gig linux-swap

B. From my hdd porteus install, I just installed porteus to the the key:

Code: Select all

root@porteus:/home/guest# fdisk -l
...
...
Disk /dev/sdc: 7.28 GiB, 7811891200 bytes, 15257600 sectors
Disk model: Store n Go Drive
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xc2b6cdc1

Device     Boot    Start      End  Sectors  Size Id Type
/dev/sdc1           2048  2050047  2048000 1000M  b W95 FAT32
/dev/sdc2  *     2050048 13209599 11159552  5.3G 83 Linux
/dev/sdc3       13209600 15257599  2048000 1000M 82 Linux swap
...


Where do I pick the UEFI folder. It seems to be missing on my installation.

Thanks.
Prendre son temps, profiter de celui qui passe.

User avatar
Ed_P
Contributor
Contributor
Posts: 8341
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Porteus on UEFI-ONLY: rock solid boot!

Post#21 by Ed_P » 09 Oct 2023, 22:44

Check the USB_INSTALLATION.txt file in the Porteus ISO you installed to your harddrive. Although nanZor's instructions are good, try them.
Ed

User avatar
francois
Contributor
Contributor
Posts: 6434
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Porteus on UEFI-ONLY: rock solid boot!

Post#22 by francois » 10 Oct 2023, 09:22

Nanzor is when you use a save.dat container. He works with a single partition fat32 formatted.

I want my save changes folder to be linux ext2.

From the info I gave my porteus installation is on the second partition. I have fat32 on the first partition to fool windows.

When I go in the setup of my Asus FX502-VM the verbatim usb key is seen, but it chooses the first partition of my usb key. There is no way to change that in the setup.

Maybe, I should instruct porteus installer to boot or install on first partition (sdc1) instead of second partition (sdc2).

User avatar
Ed_P
Contributor
Contributor
Posts: 8341
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Porteus on UEFI-ONLY: rock solid boot!

Post#23 by Ed_P » 10 Oct 2023, 16:45

francois wrote:
10 Oct 2023, 09:22
Maybe, I should instruct porteus installer to boot or install on first partition (sdc1) instead of second partition (sdc2).
Yes.

Just copy all the ISO files to the 1st partition, then copy the porteus folder to your second partition. Boot the drive then config your system to use the 3rd partition.
Ed

User avatar
francois
Contributor
Contributor
Posts: 6434
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Porteus on UEFI-ONLY: rock solid boot!

Post#24 by francois » 11 Oct 2023, 01:53

I never saw the UEFI folder or files. Where are they?
Prendre son temps, profiter de celui qui passe.

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 3924
Joined: 20 Mar 2012, 03:42
Distribution: v5.0-64bit
Location: australia
Contact:

Porteus on UEFI-ONLY: rock solid boot!

Post#25 by ncmprhnsbl » 11 Oct 2023, 02:04

francois wrote:
11 Oct 2023, 01:53
I never saw the UEFI folder or files. Where are they?
on the ISO, it's the folder named EFI.
containing:

Code: Select all

ISO-5.01/EFI
└── boot
    ├── bootx64.efi
    ├── chain.c32
    ├── ldlinux.e64
    ├── libcom32.c32
    ├── libmenu.c32
    ├── libutil.c32
    ├── linux.c32
    ├── menu.c32
    ├── syslinux.c32
    ├── syslinux.cfg
    └── vesamenu.c32
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

User avatar
francois
Contributor
Contributor
Posts: 6434
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Porteus on UEFI-ONLY: rock solid boot!

Post#26 by francois » 13 Oct 2023, 22:21

@ncmprhnsbl
Thanks for the info and thumbs up for the good work.

Finally, that was it. All I had to do to have porteus installer target the first partition for porteus installation. Curiously, without a save.dat file it is keeping the changes (am I dreaming?). On the second partition, I have made a modules folder in which I store my additionnal modules.

I might come up with a small howto install porteus on usb key without save.dat container which I hate so much. :evil:
Prendre son temps, profiter de celui qui passe.

User avatar
Ed_P
Contributor
Contributor
Posts: 8341
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Porteus on UEFI-ONLY: rock solid boot!

Post#27 by Ed_P » 14 Oct 2023, 00:30

francois wrote:
13 Oct 2023, 22:21
I might come up with a small howto install porteus on usb key without save.dat container
Ed_P wrote:
10 Oct 2023, 16:45
Just copy all the ISO files to the 1st partition, then copy the porteus folder to your second partition.
If you format the second partition as ext2, no save.dat file needed. And I should note, when I said "copy the porteus folder" I meant "move it". :sorry:
Ed

User avatar
francois
Contributor
Contributor
Posts: 6434
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Porteus on UEFI-ONLY: rock solid boot!

Post#28 by francois » 14 Oct 2023, 05:47

@Ed
I understand what you meant. But for this usb install, I was not there yet. I just wanted an operational porteus usb install without a save.dat folder. The different installations porteus directly or thru an iso, on sdc1 or sdc2, with or without changes folder, then could be declined.
Prendre son temps, profiter de celui qui passe.

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

Porteus on UEFI-ONLY: rock solid boot!

Post#29 by beny » 14 Oct 2023, 18:18

hi francois if you use the fat32 system only for the EFI boot and the other partition is ext2 or another one the save.dat you don't need it if you want to use changes directory make one and append the path on porteus.cfg,or do nothing.

User avatar
francois
Contributor
Contributor
Posts: 6434
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Porteus on UEFI-ONLY: rock solid boot!

Post#30 by francois » 15 Oct 2023, 13:25

I kind of realized that.

Thanks beny.
Prendre son temps, profiter de celui qui passe.

Post Reply