Uefi and porteus 3.0

Post tutorials, HOWTO's and other useful resources here.
User avatar
Ed_P
Contributor
Contributor
Posts: 4012
Joined: 06 Feb 2013, 22:12
Distribution: 4.0 Cinnamon 64-bit ISO
Location: Western NY, USA

Uefi and porteus 3.0

Post#46 by Ed_P » 12 Jun 2018, 22:28

:shock: The only thing that should be needed for a UEFI system is to disable the UEFI Secure Boot option.

I have a 3.2.2 flash drive that boots on my EFI system. The installer should be creating a hybrid MBR and a GPT directory table. I have not tried a 4.0 flash drive install.
Ed

User avatar
Ed_P
Contributor
Contributor
Posts: 4012
Joined: 06 Feb 2013, 22:12
Distribution: 4.0 Cinnamon 64-bit ISO
Location: Western NY, USA

Uefi and porteus 3.0

Post#47 by Ed_P » 14 Jun 2018, 18:51

fulalas were you using flash drives? And is the partition on them GPT?
Ed

fulalas
DEV Team
DEV Team
Posts: 1120
Joined: 26 Oct 2016, 15:34
Distribution: Porteus
Location: Brazil

Uefi and porteus 3.0

Post#48 by fulalas » 14 Jun 2018, 21:24

Do you know Rufus? It's a Windows program that tries to simplify things in this regard. I tried basically everything using Porteus 4: FAT, FAT32, NTFS. MBR, GPT. Absolutely nothing works, hahaha!

User avatar
n0ctilucient
Shogun
Shogun
Posts: 374
Joined: 21 Apr 2017, 15:59
Distribution: fullmoonremix
Location: 127.0.0.1
Contact:

Uefi and porteus 3.0

Post#49 by n0ctilucient » 14 Jun 2018, 23:18

Have you tried (using ext4 w/) UNetbootin ?
http://slakfinder.org/show.php?pkg=1175095

Use depfinder to accurately locate the deps not already included in Porteus...
http://slakfinder.org/show.php?pkg=1374722

From the cmdline the following (in the same directory as the package)...

Code: Select all

depfinder -a -j2 -p -s nameofpackage.txz
Last edited by n0ctilucient on 15 Jun 2018, 00:15, edited 3 times in total.
:hmmm: I do NOT have the "right" to tell anyone what they should do...
but I reserve the "right" to tell them what they should "consider".

User avatar
Ed_P
Contributor
Contributor
Posts: 4012
Joined: 06 Feb 2013, 22:12
Distribution: 4.0 Cinnamon 64-bit ISO
Location: Western NY, USA

Uefi and porteus 3.0

Post#50 by Ed_P » 15 Jun 2018, 00:00

I have heard of Rufus fulalas but never used it. I use Easy2Boot, which use to be RMPrepUSB.
Ed

fulalas
DEV Team
DEV Team
Posts: 1120
Joined: 26 Oct 2016, 15:34
Distribution: Porteus
Location: Brazil

Uefi and porteus 3.0

Post#51 by fulalas » 15 Jun 2018, 01:31

n0ctilucient wrote:
14 Jun 2018, 23:18
Have you tried (using ext4 w/) UNetbootin ?
Non-Windows partition is not an option for me. Does Unetbooting work with NTFS + UEFI?
Ed_P wrote:
15 Jun 2018, 00:00
I use Easy2Boot, which use to be RMPrepUSB.
Cool! Do you have a xzm for this app? :)

User avatar
n0ctilucient
Shogun
Shogun
Posts: 374
Joined: 21 Apr 2017, 15:59
Distribution: fullmoonremix
Location: 127.0.0.1
Contact:

Uefi and porteus 3.0

Post#52 by n0ctilucient » 15 Jun 2018, 03:27

Does Unetbootin work with NTFS + UEFI?
You mentioned FAT32... it works with that.
Ntfs/UEFI I'm not sure. But you can try it.
:hmmm: I do NOT have the "right" to tell anyone what they should do...
but I reserve the "right" to tell them what they should "consider".

fulalas
DEV Team
DEV Team
Posts: 1120
Joined: 26 Oct 2016, 15:34
Distribution: Porteus
Location: Brazil

Uefi and porteus 3.0

Post#53 by fulalas » 15 Jun 2018, 05:01

The problem with FAT32 is that it doesn't support symlinks, so it's not an ideal solution. But I'll give it a try anyway. Thanks.

User avatar
Ed_P
Contributor
Contributor
Posts: 4012
Joined: 06 Feb 2013, 22:12
Distribution: 4.0 Cinnamon 64-bit ISO
Location: Western NY, USA

Uefi and porteus 3.0

Post#54 by Ed_P » 15 Jun 2018, 05:05

fulalas wrote:
15 Jun 2018, 01:31
Ed_P wrote:
15 Jun 2018, 00:00
I use Easy2Boot, which use to be RMPrepUSB.
Cool! Do you have a xzm for this app? :)
It's a Windows app, just like Rufus. Whether it would run under Wine I don't know.

Check out this RMPrepUSB page: http://rmprepusb.blogspot.com/2014/02/b ... un-it.html
Ed

User avatar
n0ctilucient
Shogun
Shogun
Posts: 374
Joined: 21 Apr 2017, 15:59
Distribution: fullmoonremix
Location: 127.0.0.1
Contact:

Uefi and porteus 3.0

Post#55 by n0ctilucient » 15 Jun 2018, 06:55

fulalas wrote:
15 Jun 2018, 05:01
The problem with FAT32 is that it doesn't support symlinks
My symlink strategy is...
using /tmp (for root syms) or /home/guest (for guest syms)
then I make a sym directory module in those respective folders.

Once you make a module it will not break the symlink(s) when you copy it to FAT32.
:hmmm: I do NOT have the "right" to tell anyone what they should do...
but I reserve the "right" to tell them what they should "consider".

User avatar
brokenman
Site Admin
Site Admin
Posts: 5878
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v3.2rcX all desktops
Location: Brazil
Contact:

Uefi and porteus 3.0

Post#56 by brokenman » 17 Jun 2018, 01:49

A new way to convert MBR to GPT!! And no data lost.
Linux is sooo much easier than this windows tool.

@n0ctilucient
I think they are talking about a symlink on the real file system on the installation media. The symlink you're talking about is different. The filesystem doesn't even exist at boot time.

@Fulalas
Only FAT32 for the first partition on UEFI. You shouldn't even need to run the Porteus installer ... well not to install the mbr. Just put the folders on the fat32 partition and boot without secureboot enabled.
How do i become super user?
Wear your underpants on the outside and put on a cape.

User avatar
n0ctilucient
Shogun
Shogun
Posts: 374
Joined: 21 Apr 2017, 15:59
Distribution: fullmoonremix
Location: 127.0.0.1
Contact:

Uefi and porteus 3.0

Post#57 by n0ctilucient » 17 Jun 2018, 10:28

brokenman wrote:
17 Jun 2018, 01:49
I think they are talking about a symlink on the real file system
Apologies... for my mangled statement.

It seems he is interested in installing Porteus to a FAT32 flash drive.
Unetbootin will do that w/ no damage to Porteus.

He can also using Gparted... install to ext4 (more secure) and still use FAT32 for storage.

The caveat is... FAT32 must always be the 1st partition on the
device when booting from it and even when used as storage.
(So it's best NEVER to put it in a logical drive mixed w/ other file systems.)

I don't know his rig, so as always... mileage will vary.
But it has (w/ no problems) worked for me using FAT32.

I've also used Rufus long... long... ago (back in the M$ stoneage) w/ mixed results.
:hmmm: I do NOT have the "right" to tell anyone what they should do...
but I reserve the "right" to tell them what they should "consider".

User avatar
Ed_P
Contributor
Contributor
Posts: 4012
Joined: 06 Feb 2013, 22:12
Distribution: 4.0 Cinnamon 64-bit ISO
Location: Western NY, USA

Uefi and porteus 3.0

Post#58 by Ed_P » 17 Jun 2018, 12:13

brokenman wrote:
17 Jun 2018, 01:49
A new way to convert MBR to GPT!! And no data lost.
Linux is sooo much easier than this windows tool.
Remember, talking about a system with files on it and maybe multiple partitions. How would Linux convert it? Gdisk?
@n0ctilucient
I think they are talking about a symlink on the real file system on the installation media. The symlink you're talking about is different. The filesystem doesn't even exist at boot time.
Would that matter? Porteus is booted, the user creates a folder on the real file system, creates a symlink to it, then creates a module of the symlink. The next time Porteus is booted, the folder is still on the real file system, Porteus loads the symlink module, the link and real folder connect. For user type folders, /home/guest/pictures/ for example, this should work imho, for system related files like drivers it wouldn't.
@Fulalas
Only FAT32 for the first partition on UEFI. You shouldn't even need to run the Porteus installer ... well not to install the mbr. Just put the folders on the fat32 partition and boot without secureboot enabled.
Interesting. The problem with FAT32 is it's limited to 32GB partitions with older Window systems. And newer flash drives can be 512GB. Also Windows doesn't support multi-partition flash drives, the last time I checked. Just checked and newer versions of Windows 10 support multiple partitions on flash drives/USB drives. So the question becomes where is the drive going to be used, with Linux and newer versions of WIndows or with older versions of Windows also.
Ed

User avatar
n0ctilucient
Shogun
Shogun
Posts: 374
Joined: 21 Apr 2017, 15:59
Distribution: fullmoonremix
Location: 127.0.0.1
Contact:

Uefi and porteus 3.0

Post#59 by n0ctilucient » 17 Jun 2018, 13:10

Ed_P wrote:
17 Jun 2018, 12:13
system related files like drivers it wouldn't
Anything might work as long as the data stays in module form or when unpacked in ext4.
However... if a module is opened in FAT32 there is always a possibility of breakage.

It seems the safest option is to boot install (and unpack/repack modules) in a
ext4 partition (or memory) then just store anything else in a FAT32 partition.

@ least that's how I use it. As always... mileage may vary.
:hmmm: I do NOT have the "right" to tell anyone what they should do...
but I reserve the "right" to tell them what they should "consider".

Post Reply