ading2210 / shimboot

Boot a desktop Linux distribution from a Chrome OS RMA shim.
https://shimboot.ading.dev
GNU General Public License v3.0
151 stars 45 forks source link

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 #47

Open Zumwaltboi68 opened 3 months ago

Zumwaltboi68 commented 3 months ago
  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.

OtterCodes101 commented 3 months ago

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

Zumwaltboi68 commented 3 months ago

Why does readme say that wsl is supported?

OtterCodes101 commented 3 months ago

what.

Zumwaltboi68 commented 3 months ago

The readme says that wsl is supported

OtterCodes101 commented 3 months ago

yeah i just checked thats weird

Zumwaltboi68 commented 3 months ago

Under prerequisites

OtterCodes101 commented 3 months ago

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

Zumwaltboi68 commented 3 months ago

alright well....

Zumwaltboi68 commented 3 months ago

Thanks for the quick response

OtterCodes101 commented 3 months ago

try with a linux device

Zumwaltboi68 commented 3 months ago

Thanks anyways!

Zumwaltboi68 commented 3 months ago

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

ading2210 commented 3 months ago

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?

Zumwaltboi68 commented 3 months ago

IDK. I tried on the same computer just using Linux and it finally worked thanks.

Get Outlook for Androidhttps://aka.ms/AAb9ysg


From: ading2210 @.> Sent: Wednesday, July 31, 2024 12:34:24 AM To: ading2210/shimboot @.> Cc: DogeSploitDev @.>; Author @.> Subject: Re: [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 (Issue #47)

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?

— Reply to this email directly, view it on GitHubhttps://github.com/ading2210/shimboot/issues/47#issuecomment-2259624747, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A7ZUPUFCADAQZX3DCSZUDFTZPBSNBAVCNFSM6AAAAABLSGLD6KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENJZGYZDINZUG4. You are receiving this because you authored the thread.Message ID: @.***>

Zumwaltboi68 commented 3 months ago

And also when it goes into shimboot OS selector after booting the thumbdrive, Which option should I choose? Get Outlook for Androidhttps://aka.ms/AAb9ysg


From: ading2210 @.> Sent: Wednesday, July 31, 2024 12:34:24 AM To: ading2210/shimboot @.> Cc: DogeSploitDev @.>; Author @.> Subject: Re: [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 (Issue #47)

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?

— Reply to this email directly, view it on GitHubhttps://github.com/ading2210/shimboot/issues/47#issuecomment-2259624747, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A7ZUPUFCADAQZX3DCSZUDFTZPBSNBAVCNFSM6AAAAABLSGLD6KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENJZGYZDINZUG4. You are receiving this because you authored the thread.Message ID: @.***>