[Nix-dev] Can't create btrfs when installing nixos
Mathijs Kwik
mathijs at bluescreen303.nl
Tue Dec 11 15:50:47 CET 2012
Hi Bill,
In an amazing coincidence, I ran into the same issue today (mkfs.btrfs
from livecd).
This is a bug upstream, but you can work around it by:
mkdir -p /mnt-root/nix-store.squashfs
After that, it will work.
The issue is that that directory is mentioned in /proc/mounts but
doesn't exist (it exists in the initrd, before switching to the real
root). btrfs tries everything in /proc/mounts to see if you don't
accidentally overwrite a mounted object.
On Tue, Dec 11, 2012 at 6:14 AM, Bill Trost <trost at cloud.rain.com> wrote:
> Hi, all,
>
> I just installed nixos-minimal-0.1pre4011_13617b8-28d1785-i686-linux.iso on
> an old ASUS netbook this weekend. I'm impressed by how smoothly it went.
> One little hiccup, though, is that mkfs.btrfs wouldn't work -- it gave me an
> error like "can't determine mount status of /dev/sda3".
>
> On a barely related front -- has anyone attempt to run an NX client under
> NixOS? It's been a long time since I've worked with nix packages, and
> qtnx is presumably a non-trivial package to implement.
>
> Thanks,
> Bill
> _______________________________________________
> nix-dev mailing list
> nix-dev at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
More information about the nix-dev
mailing list