[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Booting squashfs from local filesystem



On Thu, Apr 26, 2018 at 02:48:59PM +0200, Paul Hänsch wrote:
> On Tue, Apr 24, 2018 at 05:49:45PM +0100, Luca Boccassi wrote:
> > 
> > Have you tried findiso=/fs/path/to/stretch.squash ?
> 
> This helped me to get one step further.

Skip all of that! What I did not realise was that it is neither necessary nor
*possible* to pass the name of the rootfs image directly.

Instead the image name _must_ end with .squashfs and the image should by
default reside in a directory named live/, not in the root folder. The image
name, ending on .squash, was invalid.

What I did was rename the image to stretch.squashfs. The boot command line now
reads:

BOOT_IMAGE=vmlinuz initrd=initrd.img boot=live \
          bootfrom=/dev/sda1 live-media-path=/

The latter is only necessary if you do not feel like putting the squash image
into a subdirectory named live/. Using subdirectories would be the only way to
choose between multiple squash images in the bootloader.

Thank you for your help. However indirectly, you somehow pushed me onto the
right track.
-- 
Paul

Attachment: signature.asc
Description: PGP signature


Reply to: