mirror of
https://github.com/grub4dos/ntloader.git
synced 2025-05-10 12:31:31 +08:00
update readme
This commit is contained in:
parent
2fd9f77f2e
commit
cedc09d218
2
Makefile
2
Makefile
@ -1,4 +1,4 @@
|
|||||||
VERSION := v1.0.1
|
VERSION := v1.0.2
|
||||||
OBJECTS := prefix.o startup.o callback.o vsprintf.o string.o
|
OBJECTS := prefix.o startup.o callback.o vsprintf.o string.o
|
||||||
OBJECTS += int13.o vdisk.o cpio.o stdio.o misc.o efimain.o
|
OBJECTS += int13.o vdisk.o cpio.o stdio.o misc.o efimain.o
|
||||||
OBJECTS += efiblock.o cmdline.o peloader.o main.o efidisk.o
|
OBJECTS += efiblock.o cmdline.o peloader.o main.o efidisk.o
|
||||||
|
32
README.md
32
README.md
@ -22,7 +22,7 @@
|
|||||||
```
|
```
|
||||||
title Boot Windows NT6+ PE
|
title Boot Windows NT6+ PE
|
||||||
uuid (hdx,y)
|
uuid (hdx,y)
|
||||||
kernel /ntloader uuid=%?% file=/path/to/winpe.wim
|
kernel /ntloader uuid=%?_UUID% file=/path/to/winpe.wim
|
||||||
initrd /initrd.lz1
|
initrd /initrd.lz1
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -61,7 +61,7 @@ menuentry "Boot Windows NT6+ PE" {
|
|||||||
```
|
```
|
||||||
title Boot Windows NT6+ PE
|
title Boot Windows NT6+ PE
|
||||||
uuid (hdx,y)
|
uuid (hdx,y)
|
||||||
kernel /ntloader uuid=%?%
|
kernel /ntloader uuid=%?_UUID%
|
||||||
initrd /initrd.lz1
|
initrd /initrd.lz1
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -96,6 +96,34 @@ menuentry "Boot Windows NT6+ PE" {
|
|||||||
|
|
||||||
### Advanced options
|
### Advanced options
|
||||||
|
|
||||||
|
- Enable *Test Signing* mode
|
||||||
|
```
|
||||||
|
kernel /ntloader uuid=%?% file=/xxx.vhd testmode=1
|
||||||
|
```
|
||||||
|
- Use the highest graphical resolution
|
||||||
|
```
|
||||||
|
kernel /ntloader uuid=%?% file=/xxx.wim hires=1
|
||||||
|
```
|
||||||
|
- Configure *Physical Address Extension* (PAE)
|
||||||
|
```
|
||||||
|
kernel /ntloader uuid=%?% pae=Enable|Disable|Default
|
||||||
|
```
|
||||||
|
- Configure *Data Execution Prevention* (DEP)
|
||||||
|
```
|
||||||
|
kernel /ntloader uuid=%?% nx=OptIn|OptOut|AlwaysOff|AlwaysOn
|
||||||
|
```
|
||||||
|
- Set Windows load options
|
||||||
|
```
|
||||||
|
kernel /ntloader uuid=%?% file=/xxx.vhd loadopt=XXX
|
||||||
|
```
|
||||||
|
- Specify the path of `winload.exe` or `winload.efi`
|
||||||
|
```
|
||||||
|
kernel /ntloader uuid=%?% winload=\\Windows\\System32\\winload.efi
|
||||||
|
```
|
||||||
|
- Specify system root
|
||||||
|
```
|
||||||
|
kernel /ntloader uuid=%?% file=/xxx.vhd sysroot=\\Windows
|
||||||
|
```
|
||||||
- Disable debug messages
|
- Disable debug messages
|
||||||
You can disable debug messages by using the 'quiet' command-line option.
|
You can disable debug messages by using the 'quiet' command-line option.
|
||||||
For example:
|
For example:
|
||||||
|
@ -270,6 +270,10 @@ void efi_linuxentry (EFI_HANDLE image_handle, EFI_SYSTEM_TABLE *systab,
|
|||||||
|
|
||||||
efi_image_handle = image_handle;
|
efi_image_handle = image_handle;
|
||||||
efi_systab = systab;
|
efi_systab = systab;
|
||||||
|
|
||||||
|
/* Initialise stack cookie */
|
||||||
|
init_cookie ();
|
||||||
|
|
||||||
/* Print welcome banner */
|
/* Print welcome banner */
|
||||||
print_banner ();
|
print_banner ();
|
||||||
DBG ("type: linuxefi\n");
|
DBG ("type: linuxefi\n");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user