On Sun, 2018-04-08 at 14:33 -0400, Charlie Sale wrote: > I tried doing that, but I got some errors during the process. Here is > what I did: > > 1. $ fdisk -l debian-hurd*.img > output: > Device Boot Start End Sectors Size Id > Type > debian-hurd-20171101.img1 2048 1953791 1951744 953M 82 > Linux swap / Solaris > debian-hurd-20171101.img2 1955838 10239999 8284162 4G 5 > Extended > debian-hurd-20171101.img5 1955840 10239999 8284160 4G 83 > Linux > > 2. # losetup -o 1955838 /dev/loop0 debian-hurd-20171101.img > Which worked fine.
I think you need to use -o 1955838*512 as offset. However, take a look at kpartx. With that tool you get better control. And you really need to find out where / is mounted. Why do you have Solaris and Linux partitions in that image?