-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Am Fr den  1. Mär 2013 um  0:14 schrieb Axel Beckert:
> For all those who are also suffering from this issue, too, here's the
> recipe how I downgraded btrfs-tools to the version from testing again
> on my system:
> 
> At the maintenance mode password prompt, enter the root password.
> 
> You may need to add /sbin and /usr/sbin to the path depending on your
> login shell setup. Thanks Christian Stalp!
> # export PATH="/sbin:/usr/sbin:$PATH"
> 
> With the default setup, sourcing /etc/profile should suffice.
> # . /etc/profile
> 
> Mount the root file system read-write:
> # mount -o remount,rw /
> 
> Mount the /boot partition, if existing:
> # mount /boot
> 
> Either get network, ...
> # dhclient eth0
> 
> (Since Julien Cristau NMUed btrfs-tools in Wheezy yesterday[1], you
> may want to update your package lists, too.)
> # apt-get update
> 
> ..., fetch the version from testing (assuming you have a deb-line with
> testing in your sources.list, too) and downgrade to it, ...
> # apt-get install -t testing btrfs-tools
> 
> ... or, if you haven't done "apt-get clean" for a while, you may be able to
> just do
> # dpkg -i /var/cache/apt/archives/btrfs-tools_0.19+20121004-1_*.deb
> 
> Then call sync to make sure the new version is on disk:
> 
> # sync
> 
> and reboot, e.g. by pressing Ctrl-D.

It is even easier to fix. Even more, that method above will not work if
you have a proper partition layout keeping /usr and /var on different
partitions.

Just mount your / rw on the prompt, then replace the broken fsck by
/bin/true:
   rm /sbin/fsck.btrfs
   ln -s /bin/true !$

Sync and reboot. No need for network, no need to fiddle with installing
stuff on this very limited prompt (in some cases) ... More fail-safe.

After the reboot it is easy to just let it this way until a fixed
package comes out or install a older version like Axel mentioned above.
But there is no need for it as the fsck of old version is even just a
dummy.

Regards
   Klaus
- -- 
Klaus Ethgen                              http://www.ethgen.ch/
pub  4096R/4E20AF1C 2011-05-16   Klaus Ethgen <kl...@ethgen.de>
Fingerprint: 85D4 CA42 952C 949B 1753  62B3 79D0 B06F 4E20 AF1C
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iQGcBAEBCgAGBQJRMHCfAAoJEKZ8CrGAGfasGhsMALeEhS6b+lh4w7K2Ahb++oWE
d0TYa0ZMUdsNbMulA6UcsmBk2NFuvUS1BI7nq2mjiscLIjYFRgN2u1zgrCpIgFNd
erpCnYGaY8ujH+6qzHguIBN6tSuO5OZcKndnVfnEYo4T43HfgK+jhxN0Qk6JTAgR
Rm+jurDHCigox6T/AZGhMQP1zkS9Elv1Pj4VwTQCjvY9ryefGh8dgYV7DnnpHlef
i4PAem51PuMAxIjB8VmMwOllEWg0rJXmyi0E+CC3GRzNbppCtsyVEh2J9DdZKBp8
pQDNYbYNiPkQ++d39OgoegxanmC5niKbKUhX9qP005l9ugigQe9VJFgPlS7KcM+r
lNpKjpSAsmKwSEkcQrXfAsmjAXP096Fv+9EOX8BniMAPbZyHjnVDOAyEN6BA9xjQ
aFcqaqgDTg63H6RnnEwG925DcwsMZ4CEIVcWDoZcQevuXcG3wqrJaz3Hm2jGw/Kh
bitBdWtsecWQ6MiTHXkdcv0FYTFR+W5Ot4AXD0+KZQ==
=q2Dd
-----END PGP SIGNATURE-----


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to