Chinese Cinderella
Friday, January 6, 2006
Ok at the request of a Kimitsu (:P), I have bought, read, and reviewed the book Chinese Cinderella, all in 5 days!


Assuming it's your root drive that's broken, and it is /dev/sda1 with ext3:
mount -t ext2 -o dev /dev/sda1 /mnt/sda1
chroot /mnt/sda1
Ok the -o dev option to mount causes it to interpret the special dev files and map them correctly to the appropriate character devices. You then chroot to the root of the mount point, and you have an 'emulated' rescue machine, on your native root file system. Rebuild the kernel, reinstall LILO etc.
By the way, Knoppix works really well as a rescue CD because of it's massive support for hardware!