-
-
Notifications
You must be signed in to change notification settings - Fork 14.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG]: e2fsck has unsupported feature(s): FEATURE_C12 #229450
Comments
Ditto.
|
The update has been merged. And the unstable channel of nixpkgs has been updated too. I will close this issue. |
I'm trying to dualboot Arch and nixos and get this error during installation. I chose the option "Install alongside". I've tried to install the freshest e2fsck manually, but to no avail. Is it possible to dualboot this way, or should I completely reinstall? I even tried an older version of nixos, nixos-plasma5-22.05.998.d17a56d90ec-x86_64-linux, but that also didn't work. I tried installing on a fresh VM and everything went smoothly, so Arch must be somehow interfering with the install. |
Perhaps you should not use the option "install alongside". I'm also dual booting arch and nixos, but I put them on different disks and created |
Well, I wish I could do that, but my laptop doesn't have 2 disk slots, so this is still an issue. |
Maybe boot from a live medium of Arch to shrink the partition there, so that NixOS install doesn't need to touch the existing / ? (BTW, I have used two separate UEFI system partitions on the same disk, this is motherboard-dependent, but with some laptops it works fine) |
If you encounter this too (especially on something like Raspberry), you can use the following workaround. You can disable this feature on an already-created filesystem, but it should not mounted. (You may have to boot from live-USB or something.) Disable it as follows:
The 2nd command will find and remove the inodes related to this feature. |
Careful as in zsh Maybe a patch should be made to give the 1.47.0 feature in 23.05. Or maybe a patch to automatically perform those two commands on any ext4 at boot, because actually 23.05 can't use those new filesystems as is And maybe add # before the command to indicate that on default/normal/common systems, root rights will be needed to perform actions on /dev/* Those are meant to be applied once, or each time 1.47.0 touch it, runs? Each NixOS 23.05 boot? |
Describe the bug
When I mounted my archlinux ext4 partition, add following lines in hardware-configure.nix:
I got following error:
And I use e2fsck 1.47.0, I didn't get this error. The output is following:
[lucky@nixos:~/Downloads/e2fsprogs-1.47.0/e2fsck]$ sudo ./e2fsck /dev/nvme0n1p2 e2fsck 1.47.0 (5-Feb-2023) /dev/nvme0n1p2: clean, 1738331/122036224 files, 65701918/488128256 blocks
My current e2fsck version is 1.46.6. Maybe we need to update the e2fsck version with unstable channel.
The text was updated successfully, but these errors were encountered: