Re: [Live-demo] ISO not isohybrid, lacks UEFI support

2016-12-07 Thread Angelos Tzotsos

Thank you very much Ben,

Next nightly is on its way, with all pull requests included (thanks for 
the devel branch).


Best regards,
Angelos

On 12/07/2016 04:25 AM, Ben Caradoc-Davies wrote:

Angelos,

my recent changes give me a working isohybrid+UEFI ISO with GeoServer 
2.10.0 + NetCDF extension, combined in this new branch for your 
nightly-building convenience:

https://github.com/bencaradocdavies/OSGeoLive/tree/devel

I have submitted the individual changes as separate pull requests.

Kind regards,
Ben.

On 07/12/16 05:12, Angelos Tzotsos wrote:

Hi all,

A new build is available including the code from Ben's pull request:
http://aiolos.survey.ntua.gr/gisvm/dev/osgeo-live-nightly-build4-amd64-6875128.iso 




Cheers,
Angelos

On 12/06/2016 06:01 PM, Johan Van de Wauw wrote:

If a version is ready, I can test it on a few devices.

On Tue, Dec 6, 2016 at 4:45 PM, Brian M Hamlin 
wrote:

  Hi All

   this  line of build steps looks promising .. my own small
investigations into the UEFI boot process raised more questions than
answers, so I am grateful to see a new set of resources applied to
the problem.

   Specifically, I had not seen nor heard of,  GNU xorriso, and  I
had not gone through Ticket #1761 in detail.

   great news, and I will make time to test a bit soon
   best from Berkeley, California
--Brian


  On Tue, 6 Dec 2016 20:55:17 +1100, Cameron Shorter  wrote:

Sounds promising Ben.

Looks like size won't be an issue with what you are proposing.

I'd be interested to hear if Brian has any comments. Brian has 
burned a
lot of USBs for prior conferences and might have some feedback on 
things

to look out for.

Cheers, Cameron

On 6/12/2016 3:54 PM, Ben Caradoc-Davies wrote:

Cameron,

in my first test, isohybrid and UEFI support increases the size of 
the

ISO image by only 411648 bytes.

Kind regards,
Ben.

On 6/12/2016 4:08 PM, Ben Caradoc-Davies wrote:

Angelos,

I think I have a working solution:
https://github.com/OSGeo/OSGeoLive/pull/142

Not yet tested on physical hardware. The ISO should now work after
being written to a raw thumb drive with dd, just like the official
Ubuntu and Lubuntu ISO images.

All of these boot in QEMU:

QEMU test as "cdrom":
$ qemu-system-x86_64 -enable-kvm -m 2048 -cdrom
osgeo-live-nightly-build6-amd64-ab426ef.iso

QEMU test as MBR boot thumb drive (which boot as first hard disk):
$ qemu-system-x86_64 -enable-kvm -m 2048 -hda
osgeo-live-nightly-build6-amd64-ab426ef.iso ^C

QEMU test as UEFI boot thumb drive (OVMF Tianocore UEFI BIOS):
$ qemu-system-x86_64 -enable-kvm -m 2048 -bios 
/usr/share/ovmf/OVMF.fd

-hda osgeo-live-nightly-build6-amd64-ab426ef.iso

Boot equipment looks good to me:

$ xorriso -indev osgeo-live-nightly-build6-amd64-ab426ef.iso
-report_el_torito plain -report_system_area plain
xorriso 1.4.6 : RockRidge filesystem manipulator, libburnia project.

xorriso : NOTE : Loading ISO image tree from LBA 0
xorriso : UPDATE : 502 nodes read in 1 seconds
xorriso : NOTE : Detected El-Torito boot information which currently
is set to be discarded
Drive current: -indev 'osgeo-live-nightly-build6-amd64-ab426ef.iso'
Media current: stdio file, overwriteable
Media status : is written , is appendable
Boot record  : El Torito , MBR isohybrid cyl-align-off GPT
Media summary: 1 session, 2069246 data blocks, 4041m data, 7489m free
Volume id: 'OSGEOLIVE10'
El Torito catalog  : 164  1
El Torito cat path : /isolinux/boot.cat
El Torito images   :   N  Pltf  B   Emul  Ld_seg  Hdpt Ldsiz
LBA
El Torito boot img :   1  BIOS  y   none  0x  0x00 4 165
El Torito boot img :   2  UEFI  y   none  0x  0x00 
4736 185

El Torito img path :   1  /isolinux/isolinux.bin
El Torito img opts :   1  boot-info-table isohybrid-suitable
El Torito img path :   2  /boot/grub/efi.img
System area options: 0x0202
System area summary: MBR isohybrid cyl-align-off GPT
ISO image size/512 : 8276984
Partition offset   : 0
MBR heads per cyl  : 0
MBR secs per head  : 0
MBR partition table:   N Status  TypeStart Blocks
MBR partition  :   1   0x80  0x000 8278016
MBR partition  :   2   0x00  0xef  740 4736
MBR partition path :   2  /boot/grub/efi.img
GPT:   N  Info
GPT disk GUID  :  c22a598de644cf4ababebbce02526bc1
GPT entry array:  2  128  overlapping
GPT lba range  :  34  8277982  8278015
GPT partition name :   1
490053004f004800790062007200690064002000490053004f00
GPT partname local :   1  ISOHybrid ISO
GPT partition GUID :   1  ddfce2b743e69e439dd9fd1b0859474c
GPT type GUID  :   1  a2a0d0ebe5b9334487c068b6b72699c7
GPT partition flags:   1  0x
GPT start and size :   1  0  8276984
GPT partition name :   2 490053004f00480079006200720069006400
GPT partname local :   2  ISOHybrid
GPT partition GUID :   2  fd17fc2ba0182c4490c1d617372125de
GPT type GUID  :   2  a2a0d0ebe5b9334487c068b6b72699c7
GPT partition flags:   2  0x
GPT start and 

Re: [Live-demo] ISO not isohybrid, lacks UEFI support

2016-12-06 Thread Ben Caradoc-Davies

Angelos,

my recent changes give me a working isohybrid+UEFI ISO with GeoServer 
2.10.0 + NetCDF extension, combined in this new branch for your 
nightly-building convenience:

https://github.com/bencaradocdavies/OSGeoLive/tree/devel

I have submitted the individual changes as separate pull requests.

Kind regards,
Ben.

On 07/12/16 05:12, Angelos Tzotsos wrote:

Hi all,

A new build is available including the code from Ben's pull request:
http://aiolos.survey.ntua.gr/gisvm/dev/osgeo-live-nightly-build4-amd64-6875128.iso


Cheers,
Angelos

On 12/06/2016 06:01 PM, Johan Van de Wauw wrote:

If a version is ready, I can test it on a few devices.

On Tue, Dec 6, 2016 at 4:45 PM, Brian M Hamlin 
wrote:

  Hi All

   this  line of build steps looks promising .. my own small
investigations into the UEFI boot process raised more questions than
answers, so I am grateful to see a new set of resources applied to
the problem.

   Specifically, I had not seen nor heard of,  GNU xorriso, and  I
had not gone through Ticket #1761 in detail.

   great news, and I will make time to test a bit soon
   best from Berkeley, California
--Brian


  On Tue, 6 Dec 2016 20:55:17 +1100, Cameron Shorter  wrote:

Sounds promising Ben.

Looks like size won't be an issue with what you are proposing.

I'd be interested to hear if Brian has any comments. Brian has burned a
lot of USBs for prior conferences and might have some feedback on things
to look out for.

Cheers, Cameron

On 6/12/2016 3:54 PM, Ben Caradoc-Davies wrote:

Cameron,

in my first test, isohybrid and UEFI support increases the size of the
ISO image by only 411648 bytes.

Kind regards,
Ben.

On 6/12/2016 4:08 PM, Ben Caradoc-Davies wrote:

Angelos,

I think I have a working solution:
https://github.com/OSGeo/OSGeoLive/pull/142

Not yet tested on physical hardware. The ISO should now work after
being written to a raw thumb drive with dd, just like the official
Ubuntu and Lubuntu ISO images.

All of these boot in QEMU:

QEMU test as "cdrom":
$ qemu-system-x86_64 -enable-kvm -m 2048 -cdrom
osgeo-live-nightly-build6-amd64-ab426ef.iso

QEMU test as MBR boot thumb drive (which boot as first hard disk):
$ qemu-system-x86_64 -enable-kvm -m 2048 -hda
osgeo-live-nightly-build6-amd64-ab426ef.iso ^C

QEMU test as UEFI boot thumb drive (OVMF Tianocore UEFI BIOS):
$ qemu-system-x86_64 -enable-kvm -m 2048 -bios /usr/share/ovmf/OVMF.fd
-hda osgeo-live-nightly-build6-amd64-ab426ef.iso

Boot equipment looks good to me:

$ xorriso -indev osgeo-live-nightly-build6-amd64-ab426ef.iso
-report_el_torito plain -report_system_area plain
xorriso 1.4.6 : RockRidge filesystem manipulator, libburnia project.

xorriso : NOTE : Loading ISO image tree from LBA 0
xorriso : UPDATE : 502 nodes read in 1 seconds
xorriso : NOTE : Detected El-Torito boot information which currently
is set to be discarded
Drive current: -indev 'osgeo-live-nightly-build6-amd64-ab426ef.iso'
Media current: stdio file, overwriteable
Media status : is written , is appendable
Boot record  : El Torito , MBR isohybrid cyl-align-off GPT
Media summary: 1 session, 2069246 data blocks, 4041m data, 7489m free
Volume id: 'OSGEOLIVE10'
El Torito catalog  : 164  1
El Torito cat path : /isolinux/boot.cat
El Torito images   :   N  Pltf  B   Emul  Ld_seg  Hdpt Ldsiz
LBA
El Torito boot img :   1  BIOS  y   none  0x  0x00 4 165
El Torito boot img :   2  UEFI  y   none  0x  0x00 4736 185
El Torito img path :   1  /isolinux/isolinux.bin
El Torito img opts :   1  boot-info-table isohybrid-suitable
El Torito img path :   2  /boot/grub/efi.img
System area options: 0x0202
System area summary: MBR isohybrid cyl-align-off GPT
ISO image size/512 : 8276984
Partition offset   : 0
MBR heads per cyl  : 0
MBR secs per head  : 0
MBR partition table:   N Status  TypeStart   Blocks
MBR partition  :   1   0x80  0x000  8278016
MBR partition  :   2   0x00  0xef  740 4736
MBR partition path :   2  /boot/grub/efi.img
GPT:   N  Info
GPT disk GUID  :  c22a598de644cf4ababebbce02526bc1
GPT entry array:  2  128  overlapping
GPT lba range  :  34  8277982  8278015
GPT partition name :   1
490053004f004800790062007200690064002000490053004f00
GPT partname local :   1  ISOHybrid ISO
GPT partition GUID :   1  ddfce2b743e69e439dd9fd1b0859474c
GPT type GUID  :   1  a2a0d0ebe5b9334487c068b6b72699c7
GPT partition flags:   1  0x
GPT start and size :   1  0  8276984
GPT partition name :   2  490053004f00480079006200720069006400
GPT partname local :   2  ISOHybrid
GPT partition GUID :   2  fd17fc2ba0182c4490c1d617372125de
GPT type GUID  :   2  a2a0d0ebe5b9334487c068b6b72699c7
GPT partition flags:   2  0x
GPT start and size :   2  740  4736
GPT partition path :   2  /boot/grub/efi.img

Kind regards,
Ben.


On 06/12/16 07:40, Ben Caradoc-Davies wrote:

Angelos,

I will see if I can get 

Re: [Live-demo] ISO not isohybrid, lacks UEFI support

2016-12-06 Thread Ben Caradoc-Davies

Brian,

this fix simply added a new argument to genisoimage (mkisofs), plus an 
isohybrid step. My concern was that there are some distributions of 
genisoimage with good UEFI support (-e option) and some without; even my 
Debian unstable machine lacks this option. Testing confirmed that the 
Ubuntu/Lubuntu 16.04.1 version of genisoimage is a good one so I stuck 
with the tool in use.


I have seen other projects using xorriso to make isohybrid ISO images 
with UEFI support (for example Debian live-wrapper) so I knew we had a 
another option. xorriso seems to be under much more active development 
than any of the genisoimage forks. One xorriso developer helped a 
project using xorriso before even being asked, so in my view, support is 
great.


Kind regards,
Ben.

On 07/12/16 04:45, Brian M Hamlin wrote:

Specifically, I had not seen nor heard of,  GNU xorriso


--
Ben Caradoc-Davies 
Director
Transient Software Limited 
New Zealand
___
Live-demo mailing list
Live-demo@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/live-demo
http://live.osgeo.org
http://wiki.osgeo.org/wiki/Live_GIS_Disc

Re: [Live-demo] ISO not isohybrid, lacks UEFI support

2016-12-06 Thread Angelos Tzotsos

Hi all,

A new build is available including the code from Ben's pull request:
http://aiolos.survey.ntua.gr/gisvm/dev/osgeo-live-nightly-build4-amd64-6875128.iso

Cheers,
Angelos

On 12/06/2016 06:01 PM, Johan Van de Wauw wrote:

If a version is ready, I can test it on a few devices.

On Tue, Dec 6, 2016 at 4:45 PM, Brian M Hamlin  wrote:

  Hi All

   this  line of build steps looks promising .. my own small investigations 
into the UEFI boot process raised more questions than answers, so I am grateful 
to see a new set of resources applied to the problem.

   Specifically, I had not seen nor heard of,  GNU xorriso, and  I had not gone 
through Ticket #1761 in detail.

   great news, and I will make time to test a bit soon
   best from Berkeley, California
--Brian


  On Tue, 6 Dec 2016 20:55:17 +1100, Cameron Shorter  wrote:

Sounds promising Ben.

Looks like size won't be an issue with what you are proposing.

I'd be interested to hear if Brian has any comments. Brian has burned a
lot of USBs for prior conferences and might have some feedback on things
to look out for.

Cheers, Cameron

On 6/12/2016 3:54 PM, Ben Caradoc-Davies wrote:

Cameron,

in my first test, isohybrid and UEFI support increases the size of the
ISO image by only 411648 bytes.

Kind regards,
Ben.

On 6/12/2016 4:08 PM, Ben Caradoc-Davies wrote:

Angelos,

I think I have a working solution:
https://github.com/OSGeo/OSGeoLive/pull/142

Not yet tested on physical hardware. The ISO should now work after
being written to a raw thumb drive with dd, just like the official
Ubuntu and Lubuntu ISO images.

All of these boot in QEMU:

QEMU test as "cdrom":
$ qemu-system-x86_64 -enable-kvm -m 2048 -cdrom
osgeo-live-nightly-build6-amd64-ab426ef.iso

QEMU test as MBR boot thumb drive (which boot as first hard disk):
$ qemu-system-x86_64 -enable-kvm -m 2048 -hda
osgeo-live-nightly-build6-amd64-ab426ef.iso ^C

QEMU test as UEFI boot thumb drive (OVMF Tianocore UEFI BIOS):
$ qemu-system-x86_64 -enable-kvm -m 2048 -bios /usr/share/ovmf/OVMF.fd
-hda osgeo-live-nightly-build6-amd64-ab426ef.iso

Boot equipment looks good to me:

$ xorriso -indev osgeo-live-nightly-build6-amd64-ab426ef.iso
-report_el_torito plain -report_system_area plain
xorriso 1.4.6 : RockRidge filesystem manipulator, libburnia project.

xorriso : NOTE : Loading ISO image tree from LBA 0
xorriso : UPDATE : 502 nodes read in 1 seconds
xorriso : NOTE : Detected El-Torito boot information which currently
is set to be discarded
Drive current: -indev 'osgeo-live-nightly-build6-amd64-ab426ef.iso'
Media current: stdio file, overwriteable
Media status : is written , is appendable
Boot record  : El Torito , MBR isohybrid cyl-align-off GPT
Media summary: 1 session, 2069246 data blocks, 4041m data, 7489m free
Volume id: 'OSGEOLIVE10'
El Torito catalog  : 164  1
El Torito cat path : /isolinux/boot.cat
El Torito images   :   N  Pltf  B   Emul  Ld_seg  Hdpt Ldsiz LBA
El Torito boot img :   1  BIOS  y   none  0x  0x00 4 165
El Torito boot img :   2  UEFI  y   none  0x  0x00 4736 185
El Torito img path :   1  /isolinux/isolinux.bin
El Torito img opts :   1  boot-info-table isohybrid-suitable
El Torito img path :   2  /boot/grub/efi.img
System area options: 0x0202
System area summary: MBR isohybrid cyl-align-off GPT
ISO image size/512 : 8276984
Partition offset   : 0
MBR heads per cyl  : 0
MBR secs per head  : 0
MBR partition table:   N Status  TypeStart   Blocks
MBR partition  :   1   0x80  0x000  8278016
MBR partition  :   2   0x00  0xef  740 4736
MBR partition path :   2  /boot/grub/efi.img
GPT:   N  Info
GPT disk GUID  :  c22a598de644cf4ababebbce02526bc1
GPT entry array:  2  128  overlapping
GPT lba range  :  34  8277982  8278015
GPT partition name :   1
490053004f004800790062007200690064002000490053004f00
GPT partname local :   1  ISOHybrid ISO
GPT partition GUID :   1  ddfce2b743e69e439dd9fd1b0859474c
GPT type GUID  :   1  a2a0d0ebe5b9334487c068b6b72699c7
GPT partition flags:   1  0x
GPT start and size :   1  0  8276984
GPT partition name :   2  490053004f00480079006200720069006400
GPT partname local :   2  ISOHybrid
GPT partition GUID :   2  fd17fc2ba0182c4490c1d617372125de
GPT type GUID  :   2  a2a0d0ebe5b9334487c068b6b72699c7
GPT partition flags:   2  0x
GPT start and size :   2  740  4736
GPT partition path :   2  /boot/grub/efi.img

Kind regards,
Ben.


On 06/12/16 07:40, Ben Caradoc-Davies wrote:

Angelos,

I will see if I can get genisoimage+isohybrid to work. If not, I will
try xorriso, which seems to be under more active development.

Kind regards,
Ben.

On 04/12/16 23:22, Angelos Tzotsos wrote:

Hi Ben,

It is a known fact that Ubuntu has switched its build process closer to
the Debian iso build process.
I contacted several Ubuntu developers (specifically those who are
responsible for the iso 

Re: [Live-demo] ISO not isohybrid, lacks UEFI support

2016-12-06 Thread Johan Van de Wauw
If a version is ready, I can test it on a few devices.

On Tue, Dec 6, 2016 at 4:45 PM, Brian M Hamlin  wrote:
>
>  Hi All
>
>   this  line of build steps looks promising .. my own small investigations 
> into the UEFI boot process raised more questions than answers, so I am 
> grateful to see a new set of resources applied to the problem.
>
>   Specifically, I had not seen nor heard of,  GNU xorriso, and  I had not 
> gone through Ticket #1761 in detail.
>
>   great news, and I will make time to test a bit soon
>   best from Berkeley, California
>--Brian
>
>
>  On Tue, 6 Dec 2016 20:55:17 +1100, Cameron Shorter  wrote:
>
> Sounds promising Ben.
>
> Looks like size won't be an issue with what you are proposing.
>
> I'd be interested to hear if Brian has any comments. Brian has burned a
> lot of USBs for prior conferences and might have some feedback on things
> to look out for.
>
> Cheers, Cameron
>
> On 6/12/2016 3:54 PM, Ben Caradoc-Davies wrote:
>> Cameron,
>>
>> in my first test, isohybrid and UEFI support increases the size of the
>> ISO image by only 411648 bytes.
>>
>> Kind regards,
>> Ben.
> On 6/12/2016 4:08 PM, Ben Caradoc-Davies wrote:
>> Angelos,
>>
>> I think I have a working solution:
>> https://github.com/OSGeo/OSGeoLive/pull/142
>>
>> Not yet tested on physical hardware. The ISO should now work after
>> being written to a raw thumb drive with dd, just like the official
>> Ubuntu and Lubuntu ISO images.
>>
>> All of these boot in QEMU:
>>
>> QEMU test as "cdrom":
>> $ qemu-system-x86_64 -enable-kvm -m 2048 -cdrom
>> osgeo-live-nightly-build6-amd64-ab426ef.iso
>>
>> QEMU test as MBR boot thumb drive (which boot as first hard disk):
>> $ qemu-system-x86_64 -enable-kvm -m 2048 -hda
>> osgeo-live-nightly-build6-amd64-ab426ef.iso ^C
>>
>> QEMU test as UEFI boot thumb drive (OVMF Tianocore UEFI BIOS):
>> $ qemu-system-x86_64 -enable-kvm -m 2048 -bios /usr/share/ovmf/OVMF.fd
>> -hda osgeo-live-nightly-build6-amd64-ab426ef.iso
>>
>> Boot equipment looks good to me:
>>
>> $ xorriso -indev osgeo-live-nightly-build6-amd64-ab426ef.iso
>> -report_el_torito plain -report_system_area plain
>> xorriso 1.4.6 : RockRidge filesystem manipulator, libburnia project.
>>
>> xorriso : NOTE : Loading ISO image tree from LBA 0
>> xorriso : UPDATE : 502 nodes read in 1 seconds
>> xorriso : NOTE : Detected El-Torito boot information which currently
>> is set to be discarded
>> Drive current: -indev 'osgeo-live-nightly-build6-amd64-ab426ef.iso'
>> Media current: stdio file, overwriteable
>> Media status : is written , is appendable
>> Boot record  : El Torito , MBR isohybrid cyl-align-off GPT
>> Media summary: 1 session, 2069246 data blocks, 4041m data, 7489m free
>> Volume id: 'OSGEOLIVE10'
>> El Torito catalog  : 164  1
>> El Torito cat path : /isolinux/boot.cat
>> El Torito images   :   N  Pltf  B   Emul  Ld_seg  Hdpt Ldsiz LBA
>> El Torito boot img :   1  BIOS  y   none  0x  0x00 4 165
>> El Torito boot img :   2  UEFI  y   none  0x  0x00 4736 185
>> El Torito img path :   1  /isolinux/isolinux.bin
>> El Torito img opts :   1  boot-info-table isohybrid-suitable
>> El Torito img path :   2  /boot/grub/efi.img
>> System area options: 0x0202
>> System area summary: MBR isohybrid cyl-align-off GPT
>> ISO image size/512 : 8276984
>> Partition offset   : 0
>> MBR heads per cyl  : 0
>> MBR secs per head  : 0
>> MBR partition table:   N Status  TypeStart   Blocks
>> MBR partition  :   1   0x80  0x000  8278016
>> MBR partition  :   2   0x00  0xef  740 4736
>> MBR partition path :   2  /boot/grub/efi.img
>> GPT:   N  Info
>> GPT disk GUID  :  c22a598de644cf4ababebbce02526bc1
>> GPT entry array:  2  128  overlapping
>> GPT lba range  :  34  8277982  8278015
>> GPT partition name :   1
>> 490053004f004800790062007200690064002000490053004f00
>> GPT partname local :   1  ISOHybrid ISO
>> GPT partition GUID :   1  ddfce2b743e69e439dd9fd1b0859474c
>> GPT type GUID  :   1  a2a0d0ebe5b9334487c068b6b72699c7
>> GPT partition flags:   1  0x
>> GPT start and size :   1  0  8276984
>> GPT partition name :   2  490053004f00480079006200720069006400
>> GPT partname local :   2  ISOHybrid
>> GPT partition GUID :   2  fd17fc2ba0182c4490c1d617372125de
>> GPT type GUID  :   2  a2a0d0ebe5b9334487c068b6b72699c7
>> GPT partition flags:   2  0x
>> GPT start and size :   2  740  4736
>> GPT partition path :   2  /boot/grub/efi.img
>>
>> Kind regards,
>> Ben.
>>
>>
>> On 06/12/16 07:40, Ben Caradoc-Davies wrote:
>>> Angelos,
>>>
>>> I will see if I can get genisoimage+isohybrid to work. If not, I will
>>> try xorriso, which seems to be under more active development.
>>>
>>> Kind regards,
>>> Ben.
>>>
>>> On 04/12/16 23:22, Angelos Tzotsos wrote:
 Hi Ben,

 It is a known fact that Ubuntu has switched its build process closer to
 the Debian 

Re: [Live-demo] ISO not isohybrid, lacks UEFI support

2016-12-06 Thread Cameron Shorter

Sounds promising Ben.

Looks like size won't be an issue with what you are proposing.

I'd be interested to hear if Brian has any comments. Brian has burned a 
lot of USBs for prior conferences and might have some feedback on things 
to look out for.


Cheers, Cameron

On 6/12/2016 3:54 PM, Ben Caradoc-Davies wrote:

Cameron,

in my first test, isohybrid and UEFI support increases the size of the 
ISO image by only 411648 bytes.


Kind regards,
Ben. 

On 6/12/2016 4:08 PM, Ben Caradoc-Davies wrote:

Angelos,

I think I have a working solution:
https://github.com/OSGeo/OSGeoLive/pull/142

Not yet tested on physical hardware. The ISO should now work after 
being written to a raw thumb drive with dd, just like the official 
Ubuntu and Lubuntu ISO images.


All of these boot in QEMU:

QEMU test as "cdrom":
$ qemu-system-x86_64 -enable-kvm -m 2048 -cdrom 
osgeo-live-nightly-build6-amd64-ab426ef.iso


QEMU test as MBR boot thumb drive (which boot as first hard disk):
$ qemu-system-x86_64 -enable-kvm -m 2048 -hda 
osgeo-live-nightly-build6-amd64-ab426ef.iso ^C


QEMU test as UEFI boot thumb drive (OVMF Tianocore UEFI BIOS):
$ qemu-system-x86_64 -enable-kvm -m 2048 -bios /usr/share/ovmf/OVMF.fd 
-hda osgeo-live-nightly-build6-amd64-ab426ef.iso


Boot equipment looks good to me:

$ xorriso -indev osgeo-live-nightly-build6-amd64-ab426ef.iso 
-report_el_torito plain -report_system_area plain

xorriso 1.4.6 : RockRidge filesystem manipulator, libburnia project.

xorriso : NOTE : Loading ISO image tree from LBA 0
xorriso : UPDATE : 502 nodes read in 1 seconds
xorriso : NOTE : Detected El-Torito boot information which currently 
is set to be discarded

Drive current: -indev 'osgeo-live-nightly-build6-amd64-ab426ef.iso'
Media current: stdio file, overwriteable
Media status : is written , is appendable
Boot record  : El Torito , MBR isohybrid cyl-align-off GPT
Media summary: 1 session, 2069246 data blocks, 4041m data, 7489m free
Volume id: 'OSGEOLIVE10'
El Torito catalog  : 164  1
El Torito cat path : /isolinux/boot.cat
El Torito images   :   N  Pltf  B   Emul  Ld_seg  Hdpt Ldsiz LBA
El Torito boot img :   1  BIOS  y   none  0x  0x00 4 165
El Torito boot img :   2  UEFI  y   none  0x  0x00 4736 185
El Torito img path :   1  /isolinux/isolinux.bin
El Torito img opts :   1  boot-info-table isohybrid-suitable
El Torito img path :   2  /boot/grub/efi.img
System area options: 0x0202
System area summary: MBR isohybrid cyl-align-off GPT
ISO image size/512 : 8276984
Partition offset   : 0
MBR heads per cyl  : 0
MBR secs per head  : 0
MBR partition table:   N Status  TypeStart   Blocks
MBR partition  :   1   0x80  0x000  8278016
MBR partition  :   2   0x00  0xef  740 4736
MBR partition path :   2  /boot/grub/efi.img
GPT:   N  Info
GPT disk GUID  :  c22a598de644cf4ababebbce02526bc1
GPT entry array:  2  128  overlapping
GPT lba range  :  34  8277982  8278015
GPT partition name :   1 
490053004f004800790062007200690064002000490053004f00

GPT partname local :   1  ISOHybrid ISO
GPT partition GUID :   1  ddfce2b743e69e439dd9fd1b0859474c
GPT type GUID  :   1  a2a0d0ebe5b9334487c068b6b72699c7
GPT partition flags:   1  0x
GPT start and size :   1  0  8276984
GPT partition name :   2  490053004f00480079006200720069006400
GPT partname local :   2  ISOHybrid
GPT partition GUID :   2  fd17fc2ba0182c4490c1d617372125de
GPT type GUID  :   2  a2a0d0ebe5b9334487c068b6b72699c7
GPT partition flags:   2  0x
GPT start and size :   2  740  4736
GPT partition path :   2  /boot/grub/efi.img

Kind regards,
Ben.


On 06/12/16 07:40, Ben Caradoc-Davies wrote:

Angelos,

I will see if I can get genisoimage+isohybrid to work. If not, I will
try xorriso, which seems to be under more active development.

Kind regards,
Ben.

On 04/12/16 23:22, Angelos Tzotsos wrote:

Hi Ben,

It is a known fact that Ubuntu has switched its build process closer to
the Debian iso build process.
I contacted several Ubuntu developers (specifically those who are
responsible for the iso creation) during our previous dev cycle. 
Here is

the information gathered back then:
https://trac.osgeo.org/osgeo/ticket/1761

We decided not to switch our build method since this would require too
much effort.

Now what you propose is something that sounds easier than switching to
the new Ubuntu build process.
Can you please make a pull request to include those extra isohybrid
commands?

Cheers,
Angelos

On 12/02/2016 01:16 AM, Ben Caradoc-Davies wrote:

The current ISO image osgeo-live-10.0-amd64.iso is not isohybrid, and
lacks UEFI support. As far as I know, all current official Ubuntu live
images have both. Shipping isohybrid images simplifies USB thumb drive
creation because the ISO can then be written directly to a raw device
with dd without needing any other processing, not to mention
consistency with Ubuntu.

Does anyone 

Re: [Live-demo] ISO not isohybrid, lacks UEFI support

2016-12-05 Thread Ben Caradoc-Davies

Angelos,

I think I have a working solution:
https://github.com/OSGeo/OSGeoLive/pull/142

Not yet tested on physical hardware. The ISO should now work after being 
written to a raw thumb drive with dd, just like the official Ubuntu and 
Lubuntu ISO images.


All of these boot in QEMU:

QEMU test as "cdrom":
$ qemu-system-x86_64 -enable-kvm -m 2048 -cdrom 
osgeo-live-nightly-build6-amd64-ab426ef.iso


QEMU test as MBR boot thumb drive (which boot as first hard disk):
$ qemu-system-x86_64 -enable-kvm -m 2048 -hda 
osgeo-live-nightly-build6-amd64-ab426ef.iso ^C


QEMU test as UEFI boot thumb drive (OVMF Tianocore UEFI BIOS):
$ qemu-system-x86_64 -enable-kvm -m 2048 -bios /usr/share/ovmf/OVMF.fd 
-hda osgeo-live-nightly-build6-amd64-ab426ef.iso


Boot equipment looks good to me:

$ xorriso -indev osgeo-live-nightly-build6-amd64-ab426ef.iso 
-report_el_torito plain -report_system_area plain

xorriso 1.4.6 : RockRidge filesystem manipulator, libburnia project.

xorriso : NOTE : Loading ISO image tree from LBA 0
xorriso : UPDATE : 502 nodes read in 1 seconds
xorriso : NOTE : Detected El-Torito boot information which currently is 
set to be discarded

Drive current: -indev 'osgeo-live-nightly-build6-amd64-ab426ef.iso'
Media current: stdio file, overwriteable
Media status : is written , is appendable
Boot record  : El Torito , MBR isohybrid cyl-align-off GPT
Media summary: 1 session, 2069246 data blocks, 4041m data, 7489m free
Volume id: 'OSGEOLIVE10'
El Torito catalog  : 164  1
El Torito cat path : /isolinux/boot.cat
El Torito images   :   N  Pltf  B   Emul  Ld_seg  Hdpt  Ldsiz LBA
El Torito boot img :   1  BIOS  y   none  0x  0x00  4 165
El Torito boot img :   2  UEFI  y   none  0x  0x00   4736 185
El Torito img path :   1  /isolinux/isolinux.bin
El Torito img opts :   1  boot-info-table isohybrid-suitable
El Torito img path :   2  /boot/grub/efi.img
System area options: 0x0202
System area summary: MBR isohybrid cyl-align-off GPT
ISO image size/512 : 8276984
Partition offset   : 0
MBR heads per cyl  : 0
MBR secs per head  : 0
MBR partition table:   N Status  TypeStart   Blocks
MBR partition  :   1   0x80  0x000  8278016
MBR partition  :   2   0x00  0xef  740 4736
MBR partition path :   2  /boot/grub/efi.img
GPT:   N  Info
GPT disk GUID  :  c22a598de644cf4ababebbce02526bc1
GPT entry array:  2  128  overlapping
GPT lba range  :  34  8277982  8278015
GPT partition name :   1 
490053004f004800790062007200690064002000490053004f00

GPT partname local :   1  ISOHybrid ISO
GPT partition GUID :   1  ddfce2b743e69e439dd9fd1b0859474c
GPT type GUID  :   1  a2a0d0ebe5b9334487c068b6b72699c7
GPT partition flags:   1  0x
GPT start and size :   1  0  8276984
GPT partition name :   2  490053004f00480079006200720069006400
GPT partname local :   2  ISOHybrid
GPT partition GUID :   2  fd17fc2ba0182c4490c1d617372125de
GPT type GUID  :   2  a2a0d0ebe5b9334487c068b6b72699c7
GPT partition flags:   2  0x
GPT start and size :   2  740  4736
GPT partition path :   2  /boot/grub/efi.img

Kind regards,
Ben.


On 06/12/16 07:40, Ben Caradoc-Davies wrote:

Angelos,

I will see if I can get genisoimage+isohybrid to work. If not, I will
try xorriso, which seems to be under more active development.

Kind regards,
Ben.

On 04/12/16 23:22, Angelos Tzotsos wrote:

Hi Ben,

It is a known fact that Ubuntu has switched its build process closer to
the Debian iso build process.
I contacted several Ubuntu developers (specifically those who are
responsible for the iso creation) during our previous dev cycle. Here is
the information gathered back then:
https://trac.osgeo.org/osgeo/ticket/1761

We decided not to switch our build method since this would require too
much effort.

Now what you propose is something that sounds easier than switching to
the new Ubuntu build process.
Can you please make a pull request to include those extra isohybrid
commands?

Cheers,
Angelos

On 12/02/2016 01:16 AM, Ben Caradoc-Davies wrote:

The current ISO image osgeo-live-10.0-amd64.iso is not isohybrid, and
lacks UEFI support. As far as I know, all current official Ubuntu live
images have both. Shipping isohybrid images simplifies USB thumb drive
creation because the ISO can then be written directly to a raw device
with dd without needing any other processing, not to mention
consistency with Ubuntu.

Does anyone object to changing the ISO build process to make isohybrid
images with UEFI support? This should a matter of a few additional
xorriso arguments.


The current ISO is suitable for MBR isohybrid but lacks UEFI support:

$ isohybrid -u osgeo-live-10.0-amd64.iso
isohybrid: osgeo-live-10.0-amd64.iso: unable to find efi image


The existing boot equipment of the ISO contains only MBR support:

$ xorriso -indev osgeo-live-10.0-amd64.iso -report_el_torito plain
-report_system_area plain
xorriso 1.4.6 : 

Re: [Live-demo] ISO not isohybrid, lacks UEFI support

2016-12-05 Thread Ben Caradoc-Davies

Cameron,

in my first test, isohybrid and UEFI support increases the size of the 
ISO image by only 411648 bytes.


Kind regards,
Ben.

On 06/12/16 07:25, Ben Caradoc-Davies wrote:

Cameron,

I expect that the additional boot equipment will increase the size of
the ISO by a only a small amount. Do we need to add these packages to
the final ISO? I will test and report back.

Kind regards,
Ben.

On 04/12/16 22:12, Cameron Shorter wrote:

Hi Ben,

Your proposal sounds like a good idea, although I have to confess that I
don't know enough about building USBs contribute in a meaningful way to
the discussion.

Are you able to confirm that adding these extra packages will not add
much size to the final OSGeo-Live ISO?

And that there is not likely to be any adverse side effects by the
additions?

I'd be interested to hear if Angelos has an opinion on this.

Warm regards, Cameron


On 2/12/2016 10:16 AM, Ben Caradoc-Davies wrote:

The current ISO image osgeo-live-10.0-amd64.iso is not isohybrid, and
lacks UEFI support. As far as I know, all current official Ubuntu live
images have both. Shipping isohybrid images simplifies USB thumb drive
creation because the ISO can then be written directly to a raw device
with dd without needing any other processing, not to mention
consistency with Ubuntu.

Does anyone object to changing the ISO build process to make isohybrid
images with UEFI support? This should a matter of a few additional
xorriso arguments.


The current ISO is suitable for MBR isohybrid but lacks UEFI support:

$ isohybrid -u osgeo-live-10.0-amd64.iso
isohybrid: osgeo-live-10.0-amd64.iso: unable to find efi image


The existing boot equipment of the ISO contains only MBR support:

$ xorriso -indev osgeo-live-10.0-amd64.iso -report_el_torito plain
-report_system_area plain
xorriso 1.4.6 : RockRidge filesystem manipulator, libburnia project.

xorriso : NOTE : Loading ISO image tree from LBA 0
xorriso : UPDATE : 502 nodes read in 1 seconds
xorriso : NOTE : Detected El-Torito boot information which currently
is set to be discarded
Drive current: -indev 'osgeo-live-10.0-amd64.iso'
Media current: stdio file, overwriteable
Media status : is written , is appendable
Boot record  : El Torito
Media summary: 1 session, 2062470 data blocks, 4028m data, 8267m free
Volume id: 'OSGEOLIVE10'
El Torito catalog  : 164  1
El Torito cat path : /isolinux/boot.cat
El Torito images   :   N  Pltf  B   Emul  Ld_seg  Hdpt Ldsiz LBA
El Torito boot img :   1  BIOS  y   none  0x  0x00 4 165
El Torito img path :   1  /isolinux/isolinux.bin
El Torito img opts :   1  boot-info-table isohybrid-suitable
xorriso : NOTE : No System Area was loaded


Kind regards,







--
Ben Caradoc-Davies 
Director
Transient Software Limited 
New Zealand
___
Live-demo mailing list
Live-demo@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/live-demo
http://live.osgeo.org
http://wiki.osgeo.org/wiki/Live_GIS_Disc

Re: [Live-demo] ISO not isohybrid, lacks UEFI support

2016-12-05 Thread Ben Caradoc-Davies

Angelos,

I will see if I can get genisoimage+isohybrid to work. If not, I will 
try xorriso, which seems to be under more active development.


Kind regards,
Ben.

On 04/12/16 23:22, Angelos Tzotsos wrote:

Hi Ben,

It is a known fact that Ubuntu has switched its build process closer to
the Debian iso build process.
I contacted several Ubuntu developers (specifically those who are
responsible for the iso creation) during our previous dev cycle. Here is
the information gathered back then:
https://trac.osgeo.org/osgeo/ticket/1761

We decided not to switch our build method since this would require too
much effort.

Now what you propose is something that sounds easier than switching to
the new Ubuntu build process.
Can you please make a pull request to include those extra isohybrid
commands?

Cheers,
Angelos

On 12/02/2016 01:16 AM, Ben Caradoc-Davies wrote:

The current ISO image osgeo-live-10.0-amd64.iso is not isohybrid, and
lacks UEFI support. As far as I know, all current official Ubuntu live
images have both. Shipping isohybrid images simplifies USB thumb drive
creation because the ISO can then be written directly to a raw device
with dd without needing any other processing, not to mention
consistency with Ubuntu.

Does anyone object to changing the ISO build process to make isohybrid
images with UEFI support? This should a matter of a few additional
xorriso arguments.


The current ISO is suitable for MBR isohybrid but lacks UEFI support:

$ isohybrid -u osgeo-live-10.0-amd64.iso
isohybrid: osgeo-live-10.0-amd64.iso: unable to find efi image


The existing boot equipment of the ISO contains only MBR support:

$ xorriso -indev osgeo-live-10.0-amd64.iso -report_el_torito plain
-report_system_area plain
xorriso 1.4.6 : RockRidge filesystem manipulator, libburnia project.

xorriso : NOTE : Loading ISO image tree from LBA 0
xorriso : UPDATE : 502 nodes read in 1 seconds
xorriso : NOTE : Detected El-Torito boot information which currently
is set to be discarded
Drive current: -indev 'osgeo-live-10.0-amd64.iso'
Media current: stdio file, overwriteable
Media status : is written , is appendable
Boot record  : El Torito
Media summary: 1 session, 2062470 data blocks, 4028m data, 8267m free
Volume id: 'OSGEOLIVE10'
El Torito catalog  : 164  1
El Torito cat path : /isolinux/boot.cat
El Torito images   :   N  Pltf  B   Emul  Ld_seg  Hdpt Ldsiz LBA
El Torito boot img :   1  BIOS  y   none  0x  0x00 4 165
El Torito img path :   1  /isolinux/isolinux.bin
El Torito img opts :   1  boot-info-table isohybrid-suitable
xorriso : NOTE : No System Area was loaded


Kind regards,






--
Ben Caradoc-Davies 
Director
Transient Software Limited 
New Zealand
___
Live-demo mailing list
Live-demo@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/live-demo
http://live.osgeo.org
http://wiki.osgeo.org/wiki/Live_GIS_Disc

Re: [Live-demo] ISO not isohybrid, lacks UEFI support

2016-12-05 Thread Ben Caradoc-Davies

Cameron,

I expect that the additional boot equipment will increase the size of 
the ISO by a only a small amount. Do we need to add these packages to 
the final ISO? I will test and report back.


Kind regards,
Ben.

On 04/12/16 22:12, Cameron Shorter wrote:

Hi Ben,

Your proposal sounds like a good idea, although I have to confess that I
don't know enough about building USBs contribute in a meaningful way to
the discussion.

Are you able to confirm that adding these extra packages will not add
much size to the final OSGeo-Live ISO?

And that there is not likely to be any adverse side effects by the
additions?

I'd be interested to hear if Angelos has an opinion on this.

Warm regards, Cameron


On 2/12/2016 10:16 AM, Ben Caradoc-Davies wrote:

The current ISO image osgeo-live-10.0-amd64.iso is not isohybrid, and
lacks UEFI support. As far as I know, all current official Ubuntu live
images have both. Shipping isohybrid images simplifies USB thumb drive
creation because the ISO can then be written directly to a raw device
with dd without needing any other processing, not to mention
consistency with Ubuntu.

Does anyone object to changing the ISO build process to make isohybrid
images with UEFI support? This should a matter of a few additional
xorriso arguments.


The current ISO is suitable for MBR isohybrid but lacks UEFI support:

$ isohybrid -u osgeo-live-10.0-amd64.iso
isohybrid: osgeo-live-10.0-amd64.iso: unable to find efi image


The existing boot equipment of the ISO contains only MBR support:

$ xorriso -indev osgeo-live-10.0-amd64.iso -report_el_torito plain
-report_system_area plain
xorriso 1.4.6 : RockRidge filesystem manipulator, libburnia project.

xorriso : NOTE : Loading ISO image tree from LBA 0
xorriso : UPDATE : 502 nodes read in 1 seconds
xorriso : NOTE : Detected El-Torito boot information which currently
is set to be discarded
Drive current: -indev 'osgeo-live-10.0-amd64.iso'
Media current: stdio file, overwriteable
Media status : is written , is appendable
Boot record  : El Torito
Media summary: 1 session, 2062470 data blocks, 4028m data, 8267m free
Volume id: 'OSGEOLIVE10'
El Torito catalog  : 164  1
El Torito cat path : /isolinux/boot.cat
El Torito images   :   N  Pltf  B   Emul  Ld_seg  Hdpt Ldsiz LBA
El Torito boot img :   1  BIOS  y   none  0x  0x00 4 165
El Torito img path :   1  /isolinux/isolinux.bin
El Torito img opts :   1  boot-info-table isohybrid-suitable
xorriso : NOTE : No System Area was loaded


Kind regards,





--
Ben Caradoc-Davies 
Director
Transient Software Limited 
New Zealand
___
Live-demo mailing list
Live-demo@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/live-demo
http://live.osgeo.org
http://wiki.osgeo.org/wiki/Live_GIS_Disc