LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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!

Notices

Reply
 
Search this Thread
Old 03-10-2003, 05:35 AM   #1
jolly
Member
 
Registered: Mar 2001
Posts: 63

Rep: Reputation: 15
Unhappy How to edit grub? Not showing login screen


I made few changes in grub.conf but now linux is showing login screen. I can boot linux but can't login.
I can only boot windows.
How can I edit grub.conf
Thanks
 
Old 03-10-2003, 08:23 AM   #2
annehoog
Member
 
Registered: Jan 2002
Location: Nederland
Distribution: RH 8 Psyche and Debian Woody
Posts: 373

Rep: Reputation: 30
I'm not sure what you mean by "but now linux is showing login screen. I can boot linux but can't login", but you can edit grub.conf by booting from a boot floppy or a rescue disk (provided with most major distro's) to linux.

Anne
 
Old 03-10-2003, 08:40 AM   #3
jolly
Member
 
Registered: Mar 2001
Posts: 63

Original Poster
Rep: Reputation: 15
Its dual boot machine. I edited the boot sequence in grub.conf
but now I can only run windows but when I try to login as linux. Linux boots but login screen is not coming.
 
Old 03-10-2003, 08:45 AM   #4
annehoog
Member
 
Registered: Jan 2002
Location: Nederland
Distribution: RH 8 Psyche and Debian Woody
Posts: 373

Rep: Reputation: 30
Ok, so I'm guessing that you mean that you get an almost blank screen with only a command line, but not the graphical login screen which you were used to.
Actually -if this is the case- you do get the login screen, but just not the graphical one. Try typing you username (and password) here and if it logs you in type startx to get the gui going.

If this is not the case I'm afraid I run out of options and call for the local gurus to help you.

Anne
 
Old 03-10-2003, 08:55 AM   #5
jolly
Member
 
Registered: Mar 2001
Posts: 63

Original Poster
Rep: Reputation: 15
Can anyone please tell me whats wrong with this conf file.

default=0
timeout=10
splshimage=(hd0,6) /grub/splash-xpm.gz
title Red hat linux(2.4.7)
root(hd0,6)

Kernel /vmlinuz-2.4.7 ro root/dev/hda10
initrd /initrd-2.4.7.imng

title Dos
rootnoverify (hd0,0)
chainloader +1
 
Old 03-10-2003, 09:02 AM   #6
annehoog
Member
 
Registered: Jan 2002
Location: Nederland
Distribution: RH 8 Psyche and Debian Woody
Posts: 373

Rep: Reputation: 30
This is an example of a working one:

title Red Hat Linux (2.4.7-10)
root (hd0,0)
kernel /vmlinuz-2.4.7-10 ro root=/dev/hda6
initrd /initrd-2.4.7-10.img

Anne
 
Old 03-10-2003, 09:12 AM   #7
jolly
Member
 
Registered: Mar 2001
Posts: 63

Original Poster
Rep: Reputation: 15
There is only one diff in both

Working
kernel /vmlinuz-2.4.7-10 ro root=/dev/hda6

Not working
Kernel /vmlinuz-2.4.7 ro root/dev/hda10

Do you have dual boot system. Should I change the hda10 to hda6
 
Old 03-10-2003, 12:04 PM   #8
rmartine
Member
 
Registered: Dec 2002
Location: San Luis Obispo, CA
Distribution: Fedora Core 3
Posts: 618

Rep: Reputation: 30
I don't think you want to do that. Check in your /boot directory and make sure the kernel image you want is the one listed in grub.conf. The name has to match exactly. You might be missing a few characters.

Also, you said you can boot linux. When you do what are you getting? The graphical login, the old command prompt, or nothing.

Good Luck
 
Old 03-10-2003, 12:12 PM   #9
jolly
Member
 
Registered: Mar 2001
Posts: 63

Original Poster
Rep: Reputation: 15
I boot linux in rescue mode and checked the boot direcotory
/boot/grub/grub.conf is there
Yes after all the services are booted and when it goes for graphical login screen. The screen is not coming. This the problem. Its black screen.
 
Old 03-10-2003, 03:40 PM   #10
viciousfish
Member
 
Registered: Jun 2002
Location: UK
Distribution: Debian Sarge, Gentoo
Posts: 70

Rep: Reputation: 15
Do all the services start even when you are not using a rescue disk?

If so, maybe (By co-incidence) X is broken, and Grub is fine; once the kernel is booted, Grub has nothing to do with the system any more.

Try pressing Ctrl-Alt-F1, at that black screen. Do you get a text-based login prompt? Try logging in and go from there.
 
Old 03-11-2003, 01:37 AM   #11
jolly
Member
 
Registered: Mar 2001
Posts: 63

Original Poster
Rep: Reputation: 15
Ctrl-alt-f1 is also not working
When I press ctrl -alt-del at black screen. Then all the services shutdown and system reboot.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
kdm login user list ( not showing) YellowFin Linux - General 2 11-15-2005 03:35 PM
why does my login screen keep showing when it normally continues without login pbonney Linux - Newbie 1 11-11-2004 08:53 AM
Change Fedora Login Screen to KDE login screen ada601 Linux - Software 2 08-15-2004 05:07 PM
Showing the penguin with the login prompt shaffin Slackware 4 09-24-2003 02:58 PM
grub not showing WinXP monarch Linux - Newbie 3 02-08-2002 12:55 AM


All times are GMT -5. The time now is 04:01 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration