Installer crashes on kernel install if using more than 1 squashfs file where kernel resides on 2nd squashfs file

Colin Watson cjwatson at ubuntu.com
Wed Nov 2 03:00:15 UTC 2011


On Mon, Oct 31, 2011 at 12:57:15PM -0700, Tony B wrote:
> Colin - I spoke with you a while back about being able to use more
> than 1 squashfs file and I finally tried it.  The live system comes up
> fine but the installer is unable to install it as it only mount the
> first squashfs file under /rofs where the source of the copy is.  The
> other squashfs files get mounted under /media/loop1 /media/loop2, etc
> but these aren't available to the installer.  The installer fails at
> the part where it tries to copy the kernel as I have it in another
> squashfs file(loop1).
> 
> This may be more related to the live casper system as it would
> probably be easier to make that add all loop mounts to /rofs I'm
> assuming.  As it is /rofs is mounted read only so you can't link on
> its folder or anything to add the other squashfs files folders so the
> installer can use them.

I think this should be fixed in casper, yes
(scripts/casper:setup_unionfs).  Mounting only the first squashfs on
/rofs was a quick hack way back for Ubuntu 6.10, and we would certainly
take a patch to cause /rofs to be a union-mount of all the read-only
components of the image if doing so doesn't cause kernel problems.

It would IMO be a design error for ubiquity to have to worry about this.

Cheers,

-- 
Colin Watson                                       [cjwatson at ubuntu.com]



More information about the Ubuntu-installer mailing list