Coder Social home page Coder Social logo

Comments (5)

dnschneid avatar dnschneid commented on May 18, 2024

Glad to hear you're finding it useful!

Recovering from a USB image will definitely wipe all partitions.

Toggling dev mode will wipe the stateful partition (H-STATE in the partition list), which as you can see in your screenshot, includes /home and /usr/local. Since the chroots are by default stored in /usr/local/chroots, they will indeed get wiped as well. I believe dev wiping only erases the stateful partition, so it shouldn't affect another "chroot" partition if you make one. It may be worth experimenting first just to be sure; it'll only take about 30 minutes and will give you some peace of mind, since it can be scary to think that your chroot could be wiped by hitting the wrong keys at boot-up :) If you do experiment, please post your results here.

Your existing partitioning is normal; there's a doc on what makes the partition list so crazy.

Note that you do NOT want to resize the stateful partition via a program in a chroot that's running out of that same stateful partition (again, as it is by default). Either run the chroot off of an SD card or USB stick, or run the repartitioning commands just using the commands available to non-chroot crosh.

from crouton.

RFrascona avatar RFrascona commented on May 18, 2024

So...I successfully created an ext4 partition and was able to load xfce using crouton. I was also able to launch using this command: sudo bash startfce4 -c /dev/sda7\ Drive/chroots. That being said, 2 things didn't go according to plan and that may have been due to my misunderstanding of the chroot environment. Even though I had loaded xfce via the new partition, I was unable to mount the partition that I was launched from. I was able to download a few packages, but I'm assuming they were going into the Chrome partition? So basically, the hope that I could save data here that was untouchable from chrome resets didn't work out. Further, the hope that the chroot would live on beyond a reset also failed. I'm not even sure it would have lasted a reboot. I attempted a factory reset via the button within chrome's help menu. Upon restart I got the developer mode warning, I bypassed but was forced to recover via USB drive. I tried to restart and toggle dev mode, but this still didn't matter and I was forced to go for full recovery. I guess it was worth a try.

from crouton.

dnschneid avatar dnschneid commented on May 18, 2024

The chroot doesn't have (easy) access to the Chromium OS partition other than through the Downloads folder as a convenience. All the work you do in the chroot (except for the ~/Downloads folder) will stay inside the chroot, so it shouldn't affect your main OS.
A factory reset is an entirely different beast from a dev wipe (it's confusing, I know), and may very well repartition your drive, clobbering the chroot partition. I'm not sure why you'd want the chroot (stored internally) to survive a factory reset, though...

from crouton.

RFrascona avatar RFrascona commented on May 18, 2024

Ok, for some reason I thought the only way to do a full recovery was to go through the recovery menu - ie. esc+F3+Power button. I thought the reset button in the help menu was equivalent to the dev wipe.

from crouton.

dnschneid avatar dnschneid commented on May 18, 2024

Unfortunately, they're all different. It's not obvious at all.

from crouton.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.