So I have a 512MB flash chip used in an embedded system with the following partition table:
p1: 32MB boot partition p2: 200MB recovery partition p3: 200MB normal partition
I'm using buildroot on my ubuntu (development) box to compile the 200MB ext2 image for the "normal" parition. At this point on my dev box I dd the image created from buildroot to the flash chip (plugged in with an ide to usb connector on /dev/sdd):
dd if=./output/images/rootfs.ext2 of=/dev/sdd3
OK, fine this works and I can mount /dev/sdd3 and see the entire filesystem that the embedded device will use.
Now, I want to install grub on this flash chip and am lost on how to do this. I've tried:
But when I plug the flash chip into my embedded device and turn it on, grub won't load (just sits at a black screen with blinking cursor--no error).