Skip to content

Commit b402baa

Browse files
committed
update README
1 parent b10ef2e commit b402baa

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ Extract `ntloader` and `initrd.cpio` onto the disk, and modify the bootloader me
2020
```
2121
# GRUB 2 (>= 2.12)
2222
menuentry "Boot Windows NT6+ WIM" {
23-
search -s --f /path/to/ntloader
24-
search -s dev --f /path/to/winpe.wim
23+
search -s -f /path/to/ntloader
24+
search -s dev -f /path/to/winpe.wim
2525
probe -s dev_uuid -u $dev
2626
if [ "${grub_platform}" = "efi" ]; then
2727
linux /path/to/ntloader uuid=${dev_uuid} wim=/path/to/winpe.wim
@@ -33,8 +33,8 @@ menuentry "Boot Windows NT6+ WIM" {
3333
}
3434
3535
menuentry "Boot Windows NT6+ VHD/VHDx" {
36-
search -s --f /path/to/ntloader
37-
search -s dev --f /path/to/windows.vhd
36+
search -s -f /path/to/ntloader
37+
search -s dev -f /path/to/windows.vhd
3838
probe -s dev_uuid -u $dev
3939
if [ "${grub_platform}" = "efi" ]; then
4040
linux /path/to/ntloader uuid=${dev_uuid} vhd=/path/to/windows.vhd
@@ -46,7 +46,7 @@ menuentry "Boot Windows NT6+ VHD/VHDx" {
4646
}
4747
4848
menuentry "Boot Windows NT6+ on (hdx,y)" {
49-
search -s --f /path/to/ntloader
49+
search -s -f /path/to/ntloader
5050
probe -s dev_uuid -u (hdx,y)
5151
if [ "${grub_platform}" = "efi" ]; then
5252
linux /path/to/ntloader uuid=${dev_uuid}

docs/menu.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ Extract `ntloader` and `initrd.cpio` onto the disk, and modify the bootloader me
55
### GRUB 2 (>= 2.12)
66
```
77
menuentry "Boot Windows NT6+ WIM" {
8-
search -s --f /path/to/ntloader
9-
search -s dev --f /path/to/winpe.wim
8+
search -s -f /path/to/ntloader
9+
search -s dev -f /path/to/winpe.wim
1010
probe -s dev_uuid -u $dev
1111
if [ "${grub_platform}" = "efi" ]; then
1212
linux /path/to/ntloader uuid=${dev_uuid} wim=/path/to/winpe.wim
@@ -18,8 +18,8 @@ menuentry "Boot Windows NT6+ WIM" {
1818
}
1919
2020
menuentry "Boot Windows NT6+ VHD/VHDx" {
21-
search -s --f /path/to/ntloader
22-
search -s dev --f /path/to/windows.vhd
21+
search -s -f /path/to/ntloader
22+
search -s dev -f /path/to/windows.vhd
2323
probe -s dev_uuid -u $dev
2424
if [ "${grub_platform}" = "efi" ]; then
2525
linux /path/to/ntloader uuid=${dev_uuid} vhd=/path/to/windows.vhd
@@ -31,7 +31,7 @@ menuentry "Boot Windows NT6+ VHD/VHDx" {
3131
}
3232
3333
menuentry "Boot Windows NT6+ on (hdx,y)" {
34-
search -s --f /path/to/ntloader
34+
search -s -f /path/to/ntloader
3535
probe -s dev_uuid -u (hdx,y)
3636
if [ "${grub_platform}" = "efi" ]; then
3737
linux /path/to/ntloader uuid=${dev_uuid}
@@ -53,8 +53,8 @@ In UEFI, the `chainloader` command should be used to load `ntloader` and pass th
5353

5454
```
5555
menuentry "Boot Windows NT6+ WIM" {
56-
search -s --f /path/to/ntloader
57-
search -s dev --f /path/to/winpe.wim
56+
search -s -f /path/to/ntloader
57+
search -s dev -f /path/to/winpe.wim
5858
probe -s dev_uuid -u $dev
5959
if [ "${grub_platform}" = "efi" ]; then
6060
chainloader /path/to/ntloader initrd=/path/to/initrd.cpio uuid=${dev_uuid} wim=/path/to/winpe.wim

0 commit comments

Comments
 (0)