dnschneid / crouton

Chromium OS Universal Chroot Environment

Home Page:https://goo.gl/fd3zc?si=1

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The internet is wrong and all the tutorials are broken

dnschneid opened this issue · 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!

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

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

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

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?

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

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

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.

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!

thanks for updating it!

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

Woops. Fixed!

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

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

Thanks for this and all the work you do.

sadly #2688 is still an issue

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.

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.

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

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

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

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 Yes.

Thanks! :)

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

@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

commented

@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.

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.

commented

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

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

same here

@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

i just dm'ed the author of this article on twitter. (i found his twitter through a google search, as it wasn't listed on linux.com.) i filled him in on the changes and linked him to this page, so i hope that this is useful, even in the tiniest way!

Awesome! Thank you, @swagbob6!

Dear Mr. Author, goo.gl/fd3zc <- this link is not working anymore, I can't download the crouton installer anymore. I hope you could fix this soon. Thank you!

So like did you guys change them again or something because I am getting a new error

How about adding a mention of noexec mount to the title of this issue? This way it would be easy to find.

commented

+1 for that mention of noexec mount; that way it'd have the words that someone having that error would be looking for, and the solution would be right here for them to look at. Maybe something like the following?

The internet is wrong and all the tutorials are broken (addressing the "from noexec mount" error)

issuewithmycrouton
whats this all about seeing dead threads on the issue.

@flexhornmoringstar

issuewithmycrouton
whats this all about seeing dead threads on the issue.

This does not have to do with issue The internet is wrong and all the tutorials are broken
. Maybe look at this comment from @DennisLfromGA.