UEFI problem

Post here if you are a new Porteus member and you're looking for some help.
BorisEnt
White ninja
White ninja
Posts: 5
Joined: 30 Dec 2012, 00:35
Distribution: Porteus
Location: Australia

Re: UEFI problem

Post#91 by BorisEnt » 21 Oct 2013, 02:23

Thanks for your quick reply to my query “How to upgrade to UEFI Secure Boot”
viewtopic.php?f=81&t=2700.

I’ve read thru UEFI posts and gleaned:
A. disable “secure boot” in the BIOS
B. MUST use 64bit Porteus http://dl.porteus.org/x86_64/current/
C. the initial boot partition MUST be FAT32 for UEFI

I want to boot and work in Porteus from my USB HD.

So, here are the issues I must solve:
1. I don’t have access to the password protected BIOS
2. Can I use a 64bit Porteus USB HD to create my Porteus UEFI USB HD?
   (optical drives are not available)

Please point me to your write up on how to get secure boot working with Porteus.

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

Re: UEFI problem

Post#92 by Ed_P » 22 Oct 2013, 05:05

BorisEnt wrote:So, here are the issues I must solve:
1. I don’t have access to the password protected BIOS
Could be a problem. Won't know until you try it.
BorisEnt wrote:2. Can I use a 64bit Porteus USB HD to create my Porteus UEFI USB HD?
   (optical drives are not available)
So long as the two USB HDs are not the same drive it should work. :) But the new Porteus UEFI USB HD will only boot on UEFI machines, that's the situation I'm experiencing with my UEFI flash drive.
Ed

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

Re: UEFI problem

Post#93 by brokenman » 22 Oct 2013, 15:02

I don’t have access to the password protected BIOS
This means you can't turn off the secure boot mode in order to boot a standard Porteus.

You may be able to create the UEFI USB device on another machine but you must then overcome signing your binaries so the secure boot will work. This is a little more complicated than anything I have written previously here. I don't have a write up yet because at this stage all hardware vendors are implementing UEFI in different ways. I can upload my setup and you can test if it works for you. At first boot on a 'secure boot' enabled machine you are presented with a command line where you must sign your binaries. This is the difficult part. After doing this you can boot with secure boot enabled but you must sign the bootime binaries again if you upgrade them (such as kernel or video drivers).
How do i become super user?
Wear your underpants on the outside and put on a cape.

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

Re: UEFI problem

Post#94 by Ed_P » 22 Oct 2013, 16:03

@brokenman

You might find this related topic interesting. http://reboot.pro/topic/18182-uefi-mult ... -harddisk/ It discusses a Windows utility but the particulars of how the USB device is created might be helpful especially Section 4.

hth
Ed

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

Re: UEFI problem

Post#95 by brokenman » 22 Oct 2013, 23:10

Thanks. Some interesting info, but not usable for the above user's case. Eventually I will get everything sorted and have a USB device that is recognized in all machines.
How do i become super user?
Wear your underpants on the outside and put on a cape.

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

Re: UEFI problem

Post#96 by Ed_P » 23 Oct 2013, 03:34

brokenman wrote:Eventually I will get everything sorted and have a USB device that is recognized in all machines.
I have absolutely no doubt that you will. How can I help?

I think the Porteus UEFI interest is going to grow. You should consider creating a new forum section focusing on UEFI questions, problems, tests, etc. to keep everything together.
Ed

BorisEnt
White ninja
White ninja
Posts: 5
Joined: 30 Dec 2012, 00:35
Distribution: Porteus
Location: Australia

Re: UEFI problem

Post#97 by BorisEnt » 24 Oct 2013, 02:33

Thanks for your time & interest.

First, I found a 32 bit Vista laptop that booted straight into my current Porteus HD.

Good. But, not the way to go. I know.

Next, I borrowed a 64 bit laptop with the Secure Boot disabled.

Now, this machine won’t boot into Windows or start my Porteus HD.

I’m looking for other options.

Hmm. Nasty stuff this UEFI. Well beyond me.

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

Re: UEFI problem

Post#98 by Ed_P » 27 Oct 2013, 13:14

@brokenman

I have a USB flash drive that boots on both UEFI machines and non-UEFI machines. (It's a Windows 8 Recovery flash drive.) I would like to tinker with it to boot Porteus on those machines. How can I create a modified version of your EFI script that would work with the flash drive without formatting or partitioning the drive? Initially I would like the flash drive to boot to Porteus on UEFI machines, ideally I would like it to support booting Win 8 Recovery or Porteus on the flash drive. Can you help?
Ed

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

Re: UEFI problem

Post#99 by brokenman » 27 Oct 2013, 13:33

Please create a separate thread with a relevant title to resolve this. I'll help as best I can.
How do i become super user?
Wear your underpants on the outside and put on a cape.

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

Re: UEFI problem

Post#100 by Ed_P » 27 Oct 2013, 13:54

Ok. No problem. Good idea.

I was just under the impression you wanted to keep all UEFI discussions in this thread.

New thread here: viewtopic.php?f=81&t=2739#p18928
Ed

User avatar
francois
Contributor
Contributor
Posts: 5083
Joined: 28 Dec 2010, 14:25
Distribution: kde xfce porteus manjaro kubun
Location: Enfin l'été, le changement climatique attendu: le soleil.

Re: UEFI problem

Post#101 by francois » 15 Jul 2016, 21:39

What finally came out of that thread for porteus 3.1? Is there a way to do all this from a windows machine now (windows 10)?

Francois.
Voltaire: Le mieux est l'ennemi du bien.

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

Re: UEFI problem

Post#102 by Ed_P » 16 Jul 2016, 03:23

I modified brokenman's script to support booting the USB drive both ways and posted my changes for him to review. But I don't know the thread's URL. But check these links out, they're related in my notes:

https://forum.porteus.org/viewtopic.php ... 700#p29085
https://forum.porteus.org/viewtopic.php?f=39&t=3560

https://forum.porteus.org/viewtopic.php ... 227#p25266
https://forum.porteus.org/viewtopic.php ... 27&p=25308

https://forum.porteus.org/viewtopic.php ... 638#p33604

The key posting for 3.1 and UEFI imo is the last one.
Ed

Russian_Fox
Ronin
Ronin
Posts: 2
Joined: 07 Aug 2016, 22:57
Distribution: KDE4-v3.1-i486
Location: Russia

Re: UEFI problem

Post#103 by Russian_Fox » 07 Aug 2016, 23:23

Hello everyone, I'm new to this forum, so am I to Linux at all.
I might be asking silly questions sometimes both due to my mediocre English, being non-native language for me and my newbieness.

So my story goes like:
1. Downloaded latest Porteus package (KDE4 - v3.1 - i486 32 bit UEFI, Options:login=root).
2. Downloaded brokenman's script, saved it somewhere.
3. Installed Porteus to a USB stick using my older PC via Windows (the PC has the BIOS-only mode, Pen-Drive FAT32 formatted, one huge partition)
4. Rebooted my PC from the USB stick, went to RAM mode (it says it's the same as Fresh but the whole stuff is copied to RAM).
5. Found that script and executed it.
6. It asked me a few questions and confirmations, downloaded something (20+MiB), copied files to the USB and said OK.
7. I put that stick (It's actually a micro-SD-card, can be used with a USB-adaptor) into my newer PC and tried to boot from it in UEFI mode.
8. WTF! UEFI doesn't see the '*ia32.efi' loader at all. I browsed the disk contents, there's no efi loader. The drive became GPT-type, 100Mb empty EFI partition, then the rest of the disk Ext3 formatted (which I chose at the 'script' stage). I do need the x32 bootloader as my EFI version is 32 bit and it currently runs Win10 also 32 bit, no matter that the CPU is SOC Atom x86_64. I went to the the UEFI shell and tried to manually find the Porteus bootloader but no luck.
9. So, what do I do now?

Thanks for reading my 'somanyletters' :%)

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

Re: UEFI problem

Post#104 by Ed_P » 08 Aug 2016, 00:44

Russian_Fox wrote:Hello everyone, I'm new to this forum, so am I to Linux at all.
I might be asking silly questions sometimes both due to my mediocre English, being non-native language for me and my newbieness.
We were all new at one point. So welcome to the group.
2. Downloaded brokenman's script, saved it somewhere.
What script? Can you post the URL to it?
8. WTF! UEFI doesn't see the '*ia32.efi' loader at all.
:
:
9. So, what do I do now?
This is what I used to create my USB flash drive. viewtopic.php?f=81&t=4632&p=33898#p33898 It works on BIOS and EFI systems. But it doesn't work with 32-bit EFI systems and that appears to be what you have.
Ed

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

Re: UEFI problem

Post#105 by brokenman » 08 Aug 2016, 02:27

The problem is that the 32bit build of Porteus-v3.1 does not contain a EFI folder. At the time mainly 64bit was UEFI. You can certainly copy the EFI folder from a 64bit version of Porteus onto the GPT of your install, then replace the 64bit efi files with 32bit ones from the rEFInd website. You will also need the 32bit drivers.

Another option is to download the latest rc4 version of Porteus from our server and use the USB installer which will create a working 32bit EFI booter. (Thanks to Neko)
How do i become super user?
Wear your underpants on the outside and put on a cape.

Post Reply