rusty-magisk icon indicating copy to clipboard operation
rusty-magisk copied to clipboard

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

Open KSMaan45 opened this issue 4 years ago • 10 comments

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 avatar Jul 04 '21 10:07 KSMaan45

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

kirito9723 avatar Jul 10 '21 17:07 kirito9723

Same error

sickcodes avatar Jul 23 '21 19:07 sickcodes

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

electrikjesus avatar Jul 23 '21 20:07 electrikjesus

Confirmed to be working in beta release

sickcodes avatar Jul 23 '21 21:07 sickcodes

Can we have access to the beta release, please?

Dinibewerbig avatar Aug 20 '21 04:08 Dinibewerbig

@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 avatar Jan 12 '22 10:01 HuskyDG

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

axonasif avatar Jan 12 '22 12:01 axonasif

@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

HuskyDG avatar Jan 12 '22 12:01 HuskyDG

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)".

igormacedo avatar Mar 17 '22 16:03 igormacedo

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

HuskyDG avatar Mar 26 '22 15:03 HuskyDG