[Buildroot] Using buildroot images (iso/ext2) in real target device (flash drive)
Arnout Vandecappelle
arnout at mind.be
Fri Mar 2 23:00:01 UTC 2012
On Thursday 01 March 2012 16:59:21 Thomas Petazzoni wrote:
> You need to run grub so that it installs itself on your /dev/sdc
> device. Something like:
>
> printf "device (hd0) /dev/sdc\nroot (hd0,0)\nsetup (hd0)\nquit\n" | output/staging/sbin/grub --device-map=/dev/null --no-floppy
>
> Let us know if that works. We should certainly extend the documentation
> with more details about this.
It probably won't work if your target is uclibc-based (unless your host
happens to be uclibc-based as well :-). You'd need a host-grub to get
that right. I tried to do that half a year ago, but it wasn't so easy -
unfortunately I don't remember why not. Could be a problem with 32/64 bit.
Or with ccache.
Regards,
Arnout
--
Arnout Vandecappelle arnout at mind be
Senior Embedded Software Architect +32-16-286540
Essensium/Mind http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint: 7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F
More information about the buildroot
mailing list