slashbeast / better-initramfs

Small and reliable initramfs solution supporting (remote) rescue shell, lvm, dmcrypt luks, software raid, tuxonice, uswsusp and more.
BSD 3-Clause "New" or "Revised" License
318 stars 54 forks source link

Lvm on Luks on Bcache #24

Closed conn closed 9 years ago

conn commented 9 years ago

Bcache devices don't get registered and I get dropped to rescue shell. Looking at your code, whatever is in /sys/block/* is NOT in the root of /dev. It only picks up "/dev/sdc", which is a thumb drive, while my backing volume is "/dev/sda2" and my caching volume is "/dev/sdb".

for i in $(ls /dev/sd*); do echo $i > /sys/fs/bcache/register_quiet; done

seems to work just fine so i'll try plugging that in for now and see what happens

slashbeast commented 9 years ago

Please let me know if 0db5fe6 commit on devel branch fixes your usecase.

conn commented 9 years ago

you've got a broken link that fails when trying to fetch dropbear

"http://matt.ucc.asn.au/dropbear/releases/dropbear-2013.62.tar.bz2"

slashbeast commented 9 years ago

The link works for me, what are you getting when trying to access it?

slashbeast commented 9 years ago

I've did new release with this fix, everything went okey, everything was downloaded. The 0db5fe6 will work for all block devices. If you have problem building you can use the 0.9.0.1 binary packages that I just uploaded to bitbucket.