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

Rusty magisk: Root (/) is not writeable (os error 30) bliss 14.3 32bit #3

Open
KSMaan45 opened this issue Jul 4, 2021 · 10 comments
Open

Comments

@KSMaan45
Copy link

KSMaan45 commented Jul 4, 2021

So i installed bliss 14.3 32bit version exact iso name :- BlissOS-14.3-x86-202106172025_k-google-5.4.112-lts-ax86_m-r_foss_cros-hd.iso and found that after installation or in live cd it return me following error :-

rusty-magisk: Root(/) is not writeable, failed to initialize /sbin: read only file system (os error 30)

So i extract the system.img from system.sfs in same path and delete the system.sfs of that directory and tried again but still the same error then i boot in debug mode to find more information so following is the debug text :-

Running MiraBSD Korn Shell...
libc: Fatal signal 4 (SIGILL), code 2 (ILL_ILLOPN), fault addr 0xf0263eec in tid Illegal instruction

After passing that screen same rusty magisk error also my keyboard all lights starts to blink and it reboots. For all this i got the geardump file attached in the post so if need more information let me know.

geardump.zip

@KSMaan45 KSMaan45 changed the title Rusty magisk: Root (/) is not writable (os error 30) bliss 14.3 32bit Rusty magisk: Root (/) is not writeable (os error 30) bliss 14.3 32bit Jul 4, 2021
@kirito9723
Copy link

Same thing happen to me 😥
I tired to fix it 😖

@sickcodes
Copy link
Contributor

Same error

@electrikjesus
Copy link

A fix for this is in review and if that works for the majority, it's a simple push to Bliss OS source

@sickcodes
Copy link
Contributor

Confirmed to be working in beta release

@Dinibewerbig
Copy link

Can we have access to the beta release, please?

@HuskyDG
Copy link

HuskyDG commented Jan 12, 2022

@axonasif i knew why this error happened. Maybe you rusty-magisk try to remount (/) with system image SFS format and make /sbin folder on Android 11
i also have the problem while system image format is system.sfs while system.img doesn't have problem.

Solution:
Make magisk exist in /dev/**** tmpfs instead if /sbin is not exist. Magisk can handle these problem and will add itself into /system/bin like a module. This is what Magisk works on Android 11 when /sbin doesn't exist.

@axonasif
Copy link
Owner

@HuskyDG FYI: I use overlayfs on /system to make it writable for system as root builds. Magisk binaries are put to /system/bin

@HuskyDG
Copy link

HuskyDG commented Jan 12, 2022

@HuskyDG FYI: I use overlayfs on /system to make it writable for system as root builds. Magisk binaries are put to /system/bin

@axonasif Ok thanks, Maybe i must review your code
If this was overlayed with overlayfs, it is very werid it has Root (/) is not writeable problem.
Maybe you can follow my solution

@igormacedo
Copy link

Any updates on this issue? I just tested several iso images on the blissos-dev sourceforge repository, trying to install them in VirtualBox VM, and all of them presented the same error "rusty-magisk: Root(/) is not writeable, failed to initialize /sbin: read only file system (os error 30)".

@HuskyDG
Copy link

HuskyDG commented Mar 26, 2022

Any updates on this issue? I just tested several iso images on the blissos-dev sourceforge repository, trying to install them in VirtualBox VM, and all of them presented the same error "rusty-magisk: Root(/) is not writeable, failed to initialize /sbin: read only file system (os error 30)".

Rusty-magisk try to make /sbin while root is read-only. According to axon, it should mount overlayfs on /system/bin and place magisk binaries here but it is not a good idea because it does not match how magisk was programmed and will cause some problem if any module magic mount new file into /system/bin. Moreover, rusty-magisk implementation does not match magiskinit.
You can try this http://github.com/huskydg/initrd-magisk

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

8 participants