GoogleCloudPlatform / gce-rescue

GCE Rescue is a command-line tool to boot Google Cloud Platform VMs in Rescue Mode. Topics
Apache License 2.0
38 stars 3 forks source link

-bash: chroot: command not found #48

Open bhanquier opened 1 month ago

bhanquier commented 1 month ago

Hi, After quite a few difficulties (not exactly a noob but not a specialist either) I managed to connect in the rescue mode. Surprisingly when I tried chroot /mnt/sysroot I got the result -bash: chroot: command not found There I got flummoxed and really had no idea what to do. To bad, I was almost there 😅 Thanks for your help, even if not immediate it will be appreciated. Cheers!

halleysouza commented 1 month ago

Hi @bhanquier, is it possible that you are not logged as root ? please try again using sudo. Check this demo here: https://youtu.be/oD6IFpjEtEw?t=264&si=cu8ZOSvnQaKq0ZKn.

If you still cant find chroot please share more info, like lsblk, df and id