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 bold "GRUB" and blinking curser. No key responce.

My codes:

grub-mkimage -p=(hd0,msdos9)/boot --target=i386-pc -o core.img biosdisk minicmd part_msdos terminal ntfs ext2 copy boot.img test.mbr dd 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.


Found answer to my own question.I had to use lnxboot instead of boot. Because it is made to read core next to it while boot needs cores location hardcoded into it even it is next to it

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.