mirror of
https://github.com/bin456789/reinstall.git
synced 2026-10-04 14:37:45 +08:00
windows: preload bios grub modules (#634)
Co-authored-by: Cursor <[email protected]>
This commit is contained in:
@@ -7956,6 +7956,8 @@ EOF
|
|||||||
cat <<EOF >"$(get_path_in_correct_case /os/boot/grub/grub.cfg)"
|
cat <<EOF >"$(get_path_in_correct_case /os/boot/grub/grub.cfg)"
|
||||||
set timeout=5
|
set timeout=5
|
||||||
menuentry "reinstall" {
|
menuentry "reinstall" {
|
||||||
|
insmod search
|
||||||
|
insmod ntldr
|
||||||
search --no-floppy --label --set=root os
|
search --no-floppy --label --set=root os
|
||||||
ntldr /$(cd /os && get_path_in_correct_case bootmgr)
|
ntldr /$(cd /os && get_path_in_correct_case bootmgr)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user