Score:0

Recovery mode starts with RW filesystem

pm flag

I'm running Kubuntu 22.04 and I can't seem to get it to start with the root filesystem mounted as read-only. Looking at the kernel parameters for recovery mode, grub does pass ro, recovery, and a couple of other parameters I don't know to the kernel. However, if I go to the menu option to open a shell, the root partition is loaded RW. I've tried changing the recovery parameter to single which skips the menu and goes straight to a shell, but root is still mounted RW. I need to do something with the filesystem mounted RO but once it's RW, I can't change it as it's busy. It certainly doesn't seem ideal for a "recovery mode"...

guiverc avatar
cn flag
You've not mention what Kubuntu system you're using, but why not just boot *live* media to perform your checks or whatever you want to do.
Kenshi avatar
pm flag
Well uname says I'm using #66-kubuntu, whatever that means. It's a complicated story, but I'm trying to copy files from an old raid array to a less old SATA drive and I have to set iommu=soft to access the raid array at all but due to a kernel bug, it corrupts the filesystem on my NVMe. Besides that, it's just kind of dumb to automatically mount it as RW when I go to single-user mode. If I want it in RW mode, I'll remount it myself.
guiverc avatar
cn flag
The boot process reads data from your systems *file-system table* thus is a RW state exists there, it has a RW mount direction during the boot process. As I suggested before, booting *live* media will bypass this.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.