On 04.09.2012 16:32, Arnout Vandecappelle (Essensium/Mind) wrote: > From: "Arnout Vandecappelle (Essensium/Mind)" > > When creating a bootable disk image in a file rather than on a physical > device, it is not possible to guess the root partition. Therefore, > allow the root partition to be specified on the command line. Looks like you just do it wrong. Correct way is to create a loopback and then use kpartx to discover partitions, not use loopback with offset. This "root device" is purely technical information and it should be discovered automatically from the information we already have (we have a directory) -- Regards Vladimir 'φ-coder/phcoder' Serbinenko