ading2210/shimboot

Error on WSL-2 while running Step 6: sudo ./patch_rootfs.sh jacuzzi.bin chromeos_15886.44.0_jacuzzi_recovery_stable-channel_mp-v17.bin data/rootfs

Opened this issue · 15 comments

  1. How the error was produced: Every step succeeded until running Step 6: sudo ./patch_rootfs.sh jacuzzi.bin chromeos_15886.44.0_jacuzzi_recovery_stable-channel_mp-v17.bin data/rootfs

  2. I expected the patch to work and successfully make changes.

  3. I have decent experience with linux, but require some help to fix the error. It would be much appreciated if someone could do so.

  4. Error message shown:
    mounting shim
    losetup: cannot find an unused loop device: No such device
    grep: /proc/devices: No such file or directory
    mknod: missing operand after ‘b’
    Try 'mknod --help' for more information.
    losetup: /root/shimboot/jacuzzi.bin: failed to use device: No such device
    mount: /tmp/shim_rootfs: unknown filesystem type.
    dmesg(1) may have more information after failed mount system call.

wsl won't work because it can't mount loopback devices such as the shim.

Why does readme say that wsl is supported?

The readme says that wsl is supported

yeah i just checked thats weird

Under prerequisites

from the looks of it it can't mount the loopback device though.

alright well....

Thanks for the quick response

try with a linux device

Thanks anyways!

You should definitely edit the readme file to prevent any future mishaps...

I know people have run this on WSL just fine before, so I'm not quite sure why this is happening. I guess your loop devices are kinda screwed up?