On Tue, Feb 2, 2016 at 3:01 PM, Hendrik Friedel <hend...@friedels.name> wrote: > Hello Hugo, > >>> Here I am stuck in a recovery prompt. >> >> By far the simplest and most reliable method of doing this is to >> use an initramfs with the command "btrfs dev scan" in it somewhere >> before mounting. Most of the major distributions already have an >> initramfs set up (as does yours, I see), and will install the correct >> commands in the initramfs if you install the btrfs-progs package >> (btrfs-tools in Debian derivatives). >> > I would like to go the sensible way :-) > But can you hint me how and where to add the btrfs device scan option to the > initramfs?
If btrfs-progs 4.3.1 is installed already, dracut -f will rebuild the initramfs and should just drag in current tools which will include 'btrfs device scan'. -- Chris Murphy -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html