Find the answer to your Linux question:
Results 1 to 4 of 4
I lost power on my mail server, and evidently the timing was really bad because it looks like it corrupted my hdd. So, I booted up the installation disks, ran ...
  1. #1
    Just Joined!
    Join Date
    Nov 2006
    Posts
    6

    Linux Rescue worked, now what?

    I lost power on my mail server, and evidently the timing was really bad because it looks like it corrupted my hdd. So, I booted up the installation disks, ran Linux Rescue, it mounted the drives and I ran the chroot command.

    So, how do I fix the disk from this point? The mount command seems to be telling me that it cant find the partition labelled root, but I can read the fstab. A reboot just takes me grub.

    I can see the directories after running rescue, and it appears that the files are present. And it appears to have network access. I would really like to back up everything before I really try anything desparate.

    If I decide just to stand up a new server, can I just copy the directories to a USB device and then to my new server, and still have all the same usernames and software? I suppose scp might work, but I havent tried that.

  2. #2
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Backup data and boot up from LiveCD of any Linux distro. Execute fsck command on each partition. It will fix most of the errors.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  3. #3
    Just Joined!
    Join Date
    Nov 2006
    Posts
    6

    And then...

    Ok, if that doesnt work, any pointers on trying to copy the files? I might be able to mount a USB drive. But I will only want to copy the users and installed software, not the drivers. Is there any simple way to do that?

  4. #4
    Just Joined!
    Join Date
    Jan 2010
    Location
    Russia
    Posts
    10
    Quote Originally Posted by akerber00 View Post
    Ok, if that doesnt work, any pointers on trying to copy the files? I might be able to mount a USB drive. But I will only want to copy the users and installed software, not the drivers. Is there any simple way to do that?
    Yes of course. Just booting from any LiveCD of distro and mount your partitions and go!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...