[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#711293: debian-installer: System fails to mount root after installing btrfs on raid



Package: debian-installer
Version: 20130430
Severity: normal

Since my system (Asus eeepc 901) has fairly slow SSD disks, I tried to
install on a software RAID0 chain, but that failed to boot. These are the
steps I performed:

1. Set up two 4 gigabyte partitions (in my case sda2 and sdb1) for RAID.
2. (I also set up the remaining space on sdb as a 12 gigabyte /srv ext4
   partition; the remaining partition on sda was an EFI data partition).
3. Create a RAID0 chain between sda2 and sdb1.
4. Create a btrfs partition on md0, mounted as /.
5. When partition was done, switched to the tty2 shell and remounted the
   partition with compression (mount -o remount,compress,ssd -t btrfs
   /dev/md0 /target).
6. Ran the installer to finish.
7. Installed grub in /dev/sda
8. Reboot.

After reboot, the Grub boot menu shows up as expected and it can load and
boot the kernel. However, the initrd failed to mount the root file system,
despite identifying the /dev/md0 chain.


I do read that I should not use btrfs over a RAID chain, but instead use its
built-in RAID support, but I was unable to find anything in debian-installer
to use that feature.


Reply to: