root (hd0,0)
makeactive
chainloader --force +1
boot
But grub 2 is different.
https://www.linux.com/learn/how-rescue-non-booting-grub-2-Linux
grub> set root=(hd0,1)
grub> linux /vmlinuz root=/dev/sda1
grub> initrd /initrd.img
grub> boot
set prefix=(hd1,1)/grub
set root=(hd1,1)
insmod normal
normal
https://www.aioboot.com/en/boot-windows-grub2/
from grub rescue prompt,
search -s root -f /NTDETECT.COM
drivemap -s hd0 $root
ntldr /ntldr
boot
https://www.gnu.org/software/grub/manual/grub/grub.html#DOS_002fWindows
parttool (hd0,1) hidden-
parttool (hd0,2) hidden+
set root=(hd0,1)
chainloader +1
parttool ${root} boot+
boot
https://www.aioboot.com/en/boot-windows-grub2/
http://forums.justlinux.com/showthread.php?153121-Fun-with-GPT-partitioning
No comments:
Post a Comment