Boot from .iso

Post your comments, questions, bug reports or suggest new features for alphaOS
neohidra
Posts: 1
Joined: 29 Jun 2014, 11:27

Boot from .iso

Postby neohidra » 29 Jun 2014, 11:33

I use a flash drive with couple .iso files on it. Every other .iso boots but alphaOS wont run because of:
Error 13: Invalid or Unsupported Executable Format

How can i fix this problem? Here is the content of the menu.lst file:

Code: Select all

title AlphaOS 15.2
map --mem (hd0,0)/images/alphaOS15.2.iso (hd32)
map --hook
chainloader (hd32)
boot

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

Re: Boot from .iso

Postby simargl » 29 Jun 2014, 13:23

This is what works here, using Grub2

Code: Select all

menuentry "alphaOS GNU/Linux 15.1 iso" {
   set isofile="/iso/alphaos_15.1-20140612-x86_64.iso"
   
   loopback loop $isofile
   linux (loop)/alphaos/boot/vmlinuz from=$isofile
   initrd (loop)/alphaos/boot/initrfs.img
}

Scooby
Site Admin
Posts: 826
Joined: 09 Sep 2013, 16:52

Re: Boot from .iso

Postby Scooby » 29 Jun 2014, 15:37

neohidra wrote:I use a flash drive with couple .iso files on it. Every other .iso boots but alphaOS wont run because of:
...
How can i fix this problem? Here is the content of the menu.lst file:

Did you do md5 checksum to check that iso aint corrupt?

alphaos_15.2-20140628-x86_64.iso

SHA1:

183f04ac1755410dfa129729736e9991b2770bda

MD5:

6464726495d08b73f7a58514cf97ab8d



If it is not super important to boot directly from iso I would recommend
a frugal install.

Just mount ISO and copy contents to a folder named for instance alphaos/
and then boot with

Code: Select all

title AlphaOS
find --set-root --ignore-floppies --ignore-cd /alphaos/boot/initrfs.img
kernel /alphaos/boot/vmlinuz from=/alphaos
initrd /alphaos/boot/initrfs.img 


I used to boot directly from ISO but to get persistance working
I modified startup scripts to implement something like
iso-scan for ubuntu. I will share with you but you'd have to hack them in
yourself.

It's so much easier to boot this way


Return to “General Discussion”

Who is online

Users browsing this forum: No registered users and 7 guests

cron