Am 03.07.2012 20:00, schrieb David Kuhl:
> I'm so stuck with this Gentoo laptop.  It started with a standard
> update which was the first in three months.  Then when the X didn't
> run due to xorg-server getting upgraded, the 3.3.8 gen kernel was
> suppose to be built with KSM.  That failed due to mkfs_ext2.h.  The a
> beta of genkernel was used and which built the kernel and initramfs,
> but the rest of the machine looks like it's gone.  All the LVM2
> partitions are broke:  /home /var /opt /usr.  What's the best way to
> get this back without loosing the system?  Thanks
> 

Step one: Do a full disk backup. Boot to a live-CD, then back everything
up with dd or -- if available -- ddrescue.

Step two: Replace broken partitions with `mount --bind` versions from
the live-CD. Then chroot into your system. Refer to the Gentoo Handbook
for details.

Step three: Do you still have /etc? In that case, you can try to restore
the LVM metadata from backups that are automatically created by certain
operations.

Try `vgcfgrestore --list <volume group>` from a to see what is available.

Step four: Post more info.

Regards,
Florian Philipp

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to