Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I can no longer boot my server up. I get the following issue:

Loading, please wait...
Target filesystem doesn't have requested /sbin/init.
/bin/sh: can't access tty; job control turned off
# _

and my system just sits there. It occured after I removed upstart

apt-get remove upstart

and then rebooted because I always reboot the system after I run any apt-get command.

When I run the system in recovery mode I get a kernel panic, so I cannot boot into recovery mode.

Please help me.

share|improve this question
add comment

2 Answers

up vote 1 down vote accepted

Boot off a Live CD. You can either try booting into rescue mode (http://www.cyberciti.biz/faq/howto-boot-ubuntu-linux-rescue-mode/) and try repairing your system or you can try and do a re-install but don't format the file systems so you won't overwrite any data you've written to disk.

Either way, you can backup your data using the rescue mode.

share|improve this answer
    
At what point does it panic? During boot off Live CD? What Live CD are you booting off of? –  Andrew Case Sep 24 '11 at 23:56
    
When I am in grub, I select the second option, and then the log reads kernel panic. –  macintosh264 Sep 24 '11 at 23:57
    
grub of your install or the live cd? –  Andrew Case Sep 24 '11 at 23:58
    
What can I do with my data from the live cd. How can I save it. And how can I save the apache settings and things like that. Please help me. If you either of you can solve this you can get 4 bitcoins if you so please. –  macintosh264 Sep 24 '11 at 23:59
    
Grub of my install –  macintosh264 Sep 24 '11 at 23:59
show 6 more comments

Like ACase said, boot off a Live CD. Then, mount your data:

cat /proc/partitions to find what partitions available mkdir /mnt/my_disk mount -t /mnt/my_disk chroot /mnt/my_disk apt-get install upstart umount /mnt/my_disk restart without live CD

share|improve this answer
    
What can I do with my data from the live cd. How can I save it. And how can I save the apache settings and things like that. Please help me. If you either of you can solve this you can get 4 bitcoins if you so please. –  macintosh264 Sep 24 '11 at 23:58
    
You can scp it off to another host if you enable networking. Or just stick in a USB stick and cp the files off. –  Andrew Case Sep 24 '11 at 23:59
    
and what about appache settings, my php cli extensions, and other stuff. And do you think I should cp it to my second internal HD, and if so how can I mount it. –  macintosh264 Sep 25 '11 at 0:01
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.