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

[Bug] Mount images, cannot find valid erofs superblock #648

Closed
1 task done
imre1107 opened this issue Aug 5, 2023 · 24 comments
Closed
1 task done

[Bug] Mount images, cannot find valid erofs superblock #648

imre1107 opened this issue Aug 5, 2023 · 24 comments
Labels
bug Something isn't working

Comments

@imre1107
Copy link

imre1107 commented Aug 5, 2023

Steps to reproduce/复现步骤

  1. Run the command ./run.sh

Expected behaviour/预期行为

Screenshot 2023-08-05 152703

Actual behaviour/实际行为

error

MagiskOnWSALocal commit full SHA/MagiskOnWSALocal 提交的完整哈希

da39a3ee5e6b4b0d3255bfef95601890afd80709

Linux distribution info/Linux 发行版信息

No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 12 (bookworm)
Release: 12
Codename: bookworm

Kernel version: Linux 5.15.90.1-microsoft-standard-WSL2 x86_64

WSL version: 1.15.0.0

Windows version/Windows 版本

22000.2245

Build Parameters/构建参数

COMMAND_LINE=--arch x64 --release-type retail --root-sol none --gapps-brand MindTheGapps --remove-amazon
INFO: Architecture: x64
INFO: Release Type: retail
INFO: Magisk Version: stable
INFO: GApps Brand: MindTheGapps
INFO: GApps Variant: pico
INFO: Root Solution: none
Build: RELEASE_TYPE=Retail
Generate Download Links
Generating WSA download link: arch=x64 release_type=Retail
WSA Build Version=2306.40000.4.0

Version requirement/版本要求

  • I am using latest commit of MagiskOnWSALocal/我正在使用最新 commit 的版本

Logs/日志

# Replace this line with the log / 将此行用日志替换
@imre1107 imre1107 added the bug Something isn't working label Aug 5, 2023
@JohnnyAntunes
Copy link

me too

`Extract done

Convert vhdx to RAW image
Convert vhdx to RAW image done

Mount images
fuse.erofs 1.6-g689372cd
disk: /tmp/wsa-build-USehKID0UP_/wsa/x64/system.img
offset: 0
mountpoint: /tmp/wsa-build-USehKID0UP_/erofs
dbglevel: 0
erofs: cannot find valid erofs superblock
failed to read erofs super block
Build: an error has occurred, exit`

@YT-Advanced
Copy link

#620

@k4ever
Copy link

k4ever commented Aug 6, 2023

I have the same issue:

Extract done

Convert vhdx to RAW image
Convert vhdx to RAW image done

Mount images
fuse.erofs 1.6-g689372cd
disk: /tmp/wsa-build-mwb96hQKe8_/wsa/x64/system.img
offset: 0
mountpoint: /tmp/wsa-build-mwb96hQKe8_/erofs
dbglevel: 0
erofs: cannot find valid erofs superblock
failed to read erofs super block
Build: an error has occurred, exit

Cleanup Work Directory
Cleanup Mount Directory
umount: /tmp/wsa-build-mwb96hQKe8_/erofs/vendor: no mount point specified.
umount: /tmp/wsa-build-mwb96hQKe8_/erofs/system_ext: no mount point specified.
umount: /tmp/wsa-build-mwb96hQKe8_/erofs/product: no mount point specified.
umount: /tmp/wsa-build-mwb96hQKe8_/erofs: not mounted.
umount: /tmp/wsa-build-mwb96hQKe8_/system_root_merged/vendor: no mount point specified.
umount: /tmp/wsa-build-mwb96hQKe8_/system_root_merged/system_ext: no mount point specified.
umount: /tmp/wsa-build-mwb96hQKe8_/system_root_merged/product: no mount point specified.
umount: /tmp/wsa-build-mwb96hQKe8_/system_root_merged: no mount point specified.
deactivate python3 venv
Cleanup Download Directory

I'm running this on a ASUS ROG Strix GL-702VM with EndeavourOS (Arch) installed and using the default Arch kernel. I also had the same issue running on a Surface Pro 8 with EndeavourOS installed using the default Arch kernel and the surfacelinux Arch kernel.

@andmpel
Copy link

andmpel commented Aug 6, 2023

I'm having the same issue using ubuntu wsl on windows 11

@k4ever
Copy link

k4ever commented Aug 6, 2023

Our issue seems to be a duplicate of this issue:

#615

To fix it, you have to go to the MagiskOnWSALocal/scripts/ directory and edit 3 lines in the build.sh file (lines 651, 675, and 909) to match this:

https://github.com/LSPosed/MagiskOnWSALocal/pull/620/files

Afterwards, re-run the build.sh script. I got mine to successfully build with these changes.

@boludoz
Copy link

boludoz commented Aug 10, 2023

Works sir

@stealthman22
Copy link

Works like magic.
N.B: Mind the spacing before the closing parenthesis guys, it should be :
if [[ "$WSA_MAJOR_VER" -lt 2304 || "$WSA_MAJOR_VER" -ge 2306 ]]
not
if [[ "$WSA_MAJOR_VER" -lt 2304 || "$WSA_MAJOR_VER" -ge 2306]]

It could cause an error.

Might I ask @k4ever what these lines actually do, and why did we have to add them in?

@k4ever
Copy link

k4ever commented Aug 15, 2023

Works like magic. N.B: Mind the spacing before the closing parenthesis guys, it should be : if [[ "$WSA_MAJOR_VER" -lt 2304 || "$WSA_MAJOR_VER" -ge 2306 ]] not if [[ "$WSA_MAJOR_VER" -lt 2304 || "$WSA_MAJOR_VER" -ge 2306]]

It could cause an error.

Might I ask @k4ever what these lines actually do, and why did we have to add them in?

IDK what they do. I just followed the post. Be best to ask the originator of the post.

@stealthman22
Copy link

stealthman22 commented Aug 16, 2023 via email

rvvh472 added a commit to VIP-Company/Magisk-Gapps-WSA that referenced this issue Aug 16, 2023
@JacobDrivers
Copy link

JacobDrivers commented Aug 17, 2023

Our issue seems to be a duplicate of this issue:

#615

To fix it, you have to go to the MagiskOnWSALocal/scripts/ directory and edit 3 lines in the build.sh file (lines 651, 675, and 909) to match this:

https://github.com/LSPosed/MagiskOnWSALocal/pull/620/files

Afterwards, re-run the build.sh script. I got mine to successfully build with these changes.

Exact same issues. Had to come here to see what was wrong, this worked! Why isn't this just being merged into the main version?

@SynapticMindset
Copy link

Our issue seems to be a duplicate of this issue:

#615

To fix it, you have to go to the MagiskOnWSALocal/scripts/ directory and edit 3 lines in the build.sh file (lines 651, 675, and 909) to match this:

https://github.com/LSPosed/MagiskOnWSALocal/pull/620/files

Afterwards, re-run the build.sh script. I got mine to successfully build with these changes.

work to me thank u

@cofisufu
Copy link

Our issue seems to be a duplicate of this issue:

#615

To fix it, you have to go to the MagiskOnWSALocal/scripts/ directory and edit 3 lines in the build.sh file (lines 651, 675, and 909) to match this:

https://github.com/LSPosed/MagiskOnWSALocal/pull/620/files

Afterwards, re-run the build.sh script. I got mine to successfully build with these changes.

Works like magic

Thank you!

@BRJB
Copy link

BRJB commented Aug 21, 2023

I edited the three lines of the build script but when I run it, it gives the error reported as bug #642.
"Add device administration features
sed: can't read /tmp/wsa-build-PsdF23Ka6O_/system_root_merged/vendor/etc/permissions/windows.permissions.xml: No such file or directory" #642

What is fix for this??

@mnksauce
Copy link

mnksauce commented Aug 21, 2023

@BRJB

This just happened to me. Make sure you copied the right row of text for 675. It's not the same as the other two.

@Wanxp
Copy link

Wanxp commented Aug 25, 2023

I edited the three lines of the build script but when I run it, it gives the error reported as bug #642. "Add device administration features sed: can't read /tmp/wsa-build-PsdF23Ka6O_/system_root_merged/vendor/etc/permissions/windows.permissions.xml: No such file or directory" #642

What is fix for this??

I meet this error too

@DWnebulae
Copy link

Thank you magic works !

@franmen05
Copy link

Our issue seems to be a duplicate of this issue:

#615

To fix it, you have to go to the MagiskOnWSALocal/scripts/ directory and edit 3 lines in the build.sh file (lines 651, 675, and 909) to match this:

https://github.com/LSPosed/MagiskOnWSALocal/pull/620/files

Afterwards, re-run the build.sh script. I got mine to successfully build with these changes.

yeahhhh!!
work!!

@MQuirosP
Copy link

MQuirosP commented Sep 7, 2023

not working for me

@zolakk
Copy link

zolakk commented Sep 20, 2023

It wasn't working for me until I double checked the changes and I put a && instead of || on 675 by mistake. There is also a -ge instead of an -lt like the other lines.

@Anz-03
Copy link

Anz-03 commented Sep 21, 2023

Our issue seems to be a duplicate of this issue:

#615

To fix it, you have to go to the MagiskOnWSALocal/scripts/ directory and edit 3 lines in the build.sh file (lines 651, 675, and 909) to match this:

https://github.com/LSPosed/MagiskOnWSALocal/pull/620/files

Afterwards, re-run the build.sh script. I got mine to successfully build with these changes.

It works for me. Thanks!

@babyedi3
Copy link

babyedi3 commented Oct 6, 2023

Our issue seems to be a duplicate of this issue:

#615

To fix it, you have to go to the MagiskOnWSALocal/scripts/ directory and edit 3 lines in the build.sh file (lines 651, 675, and 909) to match this:

https://github.com/LSPosed/MagiskOnWSALocal/pull/620/files

Afterwards, re-run the build.sh script. I got mine to successfully build with these changes.

U R my hero

@Creomortis
Copy link

Our issue seems to be a duplicate of this issue:

#615

To fix it, you have to go to the MagiskOnWSALocal/scripts/ directory and edit 3 lines in the build.sh file (lines 651, 675, and 909) to match this:

https://github.com/LSPosed/MagiskOnWSALocal/pull/620/files

Afterwards, re-run the build.sh script. I got mine to successfully build with these changes.

Thank you so much, fixed it for me too.

@willie0175
Copy link

Our issue seems to be a duplicate of this issue:

#615

To fix it, you have to go to the MagiskOnWSALocal/scripts/ directory and edit 3 lines in the build.sh file (lines 651, 675, and 909) to match this:

https://github.com/LSPosed/MagiskOnWSALocal/pull/620/files

Afterwards, re-run the build.sh script. I got mine to successfully build with these changes.

Not working for me. Copied and pasted the lines and now getting the error message that it "fails to read" the erofs. Any advise on what I may have done wrong?

@Tom747-400
Copy link

Our issue seems to be a duplicate of this issue:

#615

To fix it, you have to go to the MagiskOnWSALocal/scripts/ directory and edit 3 lines in the build.sh file (lines 651, 675, and 909) to match this:

https://github.com/LSPosed/MagiskOnWSALocal/pull/620/files

Afterwards, re-run the build.sh script. I got mine to successfully build with these changes.

Thanks so much. It works!

@Howard20181 Howard20181 moved this to In Progress in Magisk On WSA Oct 25, 2023
@Howard20181 Howard20181 moved this from In Progress to Done in Magisk On WSA Mar 3, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Mar 3, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
Archived in project
Development

No branches or pull requests