10 Apr
2013
10 Apr
'13
20:55
I wanted to use the raspberry Image as a chroot environment (for qemu + binfmt-misc). So I collected a couple of helpful tips and Pages from the opensuse WIKI and put them into 2 scripts (attached) that are maybe useful as a starting point for others too: startrootfs: Helper script to chroot into a Root file system (as usual) raspberrypi-opensuse-20121230.start: quick and dirty hack to use the raspberry sd card image (containing 2 partitions) as chroot root file system. When using another version it may be that the offset of the second partition changes (hack alarm). Check partition offset with fdisk -l raspberrypi-opensuse-xxxxxxxx.img One could access the partitions more elegant with kpartx on the loop device. Johannes