Changes between Version 19 and Version 20 of bootloaders/syslinux


Ignore:
Timestamp:
May 12, 2017, 10:18:07 AM (4 years ago)
Author:
M.N. Akhiezer
Comment:

Basic factoring for Bootcode (GPT/MBR).

Legend:

Unmodified
Added
Removed
Modified
  • bootloaders/syslinux

    v19 v20  
    4848dd if=/dev/zero of=/dev/sda bs=446 count=1[[BR]]
    4949
    50 ==== MBR ====
    51 dd bs=440 conv=notrunc count=1 if=/cross-tools/syslinux/mbr.bin of=/dev/sda[[BR]]
    52 
    53 ==== GPT ====
    54 dd bs=440 conv=notrunc count=1 if=/cross-tools/syslinux/gptmbr.bin of=/dev/sda[[BR]]
     50==== Bootcode ====
     51BOOTCODE_TYP='gpt' ;    # 'gpt' (for GPT) or empty-string (for MBR).[[BR]]
     52dd bs=440 conv=notrunc count=1 if=/cross-tools/syslinux/${BOOTCODE_TYP}mbr.bin of=/dev/sda[[BR]]
    5553
    5654Second we will install the Extlinux.sys file for bootup. This is the bootloader.[[BR]]
     
    106104dd if=/dev/zero of=/dev/sda bs=446 count=1[[BR]]
    107105
    108 ==== MBR ====
    109 dd bs=440 conv=notrunc count=1 if=/usr/share/syslinux/mbr.bin of=/dev/sda[[BR]]
    110 
    111 ==== GPT ====
    112 dd bs=440 conv=notrunc count=1 if=/usr/share/syslinux/gptmbr.bin of=/dev/sda[[BR]]
     106==== Bootcode ====
     107BOOTCODE_TYP='gpt' ;    # 'gpt' (for GPT) or empty-string (for MBR).[[BR]]
     108dd bs=440 conv=notrunc count=1 if=/usr/share/syslinux/${BOOTCODE_TYP}mbr.bin of=/dev/sda[[BR]]
    113109
    114110Second we will install the extlinux.sys file for bootup. This is the bootloader.[[BR]]