[mythtv-users] Permission denied to ls for root?
Stephen Boddy
stephen.boddy at btinternet.com
Sat Jul 15 03:57:03 UTC 2006
On Saturday 15 July 2006 02:56, Ryan Steffes wrote:
> After rebooting about ten more times, all with lock ups, it suddenly sailed
> through the mounting with no problems. That concerns me, since I sincerely
> doubt it just magically fixed something. What, if anything, should I do at
> this point?
Ideally:
- Unmount the partition
- Do a dd image of the partition to a file
- Make the dd image read-only (chmod)
- Format the original partition (ideally with something like xfs rather than
reiser)
- Use a loop device to mount the image file read-only to a temporary directory
- Recursively copy the files off the looped image to the new filesystem
You might have to do the copy piece-wise if there are files that are
irretrievably stuffed. Note that even though a file may copy OK, the contents
may still be corrupted.
Alternatively you prey that reiserfsck was able to fix everything properly.
--
Steve Boddy
More information about the mythtv-users
mailing list