On Fri, May 4, 2012 at 7:24 PM, Steven Post <redalert.comman...@gmail.com> wrote: > > I'm testing out a new system, the idea is to combine 6 hard drives into > a single btrfs volume (raid10) (using subvolumes for /, /home, etc). I > understand that it is now possible to also have /boot on btrfs > (previously impossible because of GRUB). > > Unfortunately the Debian installer (daily build for wheezy) is unable to > create multi-device btrfs volumes. > > I tried the a normal install and then copy it over to a multi-device > btrfs system, afterwards adding the remaining disk: > 1) using a single drive to install using ext4 for /boot and btrfs for / > 2) after (successful) installation boot from a live cd (ubuntu 12.04 in > this case, but it shouldn't really matter) > 3) create partitions for btrfs on the other 5 drives using gdisk > 4) create a multi-device btrfs filesystem with those partitions, with a > subvolume for the root filesystem and for /home > 5) copy all the data from the first disk to the new btrfs volume > 6) chroot into the rootfs of the new volume, after mounting (-o > bind) /dev, /proc and /sys into the mounted system > 7) change fstab for the new drives and modify /etc/default/grub > 8) run update-grub: this is where things start falling down, I get an > error about / not being mounted so grub fails. > > This is apparently caused by a regression in GRUB [1] (Debian bug > #538118). > > Has anyone attempted such an install before? How should I proceed with > this? > > [1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=538118
I don't think that this bug corresponds to your problem because you're bind-mounting "/dev". Does grub-probe work inside the chroot? grub-probe --target=abstraction / grub-probe --target=drive / grub-probe --target=fs / grub-probe --target=fs_uuid / grub-probe --target=partmap / -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/CAOdo=sykq9whl_ior1q+psq4+icawyoq-xvxf1jue9gcbe3...@mail.gmail.com