mirror of
https://github.com/Metabolix/HackBGRT.git
synced 2025-12-06 17:15:42 -08:00
Compare commits
2 Commits
5e9ef85451
...
d40ce9f6c5
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d40ce9f6c5 | ||
|
|
447ff30f61 |
@@ -55,7 +55,7 @@ The *shim* boot loader is maintained by Red Hat, Inc, and the included signed co
|
||||
* `arch=...` – force architecture.
|
||||
* `esp=...` – force EFI System Partition path.
|
||||
* `dry-run` – skip actual changes.
|
||||
* For example, run `setup.exe batch install allow-secure-boot enable-overwrite` to copy files and overwrite the MS boot loader regardless of Secure Boot status.
|
||||
* For example, `setup.exe batch disable install enable-bcdedit` would disable any previous installation, then install the files and create the EFI boot entry with `bcdedit`.
|
||||
|
||||
### Multi-boot configurations
|
||||
|
||||
|
||||
@@ -457,7 +457,7 @@ public class Setup {
|
||||
if (bcdeditEnum.ExitCode != 0) {
|
||||
if (bcdeditEnum.Output != null) {
|
||||
var lines = bcdeditEnum.Output.Split("\n".ToCharArray());
|
||||
var lastLine = lines.Select(s => s != "").Last();
|
||||
var lastLine = lines.Where(s => s != "").Last();
|
||||
WriteLine($"BCDEdit failed with: {lastLine}");
|
||||
}
|
||||
WriteLine("BCDEdit failed. See README for further information.");
|
||||
|
||||
Reference in New Issue
Block a user