How to: Simple Way to add UEFI to alphaOS ISO

Tutorials & Tips
ndrancs
Competent
Posts: 29
Joined: 26 May 2013, 22:24
Contact:

How to: Simple Way to add UEFI to alphaOS ISO

Postby ndrancs » 08 Apr 2014, 10:33

Hi all

Ok, I'll tell you how i make UEFI ISO.
Here's the steps I did:

- Extract main ISO to, example: /mnt/home/ISO which is ext4 partition
- Delete/rename this file: ldlinux.c32 and syslinux.cfg
- Download and extract my uefi tools to /mnt/home/ISO
- Open Terminal in /mnt/home/
- type it in terminal, i use xorriso to make iso, so if use mkisofs please use latest version that support uefi

Code: Select all

# xorriso -as mkisofs -rock -omit-version-number -disable-deep-relocation -joliet -allow-leading-dots -volid "alphat64" -b isolinux.bin -c boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -eltorito-alt-boot --efi-boot efiboot.img -no-emul-boot -o AlphaT64_14.5.iso ISO

and use isohybrid command to make ISO bootable in uefi machine

Code: Select all

# isohybrid -u AlphaT64_14.5.iso

and done

SOURCE:
http://www.gnu.org/software/xorriso/xorriso_eng.html
http://www.mediafire.com/download/779hsf1m10o96ng/my_UEFI_pkgs.rar

Note:
Please edit isolinux.cfg and grub.cfg, adjust to alphaOS boot parameters

Credit:
Simargl
rEFInd author
shim.efi author
and all
===signature begin===
alphat64 the remaster of alphaOS v14.5 with init from fatdog64 v630
http://alphaos.tuxfamily.org/forum/viewtopic.php?f=13&t=1045
http://murga-linux.com/puppy/viewtopic.php?t=92727
===signature end===

simargl
Site Admin
Posts: 466
Joined: 16 May 2013, 10:54
Contact:

Re: How to: Simple Way to add UEFI to alphaOS ISO

Postby simargl » 08 Apr 2014, 15:58

Thanks for this guide!

I couldn't get mkisofs to work with UEFI, so added xorriso and required dependencies. Packages changed:
-cdrkit-1.1.11-3-x86_64.pkg.tar.xz
+libburn-1.3.2-1-x86_64.pkg.tar.xz
+libisoburn-1.3.2-3-x86_64.pkg.tar.xz
+libisofs-1.3.2-1-x86_64.pkg.tar.xz

I will upload small iso, without extra.sb included so you can test. What I've tried so far iso works in virtualbox and when written to USB.

Image

georgesalarcon
Posts: 1
Joined: 08 Apr 2014, 16:07

Re: How to: Simple Way to add UEFI to alphaOS ISO

Postby georgesalarcon » 08 Apr 2014, 16:09

Thanks for this tutorial.

ndrancs
Competent
Posts: 29
Joined: 26 May 2013, 22:24
Contact:

Re: How to: Simple Way to add UEFI to alphaOS ISO

Postby ndrancs » 08 Apr 2014, 16:38

simargl wrote:Thanks for this guide!

I couldn't get mkisofs to work with UEFI, so added xorriso and required dependencies. Packages changed:
-cdrkit-1.1.11-3-x86_64.pkg.tar.xz
+libburn-1.3.2-1-x86_64.pkg.tar.xz
+libisoburn-1.3.2-3-x86_64.pkg.tar.xz
+libisofs-1.3.2-1-x86_64.pkg.tar.xz

I will upload small iso, without extra.sb included so you can test. What I've tried so far iso works in virtualbox and when written to USB.

Image

Iam glad this short tutorial work for you :)
Let me try the iso, i have some machine, PCs and laptops to test.
===signature begin===
alphat64 the remaster of alphaOS v14.5 with init from fatdog64 v630
http://alphaos.tuxfamily.org/forum/viewtopic.php?f=13&t=1045
http://murga-linux.com/puppy/viewtopic.php?t=92727
===signature end===

ndrancs
Competent
Posts: 29
Joined: 26 May 2013, 22:24
Contact:

Re: How to: Simple Way to add UEFI to alphaOS ISO

Postby ndrancs » 08 Apr 2014, 16:48

georgesalarcon wrote:Thanks for this tutorial.

I am happy if the tutor can work for you.
===signature begin===
alphat64 the remaster of alphaOS v14.5 with init from fatdog64 v630
http://alphaos.tuxfamily.org/forum/viewtopic.php?f=13&t=1045
http://murga-linux.com/puppy/viewtopic.php?t=92727
===signature end===


ndrancs
Competent
Posts: 29
Joined: 26 May 2013, 22:24
Contact:

Re: How to: Simple Way to add UEFI to alphaOS ISO

Postby ndrancs » 10 Apr 2014, 11:44



I have tested this iso, and this is the result:
The iso is fail to boot in uefi machine, then i check the iso, the /EFI/grub2/grub2.efi and /grub.cfg is missing. Maybe you delete this files to save some space.
Ok if you want to save some space, you can try this:
- recompile the kernel with uefi stub config enable, so the kernel can be loaded directly in rEFInd.efi (uefi boot manager), with current kernel this is not possible.
- add this code to /EFI/boot/refind.conf

Code: Select all

menuentry "alphaOS" {
   icon /EFI/boot/icons/os_linux.icns
   loader /alphaos/boot/vmlinuz
   initrd /alphaos/boot/initrfs.img
   options "from=/alphaos"
}


Cheers ;)
===signature begin===
alphat64 the remaster of alphaOS v14.5 with init from fatdog64 v630
http://alphaos.tuxfamily.org/forum/viewtopic.php?f=13&t=1045
http://murga-linux.com/puppy/viewtopic.php?t=92727
===signature end===


Return to “Tutorials”

Who is online

Users browsing this forum: No registered users and 2 guests

cron