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
Wohoo, finally its working. Awesome job, man. Thanks
@BKPepe,
You’re right, I mistakenly said
edit-chrootinstead ofenter-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
umountselinux. I would suggest editing an un-modified/usr/local/bin/enter-chrootscript as follows: ( I’m usingsedso there’s no need to usevi)cd /usr/local/binsudo sed -i.orig 's:mount -o remount,ro "$CHROOT/sys/fs/selinux":umount $CHROOT/sys/fs/selinux || true:' enter-chrootThat should modify the file and make a copy of the original named
enter-chroot.origfor safe keeping. Then try runningsudo enter-chrootagain and see if it works.-DennisL