Find the answer to your Linux question:
Results 1 to 4 of 4
Hi, I need help with my Linux Slackware 9.1! I accidentally removed glibc and now my system is useless. I can't login or do anything else. When my system boots ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Dec 2011
    Posts
    3

    Accidentally removed glibc on slackware


    Hi, I need help with my Linux Slackware 9.1!

    I accidentally removed glibc and now my system is useless. I can't login or
    do anything else. When my system boots I get messages like this:

    INIT:no cannot execute "sbin/agetty"
    INIT:no cannot execute "command/svscanboot"
    INIT:no more processes left in this runlevel

    I have two SCSI disk, when I try with linux rescue I get message "Can't mount root".
    I downloaded slack live cd and now I am able to see my partitions but don't know how to fix this
    problem.

    Thank you!

  2. #2
    Just Joined!
    Join Date
    Oct 2005
    Posts
    5
    If you have your original installation disk - you can cd into the directory that has the package you want: glibc : and issue the command
    Code:
    installpkg -reinstall glibc*tgz --root /mnt/whatever
    It should replace all the files back to their original state. whatever refers to whereever you mounted your root directory

  3. #3
    Just Joined!
    Join Date
    Oct 2005
    Posts
    5
    Depending on which file you deleted - there are two glibc locations on the installation disk:

    /slackware/a/glibc

    or

    /slackware/l/glibc

  4. #4
    Just Joined!
    Join Date
    Oct 2005
    Posts
    5
    Whoops, didn't realize you posted over on Linux Questions - You are bound to find quite a few people over there.


    /questions/slackware-14/accidentally-removed-glibc-on-slackware-919453/

Posting Permissions

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