crouton icon indicating copy to clipboard operation
crouton copied to clipboard

The internet is wrong and all the tutorials are broken

Open dnschneid opened this issue 5 years ago • 40 comments

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 avatar Apr 04 '19 01:04 dnschneid

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.

justchen1369 avatar Apr 04 '19 20:04 justchen1369

@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

DennisLfromGA avatar Apr 04 '19 20:04 DennisLfromGA

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

justchen1369 avatar Apr 04 '19 20:04 justchen1369

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?

LynWales avatar Apr 05 '19 06:04 LynWales

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

justchen1369 avatar Apr 05 '19 13:04 justchen1369

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

JL2210 avatar Apr 05 '19 17:04 JL2210

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.

dnschneid avatar Apr 05 '19 18:04 dnschneid

image

justchen1369 avatar Apr 07 '19 02:04 justchen1369

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!

ErikLentz avatar Apr 12 '19 12:04 ErikLentz

thanks for updating it!

justchen1369 avatar Apr 12 '19 13:04 justchen1369

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

dnschneid avatar May 09 '19 14:05 dnschneid

Woops. Fixed!

ErikLentz avatar May 10 '19 02:05 ErikLentz

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

pardestakal avatar May 12 '19 06:05 pardestakal

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

Thanks for this and all the work you do.

binMonkey avatar Jun 18 '19 18:06 binMonkey

sadly #2688 is still an issue

pjchamberlain avatar Jun 18 '19 19:06 pjchamberlain

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.

binMonkey avatar Jun 18 '19 23:06 binMonkey

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.

ghost avatar Jul 17 '19 18:07 ghost

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

jvschiavo avatar Sep 19 '19 09:09 jvschiavo

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

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

ImpatientHippo avatar Sep 19 '19 10:09 ImpatientHippo

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?

jvschiavo avatar Sep 19 '19 14:09 jvschiavo

@jvschiavo Yes.

JL2210 avatar Sep 19 '19 16:09 JL2210

@jvschiavo Yes.

Thanks! :)

jvschiavo avatar Sep 22 '19 11:09 jvschiavo

@thatonetechdude Don't post help requests on unrelated issues. Thirteen people just got emails because of your comment.

JL2210 avatar Dec 02 '19 01:12 JL2210

https://github.com/dnschneid/crouton/wiki/Keyboard requires an update.

foxsouns avatar Jan 24 '20 16:01 foxsouns

@itstoast27,

The wikis are editable for all so you can add the keyboard updates yourself or you can file an issue that needs wiki entries or updates so others can update them.

Hope this helps, -DennisLfromGA

DennisLfromGA avatar Jan 24 '20 17:01 DennisLfromGA

@DennisLfromGA

The wikis are editable for all so you can add the keyboard updates yourself or you can file an issue that needs wiki entries or updates so others can update them. <

Ah, I wasn't aware. I'll probably update it when I'm finished with what I'm doing, thank you.

foxsouns avatar Jan 24 '20 18:01 foxsouns

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

it is likely it doesn't need bionic, ubuntu updates are updates to the os, support for packages and files that you install are based on debian, and some packages do not work with older versions (jessie, stretch), and require new ones (buster, sid(unstable)). if you really wanted to, you could install debian buster straight off instead of using it through linux, but you must know your way around a debian environment.

jimmybungalo avatar Mar 22 '20 16:03 jimmybungalo

Some dependencies on bionic are just not found and some people are unable to fully install bionic onto their systems...

drxjason avatar Apr 15 '20 23:04 drxjason

Some dependencies on bionic are just not found and some people are unable to fully install bionic onto their systems...

same here

JonasBBX avatar May 03 '20 01:05 JonasBBX

@GDJason12 and @jonasthenoob,

bionic issues are not the subject of this topic. Please search for existing 'bionic dependency' issues and if you can't find any then open a new issue.

Thanx, -DennisLfromGA

DennisLfromGA avatar May 03 '20 13:05 DennisLfromGA