Hardy update crashed my laptop

March 13, 2008

Today morning’s upgrade of libc6 cashed my laptop’s OS! Here is the trick to recover the OS

  1.  Boot from live cdrom
  2. Mount root-partition mount /dev/sda1 /mnt
  3. cp –parents `dpkg -L libc6-i686 | xargs` /mnt/
  4. cp –parents `dpkg -L libc6 | xargs` /mnt
  5. chroot /mnt
  6. apt-get update
  7. apt-get upgrade
Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: