Page 1 of 1

Porteus bootable ISOs

Posted: 16 Feb 2016, 00:58
by Ed_P
brokenman how do you make the ISOs we download to be bootable ISOs? What steps or app do you use to do that?

Thanks.

Re: Porteus bootable ISOs

Posted: 16 Feb 2016, 01:44
by brokenman
After the ISO is produced a program called hybridiso is run on them. It is a part of the syslinux package I believe. After this is run users can use dd to 'burn' the ISO to a USB after which it will automatically be bootable. If you are referring to booting them using an outside program then it is that program that contains the 'bootable' part.

Re: Porteus bootable ISOs

Posted: 16 Feb 2016, 04:36
by Ed_P
I normally boot ISOs with Grub4DOS and am now booting some with Grub2Win. But the http://forum.porteus.org/viewtopic.php?f=75&t=5389 ISO file doesn't boot with either so looking for options to use with it.
brokenman wrote:After the ISO is produced a program called hybridiso is run on them. It is a part of the syslinux package I believe.
?? Is the syslinux package a part of the ISO file or something I download with USM? I will look and get back to you.

Thanks. :beer:

--edit--

syslinux is available via USM and the utility appears to be isohybrid not hybridiso.

-edit-

Now to figure out how to use it to create the ISO.

Code: Select all

guest@porteus:~$ isohybrid --help
Usage: isohybrid [OPTIONS] <boot.iso>

Options:
   -h <X>          Number of default geometry heads
   -s <X>          Number of default geometry sectors
   -e --entry      Specify partition entry number (1-4)
   -o --offset     Specify partition offset (default 0)
   -t --type       Specify partition type (default 0x17)
   -i --id         Specify MBR ID (default random)
   -u --uefi       Build EFI bootable image
   -m --mac        Add AFP table support

   --forcehd0      Assume we are loaded as disk ID 0
   --ctrlhd0       Assume disk ID 0 if the Ctrl key is pressed
   --partok        Allow booting from within a partition

   -? --help       Display this help
   -v --verbose    Display verbose output
   -V --version    Display version information

Report bugs to <pj.pandit@yahoo.co.in>
guest@porteus:~$ 

Re: Porteus bootable ISOs

Posted: 16 Feb 2016, 10:49
by brokenman
Start with: isohybrid /path/to/my.iso

http://www.syslinux.org/wiki/index.php/Isohybrid

Re: Porteus bootable ISOs

Posted: 16 Feb 2016, 14:01
by Bogomips
Only question is, if you do that, can you use the rest of the usb, or is it just a dedicated iso usb?

Re: Porteus bootable ISOs

Posted: 16 Feb 2016, 21:50
by Ed_P
An update.

Code: Select all

guest@porteus:~$ isohybrid /mnt/sda5/ISOs/abSlak_100216.iso
isohybrid: /mnt/sda5/ISOs/abSlak_100216.iso: unexpected boot catalogue parameters
guest@porteus:~$ isohybrid /mnt/sda5/ISOs/abSlak_030216.iso
isohybrid: /mnt/sda5/ISOs/abSlak_030216.iso: unexpected boot catalogue parameters
guest@porteus:~$ su
Password: 
root@porteus:/home/guest# isohybrid /mnt/sda5/ISOs/abSlak_100216.iso
isohybrid: /mnt/sda5/ISOs/abSlak_100216.iso: unexpected boot catalogue parameters
root@porteus:/home/guest# 

Re: Porteus bootable ISOs

Posted: 16 Feb 2016, 23:12
by Bogomips
@Ed_P Relevant Post

If you pursue it, will be interested to know how you get on. Used Iso Editor to make Iso, and AFAIK Iso Editor uses El Torrito for CD.

Re: Porteus bootable ISOs

Posted: 17 Feb 2016, 00:28
by brokenman
Only question is, if you do that, can you use the rest of the usb, or is it just a dedicated iso usb?
I remember playing with it a while back. I created an ISO that had multiple partitions inside that were transferred to the USB when using dd. From memory (which isn't so good) you can format what isn't used on the USB as you wish.

Re: Porteus bootable ISOs

Posted: 17 Feb 2016, 16:58
by Ed_P
Bogomips wrote:If you pursue it, will be interested to know how you get on.
Indeed. But I'm not one for keeping secrets so little worry. :D
Used Iso Editor to make Iso, and AFAIK Iso Editor uses El Torrito for CD.
Not ISO Master in LXQT? Where did you get ISO Editor? USM?

Re: Porteus bootable ISOs

Posted: 20 Feb 2016, 01:30
by Bogomips
@ Ed_P

At long last finally got the goods on how to format a partition ntfs from linux, so will be able to test reading iso from ntfs partition. When this is successful will make new iso for you to try.

btw how's iso hybrid investigation getting on?

Re: Porteus bootable ISOs

Posted: 20 Feb 2016, 04:23
by Ed_P
Bogomips wrote:When this is successful will make new iso for you to try.
:friends:
I'm suppose to be trying to help you not the other way around. :oops:
btw how's iso hybrid investigation getting on?
I believe the problem is within the .img file but what, why, how, etc. and how to fix.... No idea.

I did copy the ptest.sgn file to the partition next to the .iso file. Booting still couldn't find it. :wall: