rusty-magisk
rusty-magisk copied to clipboard
Rusty magisk: Root (/) is not writeable (os error 30) bliss 14.3 32bit
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.
Same thing happen to me 😥 I tired to fix it 😖
Same error



A fix for this is in review and if that works for the majority, it's a simple push to Bliss OS source
Confirmed to be working in beta release
Can we have access to the beta release, please?
@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.
@HuskyDG FYI: I use overlayfs on /system to make it writable for system as root builds. Magisk binaries are put to /system/bin
@HuskyDG FYI: I use overlayfs on
/systemto 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
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)".
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