Skip to content
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

The internet is wrong and all the tutorials are broken #4026

Open
dnschneid opened this issue Apr 4, 2019 · 22 comments

Comments

@dnschneid
Copy link
Owner

commented Apr 4, 2019

An improvement in Chromium OS security has broken all the internet tutorials for crouton. Oops.

But it's OK, with the power of the internet, we can fix the internet!

If you've found a tutorial that is still listing the old commands (sudo sh ~/Downloads/crouton ...), please reach out to the author (nicely!) and ask them to update.

What used to be the following steps (these are now wrong!):

  1. Download crouton
  2. Run sudo sh ~/Downloads/crouton ...

Have become the equally-memorable:

  1. Download crouton
  2. Prep the installer with sudo install -Dt /usr/local/bin -m 755 ~/Downloads/crouton
  3. Run sudo crouton ...

The steps for running chroots off of external media have also become more convoluted. It would be best if tutorials just referred to the README section in that case.

If you find the old steps are still working, it's only because the changes haven't rolled out to you yet. It will. Just you wait. Or don't wait, and instead help make crouton tutorials great again.

Post links here to tutorials you've helped correct for some sweet, sweet recognition!

@dnschneid dnschneid pinned this issue Apr 4, 2019

@justchen1369

This comment has been minimized.

Copy link

commented Apr 4, 2019

Looks like a good idea is to notify the owners of any broken tutorials and (?) tell them to add the extra step of moving the crouton script to /usr/local.

@DennisLfromGA

This comment has been minimized.

Copy link
Collaborator

commented Apr 4, 2019

@justchen1369

The README has been updated, everybody reads that right? 😁

Please read the relevant sections of this README carefully, and reach out to your favorite weblogger/tutorialer/videotuber to update their guides if they're behind the times. If you're successful, brag about your accomplishments in the issue tracker and earn the personal gratitude of the crouton authors*!

  • limit one (1) gratitude per commenter

-DennisLfromGA

@justchen1369

This comment has been minimized.

Copy link

commented Apr 4, 2019

Just sent a message to the author of the HowToGeek article on crouton.

@LynWales

This comment has been minimized.

Copy link

commented Apr 5, 2019

It is really pleasing to hear that Crouton is continuing-I had feared it's demise as Crostini was introduced -Are there any plans to add more up to date Targets-The last Ubuntu distribution I can see is xenial and there have been several new rollouts since then?

@justchen1369

This comment has been minimized.

Copy link

commented Apr 5, 2019

Buster is available- just plop a -r buster in the command(and others are probably available)

@JL2210

This comment has been minimized.

Copy link

commented Apr 5, 2019

What changed? Can't we just mount -o remount the home drive temporarily?

@dnschneid

This comment has been minimized.

Copy link
Owner Author

commented Apr 5, 2019

That would technically work, but it would also bypass many layers of protection in Chromium that prevents random downloaded files (including cached extensions and whatnot) from being executable.

As for what changed, see the first link in this bug.

@justchen1369

This comment has been minimized.

Copy link

commented Apr 7, 2019

image

@smeggysmeg

This comment has been minimized.

Copy link

commented Apr 12, 2019

I updated My blog post on setting up Crouton and Steam! It's my most trafficked article, and I can always tell when people have been buying new Chromebooks by the stats bump.

Thanks for the easy steps!

@justchen1369

This comment has been minimized.

Copy link

commented Apr 12, 2019

thanks for updating it!

@dnschneid

This comment has been minimized.

Copy link
Owner Author

commented May 9, 2019

@smeggysmeg thanks! looks like you need to update the "how to update" steps as well.

@smeggysmeg

This comment has been minimized.

Copy link

commented May 10, 2019

Woops. Fixed!

@pardestakal

This comment has been minimized.

Copy link

commented May 12, 2019

when i try to install cinnamon it doesnt work cuz there is no target, and theres no support for bionic when i do sudo crouton -t touch,kde -r bionic. it would be cool if you could add support for it cuz most apps i need, need bionic. but either way thanks this is amazing

@binMonkey

This comment has been minimized.

Copy link

commented Jun 18, 2019

Does this change help with apt/update/segmentation fault/sig 4 problem?

Thanks for this and all the work you do.

@pjchamberlain

This comment has been minimized.

Copy link

commented Jun 18, 2019

sadly #2688 is still an issue

@binMonkey

This comment has been minimized.

Copy link

commented Jun 18, 2019

I can verify that this is a problem in Debian Stretch also. It was working perfectly for two hours and then it went to pot.

@ApatheticEuphoria

This comment has been minimized.

Copy link

commented Jul 17, 2019

I followed the updated instructions and still receive uid error. I think it may have something to do with my specific chromebook because it works on my Dell chromebook just fine. Perhaps I messed something up early on and now it wont work even following the updated method? Or maybe it simply isn't compatible with this version. Please see my issue for build information. Would really like to get Kali on this machine.

If it is relevant I tried and failed to root using Aroc.

@jvschiavo

This comment has been minimized.

Copy link

commented Sep 19, 2019

Hi, I would like to understand what the command sudo install -Dt /usr/local/bin -m 755 ~/Downloads/crouton does.

@ImpatientHippo

This comment has been minimized.

Copy link

commented Sep 19, 2019

This installs the crouton script to /usr/local/bin with appropriate access rights.

See: https://linux.die.net/man/1/install

@jvschiavo

This comment has been minimized.

Copy link

commented Sep 19, 2019

This installs the crouton script to /usr/local/bin with appropriate access rights.

See: https://linux.die.net/man/1/install

So... is it like sudo cp ~/Downloads/crouton /usr/local/bin then sudo chmod 755 /usr/local/bin/crouton?

@JL2210

This comment has been minimized.

Copy link

commented Sep 19, 2019

@jvschiavo Yes.

@jvschiavo

This comment has been minimized.

Copy link

commented Sep 22, 2019

@jvschiavo Yes.

Thanks! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
You can’t perform that action at this time.