LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 04-15-2012, 06:43 PM   #1
whyyes,Iamthatguy
LQ Newbie
 
Registered: Apr 2012
Posts: 2

Rep: Reputation: Disabled
Question I screwed with my GRUB to change tty resolution... now the monitor sleeps in booting?


Ubuntu lucid. AMD 64bit

I changed my system to boot to run lvl 1, and used to enter the gui with 'startx'.
But at that level and whenever I would use the one of the tty's, the command prompt would be incomplete (e.g. ostname~$ instead of user@hostname~$). It seemed that the resolution was the problems, so I googled how to change tty res.

One suggestion was using startupmanager to change the resolution. I changed it to the native resolution of my lcd (1280x1024 according to nVidia driver). I noticed the application gave an error but it indicated a problem with tcp/ip connectivity, which seemed irrelevant. When that didn't change it, I tried messing with the grub config files and tried several suggestions including 'quiet splash text' and 'vga=794 video=VGA-1 : 1280x1024'...

So. Now when I turn on the pc and let it resume naturally, the monitor "sleeps." I turn it on again, HOLD SHIFT to access grub menu, and get this:
------------------------------------
GNU GRUB version 1.98-1ubuntu13
--------------------------------
Ubuntu, with Linux 2.6.32-40-generic
Ubuntu, with Linux 2.6.32-40-generic (recovery mode)
Ubuntu, with Linux 2.6.32-39-generic
Ubuntu, with Linux 2.6.32-39-generic (recovery mode)
Ubuntu, with Linux 2.6.32-38-generic
Ubuntu, with Linux 2.6.32-38-generic (recovery mode)
Memory test (memtest 86+)
Memory test (memtest 86+, serial console 115200)
----------------------------------------------

I press 'e' to edit the commands before booting on the first option highlighted and am given this:
---------------------------------
recordfail
set gfxpayload=1280x1024
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set effd1f9c-0eb6-497b-b7e7-b20740a7eid8
linux /boot/vmlinuz-2.6.32-40-generic root=UUID=effadj7-b20d-ddkf-32de-wdkj4ad79da6 ro vga=794 video=VGA-1:1280x1024 quiet splash text
initrd /boot/initrd.img-2.6.32-40-generic
---------------------------------------------
I've tried changing the 'gfxpayload' value to 'auto' and 'text', changing the 'quiet splash text' to 'nomodeset' with no improvement so far. After editing, if I press ESC to return to menu, and 'e' again, I noticed that the changes I made aren't saved and the values remain the same as before. When I press the Ctrl-x to boot with the edited commands I get the same black screen and the monitor shuts down.


I've also tried booting from thumbdrive and cd but I have the bios with a password lock (so I haven't been able to change booting priorities). Any suggestions on what I should edit in the grub commands or how I can enter the system through another media (cd or thumbdrive) to then change the grub config files would be greatly appreciated. Also, if I can somehow hack the bios, that might be fun. Thanks.

*btw this is my first question, so if there's anything I'm doing wrong please tell me.

Last edited by whyyes,Iamthatguy; 04-15-2012 at 07:01 PM.
 
Old 04-15-2012, 07:31 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 15,721

Rep: Reputation: 2120Reputation: 2120Reputation: 2120Reputation: 2120Reputation: 2120Reputation: 2120Reputation: 2120Reputation: 2120Reputation: 2120Reputation: 2120Reputation: 2120
You need to hit <Enter>, not <Esc> after making changes. I think you might need to get rid of this bit ...
Quote:
Originally Posted by whyyes,Iamthatguy View Post
linux /boot/vmlinuz-2.6.32-40-generic root=UUID=effadj7-b20d-ddkf-32de-wdkj4ad79da6 ro vga=794 video=VGA-1:1280x1024 quiet splash text
As for the BIOS, surely you know your own password.
 
1 members found this post helpful.
Old 04-16-2012, 02:18 AM   #3
whyyes,Iamthatguy
LQ Newbie
 
Registered: Apr 2012
Posts: 2

Original Poster
Rep: Reputation: Disabled
Yes! thanks so much for putting me in the right direction. It actually worked when I removed "ro vga=794 video=VGA-1:1280x1024" from

linux /boot/vmlinuz-2.6.32-40-generic root=UUID=effadj7-b20d-ddkf-32de-wdkj4ad79da6 ro vga=794 video=VGA-1:1280x1024 quiet splash text

resulting in

linux /boot/vmlinuz-2.6.32-40-generic root=UUID=effadj7-b20d-ddkf-32de-wdkj4ad79da6 quiet splash text

which booted just as before.
 
  


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
How do you change the resolution in the console(tty) ? zahadumy Linux - Software 5 05-17-2006 07:05 AM
Change resolution in TTY Daylighthater Ubuntu 1 09-03-2005 12:09 PM
Monitor sleeps with ATI drivers king111 Linux - Newbie 8 07-24-2005 06:12 PM
change tty => system crashes (ati driver/tty resolution) mosca Debian 6 08-05-2004 07:37 AM
HELP: Screwed up monitor resolution Cookie Linux - General 4 03-29-2004 09:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:19 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration