I am trying to create portable grub mbr with grub-mkimage to chainload as bootsector from Windows, but when booting I get stuck at a black screen with a bold "GRUB" and a blinking cursor. There's no key response.
My codes:
-mkimage -p=(hd0,msdos9)/boot --target=i386-pc -o core.img biosdisk minicmd part_msdos terminal ntfs ext2
boot.img test.mbr
if=core.img of=test.mbr bs=512 seek=1
I made this work once, but cant remember how. How can I make a grub mbr without Linux.
I used busybox for dd
.
Asked by Riyadh Kabir
(1 rep)
Jul 22, 2020, 05:37 PM
Last activity: Jan 27, 2024, 10:12 PM
Last activity: Jan 27, 2024, 10:12 PM