PDA

View Full Version : [ubuntu] Crash and all I've got is ash .... can I recover ?



Gudjon
October 12th, 2010, 08:43 PM
Hello!

Did som weird mistake.
Running my desktop with Ubuntu 10.04 and I was saving some work to my USB-stick.
The USB-stick has an older Ubuntu-version that I have been trying out, I have also created a folder named 'mystuff' - I copied some stuff to that stick.
Leaving home today, I did press the 'hibernate' option.
Coming back from town, I pressed the 'on/off'-button on my computer and the computer starts up from my USB - that was not what I wanted.

I pull out the USB and press the 'on/off'-button -wanting to get to my computer.

I am now met by a black-screen.
the text says:

'mount: mounting /dev on /root/dev failed: No such file or directory'
'Target filesystem doesn't have /sbin/init.'
'No init found. Try passing init=bootarg'

Then it say:

'BusyBox v1.13..3 ( Ubuntu 1:1.13.3-1ubuntu11) built-in shell ( ash )
Enter help for a list of built-in commands '

Is it possible to restore my system the way it was ?
I have been installing a variety of programs that took me a while ( had the version 10.x since March this year ).

My Best regards, Gudjon

ft-Orchard
October 12th, 2010, 09:05 PM
Try these:

http://ubuntuforums.org/showthread.php?t=1244466
http://ubuntuforums.org/showthread.php?t=295508
http://ubuntu-ky.ubuntuforums.org/showthread.php?p=8748384

Gudjon
October 12th, 2010, 09:16 PM
Thanks for your reply.

/bin/sh: sudo : no found

-G

sandyd
October 12th, 2010, 09:21 PM
Thanks for your reply.

/bin/sh: sudo : no found

-G
boot to livecd and post output of


sudo fdisk -l

ft-Orchard
October 12th, 2010, 09:27 PM
Thanks for your reply.

/bin/sh: sudo : no found

-G

Install and setup sudo:


$ su
$ (enter root password)
$ apt-get install sudo
Then add the following line to "/etc/sudoers"
(first do "su" again)

%your username% ALL=(ALL) ALL