New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can not delete chroot #1079
Comments
Reboot the chromebook and try again. By rebooting it ensures you that there are no longer any mounts or programs running related to the chroot. Edit: why would you exit dev-mode. Just press ctrl d at the scary screen when it starts up. |
Yeah, that would be the easiest and most optimal solution, but I can't reboot it. When I reboot it will take me out of developer mode and I won't be able to get back in. So I won't be able to run crouton at all. Is there another way? Perhaps manually deleting the chroot files as well as crouton? Or will it not let me because the chroot is running. Or maybe a force shut down from the chronos terminal? |
Why would you exit dev-mode on a reboot? Just press "ctrl d" at the scary screen when it starts up and it boots right up to dev-mode. |
Because my school gave me my chromebook and they blocked dev mode but I got On Sun, Sep 28, 2014 at 6:51 AM, Maurice van Kruchten <
|
You can force-unmount the chroot with |
So I messed up my chroot, I had a perfectly good installation of ubuntu 14.04 trusty going, I had all the software I wanted until I tried installing wine, had some problems and eventually tried to compile it in a 32 bit linux container. I had some trouble with lxc and tried to log off and enter my chroot again to see if this would solve my problem.
Upon trying to use sudo startxfce4 I find 3 errors.
One is that it says something like found username 'whoopsies' blah blah blah but I do the fix for that.
The second is it says it cannot find startxfce4. So I go into the chroot, and install the xfce package on my ubuntu. And I guess I wasn't supposed to do that.
So now the first two errors are gone but when I run sudo startxfce4 it doesn't ask me for encryption and it says this:
Not unmounting /mnt/stateful_partition/crouton/chroots/trusty as another instance is using it.
My guess is its trying to start the OS not only from crouton but also from the chroot itself? I dunno. So I thought well, I messed it up, I guess I should delete it and start all over again, I didn't have much software installed on it anyway.
Nope.
Here's what I type.
chronos@localhost / $ sudo delete-chroot trusty
Not unmounting /mnt/stateful_partition/crouton/chroots/trusty as another instance is using it.
Dun dun dun...
Really I just want to delete this thing and start over again now. Maybe that'll even solve my problems with installing wine. One last note: I cannot shut off my computer. If I do it takes me out of dev mode. So if anyone has got any solutions to this that do not involve shutting off my computer that would be good. Also I'm on an Acer C720
The text was updated successfully, but these errors were encountered: