I was not smart, I admit.
To make a very low level backup of my laptop prior to upgrading it, I decided to create an iso of the harddisk; while it is doing this, but a bit too far to just cancel and start anew, so I cannot test it out right now I decided to post here.
What I did:
Code:
dd if=/dev/sda of=/media/external-hdd/laptop-backup.iso bs=4M
(don't ask why I did 4M as blocksize, call it lack of coffee)
of course, there are partitions on /dev/sda (there's a swap for example)
I may (am pretty damn sure I will) want to access the files within the iso, and that's where I wonder how to tackle that;
I'm thinking along the lines of setting up a loopback device (losetup) but I don't think that that will be enough to recognize the partitions. Any thoughts? (or just re-create an image of /dev/sda1 ?)