On 23 Nov 2009, at 19:11, Alex Schuster wrote:
Volker Armin Hemmann writes:
On Montag 23 November 2009, Stroller wrote:
$ fdisk -l sda.dd.img
You must set cylinders.
You can do this from the extra functions menu.
Disk sda.dd.img: 0 MB, 0 bytes
255 heads, 63 sectors/track, 0 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x01890189
Device Boot Start End Blocks Id System
sda.dd.img1 * 1 10010 80405293+ 7 HPFS/NTFS
Partition 1 has different physical/logical endings:
phys=(1023, 254, 63) logical=(10009, 254, 63)
$
$ sudo losetup -o 8225280 /dev/loop0 sda.dd.img
Try -o $(( 63*512 )). 63 is the start sector, you see this when you
enter
the U command in fdisk in order to change the units.
Brilliant! That's it!
Many thanks.
Stroller.