On Mon, Jan 15, 2024, 4:58 AM Andy Smith <a...@strugglers.net> wrote:
> On Sun, Jan 14, 2024 at 11:32:37PM -0500, Stefan Monnier wrote: > > > What happens if you use diskimages that contain directly a filesystem > > without going through the trouble of using a partition table? > > Does `ext4` also get tripped by the different underlying block size? > > I believe it will also fail but I haven't directly experimented. > > On the target host I was able to use fdisk (or gdisk or parted or > whatever…) to change the partition table to be "correct", which > enabled me to then use "kpartx" to expose the partition out of the > disk image as a loop device as usual. However, the ext4 driver and > fsck.ext4 were still unable to find superblocks on this. This > despite a sha256sum of the loop device coming back with the same > hash as a sha256sum of the partition on the source. > In your dd commands that moved these filesystems, did you specify ibs= and/or obs= ? If so, what values did you use? .... > Thanks, > Andy >