On 09/09/2015 02:56 PM, Carlos E. R. wrote:
Hi,
If I create a full disk image with dd, is it possible to access the single partitions in it?
Perhaps attach a loop device to the image. But then, how do I get access to the partitions inside, separately?
I don't have the image yet, I intend to do it later, while I sleep. But if it is not possible to access the partitions, then perhaps I should do it differently.
- -- Cheers Carlos E. R.
Hi Carlos ! Is it what you want ? : # dd if=/dev/zero of=/home/me/tmp/ex6/file.dat bs=1024 count=50000 50000+0 records in 50000+0 records out 51200000 bytes (51 MB) copied, 0.136642 s, 375 MB/s (create the file) # losetup -f /dev/loop0 (to know the next available loops) # losetup /dev/loopX /home/me/tmp/ex6/file.dat # fdisk /dev/loop0 (here create 2 partitions with fdisk...) LRAF-FGA1:~ # partprobe Here it seems I would need to reboot, which I can't know. Dsant, from France -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org