View Single Post
Posts: 1,101 | Thanked: 1,184 times | Joined on Aug 2008 @ Spain
#8
ezcola: try booting from sd
McLightning:
Can you still read your sd card?
If so, you can get a list of all installed packages and reinstall them with apt-get with just one command.
Mount the mmc's root partition under /mnt or somewhere else, chroot there, and get the list of all installed packages with
Code:
chroot /mnt dpkg -la|grep ^ii|cut -f 3 -d ' '>/media/mmc2/pkg-list
Then prepare a new mmc card, boot from it, and apt-get install everything
Code:
apt-get install $(cat /media/mmc2/pkg-list)

Last edited by maacruz; 2010-02-11 at 16:45.