![]() |
Ubuntu boot problem - Printable Version +- Linux-Noob Forums (https://www.linux-noob.com/forums) +-- Forum: Distro Noob (https://www.linux-noob.com/forums/forum-10.html) +--- Forum: Ubuntu (https://www.linux-noob.com/forums/forum-99.html) +--- Thread: Ubuntu boot problem (/thread-1322.html) |
Ubuntu boot problem - Varjagy - 2007-06-12 Well, now I have tinkered a bit to much for my own good. When I try to boot I get these messages: init: Unable to execute "/bin/sh" for rcS: No such file or directory init: rcS main process (2397) terminated with status 255 init: Unable to execute "/bin/sh" for rc-default: No such file or directory init: rc-default main process (2398) terminated with status 255 I need a really noobish explanation on how to fix. Ubuntu boot problem - Varjagy - 2007-06-12 I am using a LiveCD, to try and copy the /bin/sh from the CD to the partition. I am using mount rw /xxx/xxx /xxx/xxx, but it won't let me write to the partition. Any solution? Ubuntu boot problem - znx - 2007-06-12 After poking around with Varjagy in the IRC channel we were able to assist him to get this working. The permissions error was due to the LiveCD starting a shell with user permissions and not root. Using sudo su - we got in. Then a straight cd /mnt/crap/bin && ln -s dash sh and we were sorted. Yay! Ubuntu boot problem - Varjagy - 2007-06-12 Yes, I have learned a lot today thanks to znx and Ritter. Thanks guys. Ubuntu boot problem - julied - 2008-01-11 Quote:Yes, I have learned a lot today thanks to znx and Ritter. How were you able to issue any linux commands from a command line when the computer wouldn't boot up due to the 'unable to execute bin/sh". I am receiving the same error. How can I move around this? Ubuntu boot problem - znx - 2008-01-12 Quote:How were you able to issue any linux commands from a command line when the computer wouldn't boot up due to the 'unable to execute bin/sh". I am receiving the same error. How can I move around this? By using a LiveCD distribution (for instance I would suggest Knoppix). Once you get booted from the CD you can then mount your main system's root partition and then issue commands to fix it. If you can get access to IRC then one of us should be online and can help walk you through the process. Indeed you should be able to IRC from the Knoppix LiveCD :) Ubuntu boot problem - Chris Gray - 2009-02-26 Quote:After poking around with Varjagy in the IRC channel we were able to assist him to get this working. The permissions error was due to the LiveCD starting a shell with user permissions and not root. Using sudo su - we got in. Then a straight cd /mnt/crap/bin && ln -s dash sh and we were sorted. Yay!I am having the same message when Linux boots. I'I've read the posts , burned the livecd, and booted from it. I've done the sudo su successfully and am root. However, this post then says: cd /mnt/crap/bin && ln -s dash sh ] and we were sorted. Yay! ] I have no idea what that means or what to do here. To mount my computer hard drive, what commands should I issue? Thanks. CHris |