[Nix-dev] Can't create btrfs when installing nixos
Lluís Batlle i Rossell
viric at viric.name
Tue Dec 11 16:17:32 CET 2012
On Tue, Dec 11, 2012 at 03:50:47PM +0100, Mathijs Kwik wrote:
> 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.
Yes, I also had to use this when I created the btrfs half a year ago. I
discussed this at irc with #btrfs people, whether it's their bug... but I don't
remember the outcome.
Regards,
Lluís.
> 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
> _______________________________________________
> 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