Create UEFI Bootable USB with Porteus 3.1 64 bit Persistent

Post here if you are a new Porteus member and you're looking for some help.
Post Reply
YuraV23456
White ninja
White ninja
Posts: 6
Joined: 19 Apr 2015, 14:11
Distribution: desktop 3.1
Location: Ukraine

Create UEFI Bootable USB with Porteus 3.1 64 bit Persistent

Post#1 by YuraV23456 » 19 Apr 2015, 21:42

hello! Need help in creating bootable USB with UEFI support

I want to create a usb stick which would boot uefi the latest porteus 3.1 64 bit version
I created my custom porteus from the portues maker web-page and I did select the efi option, i created console (no GUI) version of Porteus.
I wrote all content of ISO to my USB stick and called Porteus-installer-for-Windows.exe . All was fine. Bootable usb stick was created, but i can use it only for my BIOS PC. I need boot from it on my UEFI PC!

Please help me to create UEFI bootable USB with latest porteus 3.1 64 bit version

Thank you! :%) :unknown:

YuraV23456
White ninja
White ninja
Posts: 6
Joined: 19 Apr 2015, 14:11
Distribution: desktop 3.1
Location: Ukraine

Re: Create UEFI Bootable USB with Porteus 3.1 64 bit Persist

Post#2 by YuraV23456 » 19 Apr 2015, 22:11

just downloaded a brokenman script from https://www.dropbox.com/s/ooeqez43fvqw0 ... -usb-v2.sh

I see it has 2 wariables..

Code: Select all

template=https://dl.dropbox.com/s/1bsl2nqtfv1i01x/porteus-uefi-usb-template.tar.xz
kern000=https://dl.dropbox.com/s/9nrwswxk1av5gaz/000-uefi-kernel.xzm
I downloaded these files and put it on Portues-uefi folder. Now in Porteus-uefi folder are 3 files:
create-uefi-usb-v2.sh
porteus-uefi-usb-template.tar.xz
000-uefi-kernel.xzm

How i need to edit these variables for use all needed files from just created Porteus-uefi folder ? I dont want to download them from Porteus 3.1 OS,, i want use just downloaded files..

-----------------------
As i can see below i just need remove these lines from .sh script file

Code: Select all

wget --trust-server-name --no-check-certificate $template -P $wrk
wget --trust-server-name --no-check-certificate $kern000 -P $wrk
and manualy place downloaded 000-uefi-kernel.xzm and porteus-uefi-usb-template.tar.xz to $wrk directory?? Right?
------------------------
and as i can see main cernel files from /porteus/base/000-kernel.xzm will be replaced by just downloaded $wrk/000-uefi-kernel.xzm

Code: Select all

cyan "Copying porteus files ..."
cp -a $portdir /mnt/${target_base}2/ && cp -a $wrk/000-uefi-kernel.xzm /mnt/${target_base}2/porteus/base/000-kernel.xzm
Is downloaded 000-kernel.xzm contains the latest 3.1 64 bit kernel??? becouse if not contains - this action will apply old Porteus 2.1 kernel!
Right??

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

Re: Create UEFI Bootable USB with Porteus 3.1 64 bit Persist

Post#3 by Ed_P » 20 Apr 2015, 14:16

YuraV23456 wrote:-----------------------
As i can see below i just need remove these lines from .sh script file

Code: Select all

wget --trust-server-name --no-check-certificate $template -P $wrk
wget --trust-server-name --no-check-certificate $kern000 -P $wrk
and manualy place downloaded 000-uefi-kernel.xzm and porteus-uefi-usb-template.tar.xz to $wrk directory?? Right?
------------------------
I don't know about your other questions YuraV23456 but for this one I think the following would work.

Code: Select all

# wget --trust-server-name --no-check-certificate $template -P $wrk
# wget --trust-server-name --no-check-certificate $kern000 -P $wrk

myfiles=/path to my Portues-uefi folder

cp -a $myfiles/porteus-uefi-usb-template.tar.xz $wrk
cp -a $myfiles/000-uefi-kernel.xzm $wrk
hth :)
Ed

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

Re: Create UEFI Bootable USB with Porteus 3.1 64 bit Persist

Post#4 by brokenman » 20 Apr 2015, 18:06

Build your porteus using the online builder and select 64bit and UEFI. That is all that is needed. The EFI folder comes in the ISO and you MUST install it on a FAT32 partition.
How do i become super user?
Wear your underpants on the outside and put on a cape.

User avatar
wread
Module Guard
Module Guard
Posts: 1092
Joined: 09 Jan 2011, 18:48
Distribution: Porteus v3.2.5-kde5-64 bits
Location: Santo Domingo
Contact:

Re: Create UEFI Bootable USB with Porteus 3.1 64 bit Persist

Post#5 by wread » 21 Apr 2015, 00:08

In other words you must first partition your USB: Partition 1 -about 70MB- vfat; Partition 2 -the rest- extN.
Copy boot and EFI to Partition 1 and porteus to Partition 2.
This USB must be made bootable in the usual way. using a running system from disk or from another usb.

The only change is the vfat partition you must first make...

:D
Porteus is proud of the FASTEST KDE ever made.....(take akonadi, nepomuk and soprano out and you will have a decent OS).
The Porteus Community never sleeps!

Post Reply