crouton: Debootstrap; Permission Denied

chronos@localhost / $ sudo crouton -t xfce

Every time I type the command I get this:

WARNING: Your rootfs is writable. Signed boot verification cannot be enabled. If this is a surprise to you, you should do a full system recovery via USB. Installing xenial-amd64 chroot to /usr/local/chroots/xenial Downloading bootstrap files… /tmp/crouton-installer-cache/crouton: 95: /tmp/crouton-installer-cache/crouton.3x9/installer/ubuntu/bootstrap: /tmp/crouton.UZp/debootstrap: Permission denied debootstrap error log: tail: cannot open ‘/tmp/crouton.UZp/xenial-amd64/debootstrap/debootstrap.log’ for reading: No such file or directory Failed to run debootstrap.

If known, describe the steps to reproduce the issue:

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 25 (2 by maintainers)

Most upvoted comments

The problem is that tmpfs mounts in ChromeOS are now noexec, so you can’t drop a script in /tmp and execute it (which breaks the bootstrap script), and /usr/local/ is mounted nodev, so the installer script needed changes.

My latest code at https://github.com/myelin/crouton is working for me right now; can you give it a try? I spent some time on it today and it can create sid, focal, jammy, and kinetic chroots on my brya machine running a personal 108.0.5355.0 build.

Note that startxfce4 currently fails on sid, jammy, and kinetic, but works on focal, so you probably want to use focal rather than any of the newer distributions.