Sorry, couldn't think of a better title :/
I'm doing some work porting a custom distro over to a new init system and as such I'm constantly rebooting the machine, seeing what happens this time then rebooting into a live CD to make changes, rebuild the initial userspace blah blah. In a moment of genious I made an image of the disk using cat, scp'd that to my main machine and figured I could do my testing in qemu and mount it as a loopback device to make my changes.
The problem is my lack of forethought, I used this command to make my image:
Code:
cat /dev/hdb > /stmp/clinux.loop
hdb had two partitions on it, is there a way I can specify which partition I'm trying to mount or did I hit another wall? Obviously clinux.loop1 & clinux.loop2 won't work
Could I use the offset option to mount? If so, where would I find the values to use?
Any ideas would be very much appreciated