Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Can't seem to boot into root shell in recovery mode from GRUB. I try booting into recovery mode from the GRUB menu and don't ever get a shell, just log messages from the kernel bootup. Ctrl+Alt+F1-F12 don't really give me anything important either.

share|improve this question
add comment

2 Answers

up vote 8 down vote accepted

u can manually edit ur grub file. For example, when booting up, press Shift to get into grub2, and press e to edit the commandline, change the commandline: append init=/bin/sh

linux init=/bin/sh

and if you are lucky, you can get in a shell. How to boot GRUB2 into the simplest Linux shell ?

share|improve this answer
    
Thanks for the answer. I'm new-ish to kernel boot parameters, so yeah. Main thing was that I needed to uninstall Gnome-Do as it would lock up the computer and would start on boot. I don't have the computer in my possession anymore (it was a friends), so I unfortunately can't test your solution, but I'll take you at your word. –  Naftuli Tzvi Kay Dec 1 '10 at 6:27
add comment

Selecting 'recovery mode' should normally give you a menu from which you can choose to get a root shell or various other options. If you don't get that menu, something is broken. What are the last few messages you see?

share|improve this answer
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.