rockstor / rockstor-iso

scripts and files to create Rockstor iso file
18 stars 10 forks source link

support install with UEFI bios #5

Open schakrava opened 9 years ago

schakrava commented 9 years ago

more details: http://forum.rockstor.com/t/uefi-install-support/391

Lorgne commented 8 years ago

Install ISO of Rockstor shows this:

$ dumpet -i Rockstor-3.8-12.iso
Validation Entry:
        Header Indicator: 0x01 (Validation Entry)
        PlatformId: 0x00 (80x86)
        ID: ""
        Checksum: 0x55aa
        Key bytes: 0x55aa
Boot Catalog Default Entry:
        Entry is bootable
        Boot Media emulation type: no emulation
        Media load segment: 0x0 (0000:7c00)
        System type: 0 (0x00)
        Load Sectors: 4 (0x0004)
        Load LBA: 125 (0x0000007d)

Comparing to CentOS 7 install ISO:

$ dumpet -i CentOS-7-x86_64-Minimal-1503-01.iso
Validation Entry:
        Header Indicator: 0x01 (Validation Entry)
        PlatformId: 0x00 (80x86)
        ID: ""
        Checksum: 0x55aa
        Key bytes: 0x55aa
Boot Catalog Default Entry:
        Entry is bootable
        Boot Media emulation type: no emulation
        Media load segment: 0x0 (0000:7c00)
        System type: 0 (0x00)
        Load Sectors: 4 (0x0004)
        Load LBA: 3296 (0x00000ce0)
Section Header Entry:
        Header Indicator: 0x91 (Final Section Header Entry)
        PlatformId: 0xef (EFI)
        Section Entries: 1
        ID: ""
Boot Catalog Section Entry:
        Entry is bootable
        Boot Media emulation type: no emulation
        Media load address: 0 (0x0000)
        System type: 0 (0x00)
        Load Sectors: 12804 (0x3204)
        Load LBA: 95 (0x0000005f)

As read on the Fedora Wiki, this command could be used to create a bootable ISO for BIOS and UEFI:

$ mkisofs -U -A "MyRockstor" -V "MyRockstor Disc 1" \
    -volset "MyRockstor" -J -joliet-long -r -v -T -x ./lost+found \
    -o ~/MyRockstor/iso/MyRockstor-disc1-dualboot.iso \
    -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 \
    -boot-info-table -eltorito-alt-boot -e images/efiboot.img -no-emul-boot .