@@ -5,8 +5,8 @@ Extract `ntloader` and `initrd.cpio` onto the disk, and modify the bootloader me
55### GRUB 2 (>= 2.12)
66```
77menuentry "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
2020menuentry "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
3333menuentry "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```
5555menuentry "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