Page 1 of 1
Create UEFI Bootable USB with Porteus 3.1 64 bit Persistent
Posted: 19 Apr 2015, 21:42
by YuraV23456
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!
Re: Create UEFI Bootable USB with Porteus 3.1 64 bit Persist
Posted: 19 Apr 2015, 22:11
by YuraV23456
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??
Re: Create UEFI Bootable USB with Porteus 3.1 64 bit Persist
Posted: 20 Apr 2015, 14:16
by Ed_P
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
Re: Create UEFI Bootable USB with Porteus 3.1 64 bit Persist
Posted: 20 Apr 2015, 18:06
by brokenman
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.
Re: Create UEFI Bootable USB with Porteus 3.1 64 bit Persist
Posted: 21 Apr 2015, 00:08
by wread
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...