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.
I've created Oracle Enterprise 5 Virtual machine. It was running fine but not sure what went wrong and now when ever I reboot the machine, it goes to single user mode. If I enter "init 5" command it boots to multi-user X11 mode without any problem.
I checked inittab file and default line has id 5. So it looks OK. What else can be wrong?
If so then it sounds like something isn't starting correctly. If you have issues with filesystems mounting or not fsck'ing correctly it will default to single user to do clean up so as to avoid risk to the filesystems. Watch your boot (click on "show details" when the GUI boot screen is being shown so you can see if everything is actually starting).
Yes the line is exactly same. I'll monitor the boot screen to look for any error. A newbie question, I added a disk and the filesystem on it got corrupted but I removed the entry from fstab for auto mount. Will this be a still problem? Should I remove the disk?
It might lead to a labeling conflict (very common with RHEL/Fedora based Distributions) as they use labels rather then direct partition references in FSTAB. so essentially you can have 2 /, 2/var, 2 /tmp and what not, what can conflict things... Change fstab to physical references to avoid that, also ensure the hard drive is the secondary within BIOS.
Do you see this? It is entering runlevel 1 which is a single user mode. You should check your grub configuration file if you say your inittab file is correct. /boot/grub/grub.conf should most probably be your file.
See if anyone has passed option to kernel to boot to single user mode.
That's certainly how it looks in post #10; the "1" means single-user mode, or "init 1" - but where's the "1" in post #9? Are you sure that is the correct grub section - is that the entire grub file, and the only grub file?