dnschneid / crouton

Chromium OS Universal Chroot Environment
https://goo.gl/fd3zc?si=1
BSD 3-Clause "New" or "Revised" License
8.54k stars 1.24k forks source link

Unable to get crouton command to be recognized following newest guide #5084

Open 14142000 opened 2 months ago

14142000 commented 2 months ago

image

CroutonIsFun commented 2 months ago

On VT-2, switch to /usr/local and type ls -l and post the results here

CroutonIsFun commented 2 months ago

I'm guessing you accidentally deleted Crouton. Print out the instructions located at How to Install and Use Crouton

Then, download Crouton again, and follow the directions.

14142000 commented 2 months ago

On VT-2, switch to /usr/local and type ls -l and post the results here

What's the command to do that? I'm not well versed in virtual terminal 2. In fact, my only time using it is trying to do this because crosh no longer works

CroutonIsFun commented 2 months ago

Crosh still works, you just can't use sudo there. VT-2 is simply ctrl-alt-f2. When I say f2, it's where f2 would be on a PC. On the Chromebook, it's left arrow.

So in VT-2, you would go,

cd /usr/local and then ls -l

14142000 commented 2 months ago

I know how to get into it, I just need to know exactly verbatim what to type to give you the information you need to figure out why I am not getting anywhere.

CroutonIsFun commented 2 months ago

cd /usr/local ls -l

Next,

cd bin ls -l

14142000 commented 2 months ago

Curious. It cannot find it PXL_20240630_120605462

CroutonIsFun commented 2 months ago

No. Not user. 3 letters: usr

And now I know why you're not getting anywhere. In your initial screen shot, you're using "user" with the install command. It is not user. It is usr.

My recommendation is, give up on crouton and install Linux from the Chromebook settings menu. If you know absolutely nothing about Linux, even this is going to be challenging for you.

Why do you even wish to install crouton? Just curious.

14142000 commented 2 months ago

There's a limitation with the Linux container where it will not pass through game controllers, only USB storage.

I wish to use the Linux version of steam link as there's an issue on Chrome OS between the network stack and the Android version that creates connection interruptions every second and a half that is not present on the Linux version though it's still unusable for my use case without the controller support.

PXL_20240630_152939080 PXL_20240630_152833147

CroutonIsFun commented 2 months ago

Right. Okay, first clean up your mistake:

sudo rm -R /user

Then, go back and follow the instructions more carefully, being sure to use "usr" and not "user".

Good luck!

14142000 commented 2 months ago

Unless you put the wrong spelling of user in the command you wanted me to type for verbatim. It seems there is no directory called user PXL_20240630_154941679

14142000 commented 2 months ago

Okay I got the install to start but it crashes the Chromebook

CroutonIsFun commented 2 months ago

You can't be inside /usr/local to do the clean up. Okay, first, logout of VT-2.

Now, login as chronos, and before doing anything else, execute this command:

sudo rm -R /user

If you had accidentally created a new folder, this will get rid of it.

As to the crash, that's more tricky. Are you first entering the chroot from VT-2, then running ssh? And then, flipping over to the crosh shell, and ssh into the chroot, then starting a desktop session?

I know it sounds convoluted. You may be better off just installing Linux on your Chromebook, using the MrChromebox BIOS firmware update.

14142000 commented 2 months ago

I literally typed in sudo CROUTON_BRANCH=silence crouton -r focal -t xfce after the previously needed commands and it crashes after the installer begins downloading

CroutonIsFun commented 2 months ago

Ahhh, that's really weird. Is there anything odd about your Chromebook? Is it working well otherwise? Then, there is always the option to perform a powerwash.

user5965312 commented 2 months ago

i figured it out first if you still get the crouton command not found restart the steps after the ls -l stuff and from there you will be fine. but if your chromebook is crashing a powerwash wouldn't be optimal so i recommend simple performance tweaks such as pluging your chromebook in and using chrome flag s for various boost then your problems should be resolved

CroutonIsFun commented 2 months ago

Interesting comments. What sort of tweaks, just for an example?

user5965312 commented 2 months ago

the tweaks are mostly cpu based i got the all from chrome://flags/

1.Override software rendering list

  1. GPU rasterization
  2. crosonti gpu sopport this one is very important since its dealing with crosonti
  3. Scheduler Configuration set this to enables hyper threading cpu overclock only recommended if u have a long batter life

these manly contribute to overall performance so it should also help alot when gaming. 👍🏽

CroutonIsFun commented 2 months ago

That's advanced stuff, totally unaware of these tweaks. Regarding his device crashing: a powerwash is not a bad thing. It's sort of a cure-all for weird stuff.

CroutonIsFun commented 2 months ago

Powerwash your Chromebook