How to solve "read-only file system"?
-
I used the ubports tool to fully refresh the Ubuntu touch system. The Oneplus Nord N10 phone has entered the system, but cannot be updated with "sudo apt update" and is displayed as "read-only file system". And the system randomly freezes.Display as "
qualcomm crashdump mode
PANIC
Unable to handle kernel paging request at
virtual address ffffffbf9f800688
Oops -
@tq
Please search the forum before posting new threads.
RO file system is not an issue to solve, it's like that by design.
Don't use apt update on Ubuntu Touch. It's NOT Ubuntu desktop.See there for complete answer : https://forums.ubports.com/topic/10033/read-only-file-system-what-is-it?_=1718772612904
Now, if you still want to "mess" with the system, we can tell you how to make it R/W, but then, you'll be on your own, as it is not the way UT should be used, there is no official support for this.
What do you want to do with write access ?
-
@Keneda Thanks for the response! you can tell me how to make it R/W,I want to use apt to install software.
Additionally, the system is randomly stuck, how can we solve it? Display "qualcomm crashdump mode
PANIC
Unable to handle kernel paging request at
virtual address ffffffbf9f800688" -
@tq said in How to solve "read-only file system"?:
"qualcomm crashdump mode
PANIC
Unable to handle kernel paging request at
virtual address ffffffbf9f800688"Power off the device with the power button. Leave it for a couple of minutes. Power back on. Crashdump mode should be gone and boot into UT should be fine.
If it won't power off after 40 seconds, hold volume up + volume down + power till the device reboots.
-
@tq said in How to solve "read-only file system"?:
I want to use apt to install software.
What software ?
Why don't you use libertine for that ?you can tell me how to make it R/W
-
@Keneda Thanks for the response! I have used the UT Tweak tool and mounted the system for read-write. Then I used APT to install the required software. thank you very much.
-
@tq
Now know this : next OTA update could break your installed software, or even the system itself.You're now in uncharted territory, any injury is on you.
-
@MrT10001 Thanks for the response! Is this error normal? After flashing the system, it appeared several times after entering the system normally. I thought I didn't brush the Ubuntu system properly.
-
@Keneda Thanks for the response!At present, the device support is good, and I have disabled system updates. I will not update the system temporarily. I may update the system in a long time, but I will back up the data.
-
@tq said in How to solve "read-only file system"?:
I may update the system in a long time, but I will back up the data.
Good.
Also, consider using Libertine, which is the supported way for running classical desktop programs on Ubuntu Touch. -
@tq I see this error on the Oneplus 5/5T, 6/6T,but yet to see it on the Nord N100 or N10 5G. Usually points to a battery with low charge and trying to reboot or power up the device. I leave it to charge for 30 minutes and it always boots fine afterwards.
-
@tq Please remember also that if you update the UT system in the expected way your other changes may well be removed or altered.
-
Like others have said. If you know what you are doing or just want to install "curl" to check your outbound ip address or something. Here you go, these commands worked for me:
Sudo mount -o remount,rw/
Sudo rm -f /var/lib/dpkg/lock
Sudo dpkg --configure -a
Reboot
Sourced from the Nexus 6P help thread here: https://forums.ubports.com/topic/6512/nexus-6p-sucess?_=1719225688591
-
@tq sudo apt update is not recommended as it will break your system, thats why the Ubuntu Touch is read only system.