Bug 436005

Summary: Kde neon Not installed on Btrfs
Product: [KDE Neon] neon Reporter: inmatrixman
Component: Live/Install imagesAssignee: Neon Bugs <neon-bugs-null>
Status: CLOSED UPSTREAM    
Severity: normal CC: bugs.kde.org, groot, jr, neon-bugs-null, rayfinkle2008-kde, rikmills, sitter
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description inmatrixman 2021-04-21 14:43:54 UTC
SUMMARY

The system is not installed if you select the btrfs file system as the / root partition.
Gives an error message:

"Failed to unpack image "/cdrom/casper/filesystem.squashfs" rsync failed with error code 11!

STEPS TO REPRODUCE
1. Download the User Edition installation image
2. Start the installation of the distribution kit, and select btrfs as the file system under the / root partition
3. Start installation

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 5.21.4
(available in About System)
KDE Plasma Version: 5.21.4
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Harald Sitter 2021-04-21 15:10:31 UTC
looks like a bug in the installer -> https://github.com/calamares/calamares/issues
Comment 2 inmatrixman 2021-04-21 15:53:31 UTC
Sorry, but I didn't find the same error there(In reply to Harald Sitter from comment #1)
> похоже на ошибку в установщике ->
> https://github.com/calamares/calamares/issues

Sorry, but I didn't find the same error there
Comment 3 Harald Sitter 2021-04-21 15:54:54 UTC
You are meant to file it there. It's not a neon defect.
Comment 4 groot 2021-04-23 21:25:55 UTC
Filed upstream as https://github.com/calamares/calamares/issues/1682
Comment 5 King 2021-05-21 02:48:51 UTC
In case it helps anyone else, I can confirm that the fix mentioned here works: https://github.com/calamares/calamares/issues/1682#issuecomment-826358029
Comment 6 iGadget 2021-06-11 07:46:35 UTC
*** Bug 438390 has been marked as a duplicate of this bug. ***
Comment 7 iGadget 2021-06-11 07:51:34 UTC
So, if a workaround / fix is available, why isn't it included in the Neon live images?
Seems trivial to me:
1. Download https://github.com/calamares/calamares/blob/calamares/src/modules/mount/mount.conf
2. Replace existing /calamares/desktop/modules/mount.conf on Live image
Done.
What's the holdup?
Comment 8 iGadget 2021-06-22 09:30:21 UTC
Wanting to help move this forward, I tried creating a merge request, only to find out that's already been done on May 11: https://invent.kde.org/neon/neon/calamares-settings/-/merge_requests/1

Please merge and get this bug fixed.
Comment 9 groot 2021-06-24 22:06:02 UTC
Right now there's **no** layout, and installation fails. Merging a specific layout means that that is "the layout" and then installation will succeed, but you're stuck with the subvolumes chosen in that specific layout. Soon, Calamares will have a fallback / default layout that it will use even if there's no layout -- so you'll get "the layout" from Calamares. People get shirty if "the layout" is wrong -- as in, argumentative whether /var/db should be a subvolume or not -- so having any layout at all is bad news for distro's, who are going to take the heat for it.

(PRs for a btrfs-layout-designing tool in a Calamares module are welcome)
Comment 10 groot 2021-07-07 12:07:16 UTC
A fix has landed upstream, and will hit a release Real Soon Now, so that will end up in neon whenever neon updates.
Comment 11 Rik Mills 2021-07-25 17:35:59 UTC
The Neon user edition ISO should now have calamares v3.2.40, which supposedly has the fix.

https://github.com/calamares/calamares/releases/tag/v3.2.40
Comment 12 groot 2021-07-25 21:24:58 UTC
I can confirm that at least a manual install with an EFI partition and a / covering the rest of the disk with btrfs, does work (and gets you a /@ and a /@home, or whatever you would call those in btrfs. (KDE neon user edition, neon-user-20210725-1655.iso)