Find the answer to your Linux question:
Results 1 to 6 of 6
I am the super beginner of Liunx system. Today, I have made a terrible mistake. I miss-deleted the /lib folder from the root. Could any one tell me how to ...
  1. #1
    Just Joined!
    Join Date
    Dec 2007
    Posts
    16

    Miss-deleted the lib folder

    I am the super beginner of Liunx system. Today, I have made a terrible mistake. I miss-deleted the /lib folder from the root. Could any one tell me how to recover it! Many thanks.

  2. #2
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,344
    Did you have a backup? If so, you can boot from a live cd and restore the backup. If you did not have a backup, you may have to reinstall the OS in order to fix the problem.

  3. #3
    Just Joined!
    Join Date
    Dec 2007
    Posts
    16
    Thanks a lot!
    Unfortunately I do not have backup. I have a lot of useful data in my Linux, is it possible I can get them back?

  4. #4
    Linux Guru gogalthorp's Avatar
    Join Date
    Oct 2006
    Location
    West (by God) Virginia
    Posts
    3,105
    Most of your data should be in the home directory which in Suse is normally installed on its own partition.

    When you reinstall do a full install when it comes to the partition manually set the home partition to no reformat be sure the mount point is set to /home.

    Set the root to reformat and mount as /.

    This will preserve all your personal data and settings.

    In this case an update may correct the problem and preserve all the programs and personal settings. Note update may cause problems if you have installed any apps outside of the ones normally on the distro. Generally reinstalling the apps will fix things. I perfer to do a full install as above and reinstall anything I might need. Rhis has the advantage of cleaning out all the old junk you might have installed and don't really need.

    In either case you will have to reinstall any external drivers like 3D video etc.

  5. #5
    oz
    oz is offline
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,099
    Quote Originally Posted by blablabla81 View Post
    I am the super beginner of Liunx system. Today, I have made a terrible mistake. I miss-deleted the /lib folder from the root. Could any one tell me how to recover it! Many thanks.
    Welcome to the forums, blablabla81!

    Just curious... you aren't running your Linux system from the root account, are you?

    If so, you need to stop doing so and create a user account to work from.
    oz

    new members/users: read this first | new member faq
    no private messages requesting computer support - post them on the forums!
    please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.

  6. #6
    Just Joined!
    Join Date
    Dec 2007
    Posts
    16
    Thanks a lot! I am going to try that!

Posting Permissions

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