Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux. |
Notices |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
10-11-2004, 09:38 AM
|
#1
|
LQ Newbie
Registered: Oct 2004
Distribution: Mandrake10.0
Posts: 7
Rep:
|
Booting into BASH. Not what I wanted
Hello,
I suddenly have a problem booting ver10.0. I have been using Mandrake for about 2 weeks now preparing to completely give up Windows. Everything has been going alright so far. Sure, slower to set up just right than Windows but I expected and even anticipated that. Small things like seting up my printer, getting sounds from my CDs and such. Having fun doing it.
But now I'm lost. I'm using the GRUB bootloader. Was skipping login screen as I'm the only user. So it would boot directly into KDE desktop. As I got a little more comfortable I changed to a passworded login checked out a couple of other desktops.(ie.Gnome,Ice,etc.)
But now when I boot,I selcet linux in GRUB, then,watching verbose mode, I see everything being checked and started, then I get BASH asking for a login. I log in and password it tells me when I last logged in. Fine but I have no idea what to do now. Now, I verbose mode, things move rather quickly, I get no more than a glance at anything but I can see the second to last item fails. I've tried and tried but can't catch what it is that fails. This seams to be putting me in BASH. I haven't had the chance yet to learn much of anything about BASH or any other console or shells or whatever. I need to know if there is a command or other method to find what the problem is.
The only things I've altered between no problem and now is changing from passwordless ligin to passworded login, and I made a couple of luanchers on my desktop for Firefox and Thunderbird.
Please, any help would be a mountain for me.
TIA
Carpetguy
|
|
|
10-11-2004, 10:02 AM
|
#2
|
Member
Registered: Oct 2003
Location: London, ON, Canada
Distribution: Mandriva 2007 Free
Posts: 507
Rep:
|
You did not specify what happens after you log in so I will assume all is well except that you are sitting at a command prompt. Many systems report "Eth0 - FAILED" during boot, although it is working perfectly when done booting, try to see if that is what you have failing.
After you login with your username and password did you type " startx". That is to start your graphical user interface from command line. If that works for you then simply open a terminal window, su to root privilage, and open the file " /etc/inittab" in an editor such as Kwrite. You will see these lines in the file:
# Default runlevel. The runlevels used by Mandrakelinux are:
# 0 - halt (Do NOT set initdefault to this)
# 1 - Single user mode
# 2 - Multiuser, without NFS (The same as 3, if you do not have networking)
# 3 - Full multiuser mode
# 4 - unused
# 5 - X11
# 6 - reboot (Do NOT set initdefault to this)
#
id:5:initdefault:
Change the line that says "id:3:initdefault:" to say "id:5:initdefault:"
That should have you booting directly into GUI asking for login instead of command prompt.
Last edited by Lakota; 10-11-2004 at 10:04 AM.
|
|
|
10-11-2004, 10:04 AM
|
#3
|
LQ Newbie
Registered: Oct 2004
Posts: 10
Rep:
|
I had a problem of this nature once when I was using 10.0... By any chance do you have an nvidia graphics card? If so, try reinstalling the drivers. 10.0 had an issue where it would rarely just seemingly decide that the nvidia drivers wouldn't work, and it would then refuse to boot into X. Of course this is just conjecture based on my experiences, but it couldn't hurt to try.
|
|
|
10-11-2004, 10:21 AM
|
#4
|
Senior Member
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090
Rep:
|
Eh, FIRST make sure that Xwindows works on your system!
From the prompt type "X" and see if you get a graphical screen with a movable mouse.
If so hit ALT-BACKSPACE to get back to the prompt then try
service start dm
which should get you to the login screen.
If the above fails you have an Xwindows driver or configuration problem that you need to rectify.
Try running XFDrake to cure the latter.
|
|
|
10-12-2004, 10:09 AM
|
#5
|
LQ Newbie
Registered: Oct 2004
Distribution: Mandrake10.0
Posts: 7
Original Poster
Rep:
|
Lakota
Quote:
After you login with your username and password did you type " startx". That is to start your graphical user interface from command line. If that works for you then simply open a terminal window, su to root privilage, and open the file " /etc/inittab" in an editor such as Kwrite. You will see these lines in the file:
# Default runlevel. The runlevels used by Mandrakelinux are:
# 0 - halt (Do NOT set initdefault to this)
# 1 - Single user mode
# 2 - Multiuser, without NFS (The same as 3, if you do not have networking)
# 3 - Full multiuser mode
# 4 - unused
# 5 - X11
# 6 - reboot (Do NOT set initdefault to this)
#
id:5:initdefault:
Change the line that says "id:3:initdefault:" to say "id:5:initdefault:"
That should have you booting directly into GUI asking for login instead of command prompt.
|
Thank you. In a way that worked. Your assumption was correct that I was sitting at a command prompt. Following your advice but I couldn't figure out how to open /etc/inittab within the terminal but did find the file to which you referred by navigating in Konquerer. I expected to be ablke to change the permissions in "properties", I guess thinking I would be prompted for a password like when I use "configure" but the file said what you said it would say.
So I rebooted, logged in as root to the desktop(not a terminal) ignored the warning about "you are root, be careful" then in Konquerer opened /etc/inittab with KWrite, made the change,saved,logged out, logged in as user, rebooted, and everthing worked fine.
I'm don't think this is exactly the method you were recommending but it worked anyway. Thank you.
Zoe F
Quote:
By any chance do you have an nvidia graphics card?
|
No. But thanks for trying
Objose
Quote:
From the prompt type "X" and see if you get a graphical screen with a movable mouse.
|
"Command not found"
Quote:
If so hit ALT-BACKSPACE to get back to the prompt then try
service start dm
|
"service command not found" but it did list different options such as (I going by memory here)f|,r|,,,anyway it was for choosing full restart, another option of full restart, print list, others. Thanks for the suggestion though.
Carpetguy
P.S. I still wonder what caused this to happen in the first lace. I would try and recreate the situation but won't push my luck just yet. Lakota Lakota
|
|
|
10-12-2004, 10:54 AM
|
#6
|
Senior Member
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090
Rep:
|
Eh, just typing "X", MUST give you an Xwindow screen.
If not XFree is either not properly installed or is outright missing.
Also try "/etc/X11/X"
|
|
|
All times are GMT -5. The time now is 08:41 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|