Results 1 to 4 of 4

Thread: /bin/bash /bin/sh symlink problem

  1. #1
    Join Date
    Mar 2009
    Beans
    2

    Cool /bin/bash /bin/sh symlink problem

    I*went*and*typed*this*into*my*terminal*when*instal ling*spoonwep.*I*have*had*no*problems*on*previous* versions*of*Ubuntu*but*10.04*didn't*like*what*I*di d*to*it.*

    Code:*"sudo*rm*/bin/sh*&&*sudo*ln*-s*/bin/bash/*/bin/sh"

    I guess I*need*to*chroot*into*the*installation*from*a*live *cd*/*USB to fix it.*Do*I*need*to link /proc*,*/sys or any other folders from*the*running*system?*And*what*do*I*have*to*typ e*to*revert*the*changes? Please help!

    Thanx.*

  2. #2
    Join Date
    May 2010
    Location
    Here
    Beans
    1,297
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: /bin/bash /bin/sh symlink problem

    Quote Originally Posted by Duvelhedz View Post
    I*went*and*typed*this*into*my*terminal*when*instal ling*spoonwep.*I*have*had*no*problems*on*previous* versions*of*Ubuntu*but*10.04*didn't*like*what*I*di d*to*it.*

    Code:*"sudo*rm*/bin/sh*&&*sudo*ln*-s*/bin/bash/*/bin/sh"

    I guess I*need*to*chroot*into*the*installation*from*a*live *cd*/*USB to fix it.*Do*I*need*to link /proc*,*/sys or any other folders from*the*running*system?*And*what*do*I*have*to*typ e*to*revert*the*changes? Please help!

    Thanx.*
    I just have a question... was those "*" intentional?

  3. #3
    Join Date
    Mar 2009
    Beans
    2

    Re: /bin/bash /bin/sh symlink problem

    don't know how all the stars got in between every word. Apologies

    here it is again

    I'm blaming the stars on a stupid iphone. Appears fine before I post the message. Stars appear after I hit the post button. No idea why.
    I*went*and*typed*this*into*my*terminal*when*instal ling*spoonwep.*I*have*had*no*problems*on*previous* versions*of*Ubuntu*but*10.04*didn't*like*what*I*di d*to*it.*Code:*"sudo*rm*/bin/sh*&&*sudo*ln*-s*/bin/bash/*/bin/sh"
    I guess I*need*to*chroot*into*the*installation*from*a*live *cd*/*USB to fix it.*Do*I*need*to link /proc*,*/sys or any other folders from*the*running*system?*And*what*do*I*have*to*typ e*to*revert*the*changes?*
    Last edited by Duvelhedz; August 13th, 2010 at 03:31 AM. Reason: Clarification.

  4. #4
    Join Date
    May 2010
    Location
    Here
    Beans
    1,297
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: /bin/bash /bin/sh symlink problem

    Quote Originally Posted by Duvelhedz View Post
    don't know how all the stars got in between every word. Apologies

    here it is again

    I'm blaming the stars on a stupid iphone. Appears fine before I post the message. Stars appear after I hit the post button. No idea why.
    I went and typed this into my terminal when installing spoonwep. I have had no problems on previous versions of Ubuntu but 10.04 didn't like what I did to it. Code: "sudo rm /bin/sh && sudo ln -s /bin/bash/ /bin/sh"
    I guess I need to chroot into the installation from a live cd / USB to fix it. Do I need to link /proc , /sys or any other folders from the running system? And what do I have to type to revert the changes?
    You made a slight typo in your code.
    Code:
    sudo rm /bin/sh && sudo ln -s /bin/bash/ /bin/sh
    That is what you did.
    This is what you should do:
    Code:
    sudo rm /bin/sh && sudo ln -s /bin/bash /bin/sh
    Now try it.

Tags for this Thread

Bookmarks

Posting Permissions

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