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

disk, dsm, kbl-rt5514-hotword-support and touch not found in the recovery image #3

Closed
MoeMod opened this issue May 16, 2019 · 7 comments

Comments

@MoeMod
Copy link

MoeMod commented May 16, 2019

IMG_1126

@MoeMod
Copy link
Author

MoeMod commented May 16, 2019

BTW, I am using chrx without unlocked UEFI. Is this only working with full UEFI firmware?

@yusefnapora
Copy link
Owner

Thanks for the report - I've only tested it with full UEFI firmware. It looks like it might be mounting the recovery image to a different device than the script expects.

You could try cd'ing into /opt/eve-linux-setup - there's a recovery_mnt directory there that should contain the recovery image files. If /opt/eve-linux-setup/recovery_mnt is empty, you can try mounting the image manually.

Mounting the image works like this:

# become root
sudo su
cd /opt/eve-linux-setup

# mount the partitions from the recovery image to loopback devices
kpartx -av chromeos_11647.154.0_eve_recovery_stable-channel_mp.bin

# You should see some output with a bunch of `loopX` device names. 
# You want the one that ends with `p3`, for example `loop0p3`. 
# Once you find the right loopback device, you can mount it

mount -t ext2 -o ro /dev/mapper/$device_name_from_above /opt/eve-linux-setup/recovery_mnt

If that works, there should be some files in the recovery_mnt dir afterwards, and re-running the ansible script should (hopefully) work.

Let me know if that helps at all; I'd like to get this working for dual-boot users also, but I don't have time right now to test myself.

@MoeMod
Copy link
Author

MoeMod commented May 18, 2019

After this error and reboot, it seems that ubuntu crashes and enters emergency mode.
I reinstalled ubuntu with chrx and ran the script again and got the same result.
However, those files in /opt/eve-linux-setup/recovery_mnt are already mounted and not missing.
So... nothing to do but waiting for my debug cable 😂

@MoeMod
Copy link
Author

MoeMod commented May 25, 2019

Now I get my debug cable and everything goes well now.
Thank you for your detailed instructions!

@MoeMod MoeMod closed this as completed May 25, 2019
@hqzfj
Copy link

hqzfj commented Nov 7, 2022

IMG_1126

@hqzfj
Copy link

hqzfj commented Nov 7, 2022

#k

@hqzfj
Copy link

hqzfj commented Nov 7, 2022

``

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants