… | |
… | |
25 | our $JSON_VERSION = 3; # the version of the json objects generated by this program |
25 | our $JSON_VERSION = 3; # the version of the json objects generated by this program |
26 | |
26 | |
27 | our $CHANGELOG = <<EOF; |
27 | our $CHANGELOG = <<EOF; |
28 | |
28 | |
29 | - work around lsblk bug sometimes giving dos pttype for gpt partitions. |
29 | - work around lsblk bug sometimes giving dos pttype for gpt partitions. |
|
|
30 | - bootmenupolicy in synopsis must be set to 0 for text menu. |
30 | |
31 | |
31 | 1.4 Thu Aug 22 10:48:22 CEST 2019 |
32 | 1.4 Thu Aug 22 10:48:22 CEST 2019 |
32 | - new "create" subcommand. |
33 | - new "create" subcommand. |
33 | - "create" and "edit" try to save and restore ownership/permissions |
34 | - "create" and "edit" try to save and restore ownership/permissions |
34 | of bcd hives when writing the new file. |
35 | of bcd hives when writing the new file. |
… | |
… | |
66 | |
67 | |
67 | pbcdedit objects # list all supported object aliases and types |
68 | pbcdedit objects # list all supported object aliases and types |
68 | pbcdedit elements # list all supported bcd element aliases |
69 | pbcdedit elements # list all supported bcd element aliases |
69 | |
70 | |
70 | # Example: enable text-based boot menu. |
71 | # Example: enable text-based boot menu. |
71 | pbcdedit edit /my/BCD set '{default}' bootmenupolicy 1 |
72 | pbcdedit edit /my/BCD set '{default}' bootmenupolicy 0 |
72 | |
73 | |
73 | # Example change system device to first partition containing winload. |
74 | # Example change system device to first partition containing winload. |
74 | pbcdedit edit /my/BCD \ |
75 | pbcdedit edit /my/BCD \ |
75 | set '{default}' device 'locate=<null>,element,path' \ |
76 | set '{default}' device 'locate=<null>,element,path' \ |
76 | set '{default}' osdevice 'locate=<null>,element,path' |
77 | set '{default}' osdevice 'locate=<null>,element,path' |