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 · 40 comments
Open

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

dnschneid opened this issue Apr 4, 2019 · 40 comments

Comments

@dnschneid
Copy link
Owner

dnschneid 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
Copy link

justchen1369 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
Copy link
Collaborator

@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
Copy link

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

@LynWales
Copy link

LynWales 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
Copy link

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

@JL2210
Copy link

JL2210 commented Apr 5, 2019

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

@dnschneid
Copy link
Owner Author

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
Copy link

image

@ErikLentz
Copy link

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
Copy link

thanks for updating it!

@dnschneid
Copy link
Owner Author

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

@ErikLentz
Copy link

Woops. Fixed!

@pardestakal
Copy link

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
Copy link

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

Thanks for this and all the work you do.

@pjchamberlain
Copy link

sadly #2688 is still an issue

@binMonkey
Copy link

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.

@ghost
Copy link

ghost 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
Copy link

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

@ImpatientHippo
Copy link

ImpatientHippo 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
Copy link

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
Copy link

JL2210 commented Sep 19, 2019

@jvschiavo Yes.

@jvschiavo
Copy link

@jvschiavo Yes.

Thanks! :)

@JL2210

This comment has been minimized.

@foxsouns
Copy link

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

@DennisLfromGA
Copy link
Collaborator

@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

@foxsouns
Copy link

foxsouns commented Jan 24, 2020

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

@jimmybungalo
Copy link

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.

@drxjason
Copy link

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

@JonasBBX
Copy link

JonasBBX commented May 3, 2020

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

same here

@DennisLfromGA
Copy link
Collaborator

@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

@levidoughty
Copy link

levidoughty commented Jun 25, 2020

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!

@dnschneid
Copy link
Owner Author

Awesome! Thank you, @swagbob6!

@makebabynotwar
Copy link

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!

@imarisimpson
Copy link

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

@azet
Copy link
Contributor

azet commented May 16, 2021

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

@foxsouns
Copy link

+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)

@flexhornmoringstar

This comment has been minimized.

@flexhornmoringstar
Copy link

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

@betapictoris
Copy link

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

@flexhornmoringstar
Copy link

flexhornmoringstar commented Jul 3, 2021 via email

Repository owner locked as resolved and limited conversation to collaborators Dec 31, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests