Quote:
Originally Posted by markotitel
Hi,
Im playing with buildroot educational purpose.
Buildroot created target filesystem, how can I boot into it?
|
1. mount the image on a loop device using losetup.
2. mount the loop device to a directory.
3. chroot /path/to/mounted/loop/directory /bin/su
If you have gotten that far AND have a boot loader in the buildroot environment, then you might be able to write to the boot sector while chroot to get it to boot in qemu.
If the disk image is for another cpu, it's trickier, but the basic idea is you need a disk image with a boot sector and partition info the platform can read and an emulator for that platform. Once you've got that much, rsync the stuff from the buildroot disk image over and try to boot the new disk image.