Score:0

How to convert zfs /boot to ext4

us flag

I want to change /boot from zfs to ext4. I've tarred the contents of /boot for safe-keeping. I can't unmount /boot while linux is running because the kernel is in /boot. If I use the LiveCD, I can get access to the disk containing /boot. If I delete the boot partition, re-format as ext4, and un-tar into the new ext4 partition, what will happen when I reboot? Will zfs die because /boot is no longer zfs? Is there a safer way to delete /boot before reformatting that partition? Is there a way to mount the zfs root partition while running LiveCD so I can access boot.tgz?

user535733 avatar
cn flag
Theoretically, there's nothing wrong with your plan. But that's not a guarantee it will work. Evaluate and manage your risks: Be prepared to handle the most likely and most serious problems that you might encounter. Once your surgery is complete, write it up as an answer.
hu flag
Do you have questions related to Ubuntu? ...because it is AskUbuntu, after all.
us flag
Sorry if I posted to the wrong group. I'm trying to get my upgrade of Ubuntu 23.04 (from 22.10) to work. It seems to be hung up on zfs, and I've been stuck in recovery-console hell for a week.
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.