crouton: Installation issues, Mount errors even after chrome powerwash.

Please paste the output of the following command here: chronos@localhost / $ sudo edit-chroot -all
name: precise
encrypted: no
Entering /mnt/stateful_partition/crouton/chroots/precise...
mount: /run/crouton/mnt/stateful_partition/crouton/chroots/precise/sys/fs/selinux not mounted or bad option

       In some cases useful info is found in syslog - try
       dmesg | tail or so.

Please describe your issue:

This is my first time doing something like this so please excuse me if I miss some piece of information that I am supposed to post here. Also posting before I leave for work so any immediate responses this morning will be delayed.

I was able to install everything just fine on the first run yesterday and installed Unity using Crouton. However, I got really confused trying to get the crouton extension to work. After getting frustrated I ended up putting any little snippet of code into both the chrome side terminal as well as the ubuntu side terminal and things just got weird so I tried to delete the chroot and do a fresh install the correct way the first time. Well, ever since then, I get a mount error when try to an install. I got the same error after a powerwash this morning.

mount: /run/crouton/mnt/stateful_partition/crouton/chroots/precise/sys/fs/selinux not mounted or bad option

   In some cases useful info is found in syslog - try
   dmesg | tail or so.

Unmounting /mnt/stateful_partition/crouton/chroots/precise…

If known, describe the steps to reproduce the issue:

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 27

Most upvoted comments

Wohoo, finally its working. Awesome job, man. Thanks

@BKPepe,

edit-chroot, are you sure? In #2706 it says enter-chroot

You’re right, I mistakenly said edit-chroot instead of enter-chroot, I fixed it now - sorry.

I looked at your output above and the failure may now be due to the error thrown when trying to umount selinux. I would suggest editing an un-modified /usr/local/bin/enter-chroot script as follows: ( I’m using sed so there’s no need to use vi )

cd /usr/local/bin sudo sed -i.orig 's:mount -o remount,ro "$CHROOT/sys/fs/selinux":umount $CHROOT/sys/fs/selinux || true:' enter-chroot

That should modify the file and make a copy of the original named enter-chroot.orig for safe keeping. Then try running sudo enter-chroot again and see if it works.

-DennisL