Results 1 to 1 of 1
Hello everyone. I have an Ubuntu box that I'm using as a router/server, and sometime earlier the power tripped and I had to repair my disk with fsck. The filesystem ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 10-28-2008 #1
Recovering from hard-drive failure.
I have an Ubuntu box that I'm using as a router/server, and sometime earlier the power tripped and I had to repair my disk with fsck. The filesystem was easily recoverable, however some system files were lost; I've replaced most of the obvious ones that have something complaining about them, but I'm not assured that it's 100% okay.
What'd I'd like to do is somehow compile a list of all of the packages that I have insalled, and then use that in an "apt-get --reinstall install" command so that I can repair all of the packages. The only problem is that I'm not sure if any of the .deb packages in the cache are missing, or if apt-get will be able to correct this problem.
I'm also wondering if there's a way to get a log from fsck of all the files that were lost, so that I could find their matching inode in the lost+found.