[SOLVED] Fixing Broken OS from Another Partition???
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Inexperienced noob here...so please...flashcards and finger-puppets [explain in simple terms and post specific terminal commands, if applicable].
O-K, I went to install Xmonad last night in Debian [I know... way over my head- just an experiment to satisfy curriosity. Debian is now my test-bed OS- I'm using Crunchbang as my primary]
I logged out and logged back in specifying the Xmonad as my DE/WM....but apparently it is broken. Had to do a hard-shutdown [press power button to turn 'puter off] and now, if I try and run Debian, it won't boot-up, because of the broken Xmonad; and I use auto login, so there is no way to specify another DE.
Can I disable auto login or otherwise fix the system in Debian from my Crunchbang partition? [I do know how to mount a partition].
In your Debian install, you should be able to access a vritual terminal by holding down Alt+Ctrl+Fn (try F1, F2, etc). From there log in and issue
sudo apt-get purge xmonad
Hopefully this will fix your problem.
If that doesn't work, try booting to single user mode. When GRUB comes up, highlight your entry for Debian and edit it (press 'e' if I remember correctly) and add 'single' to the line (or if still as a bad old habit, 'S').
Last edited by goumba; 10-15-2013 at 08:38 AM.
Reason: Added S
I tried the Cntrl+Alt+F1 again; and this time it worked! Removed the Xmonad, and VIOLA[sic]! I'm posting this from Debian.
Thanks to the both of you!
For future reference: When I was in the virtual terminal, after I removed the Xmonad, I typed "exit", and was taken back to a login prompt. Could figure out how to either start the system from there, or exit gracefully- so had to do the hard shutdown. What should I have done?
Normaly ctrl-alt-del pushed all together should reboot the system. When logged in you can either use init 0 to shutdown init 6 to restart. Or use the shutdown or reboot command. Also this might vary per distribution. There sometime is poweroff as well.
Or if you just hit the power button once most systems also shutdown. This should be the case with any system with acpi tools installed and acpi beeing active.
Thanks, Zhjim! Why didn't I think of Cntrl+Alt+Del?! I tried "shutdown" and "poweroff"- didn't work. I think I might have needed to do "sudo ____"? I always feel like a failure when I have to hit the power button to turn it off! Just once I'd like to do it the proper way!