Find the answer to your Linux question:
Results 1 to 6 of 6
I recently replaced a motherboard which required a different video card, and XORG works fine. But when I drop to shell to go to run level 3 or shutdown the ...
  1. #1
    Linux Newbie Mad Professor's Avatar
    Join Date
    May 2006
    Posts
    128

    [SOLVED] Drop to shell "INVALID MODE" on lcd

    I recently replaced a motherboard which required a different video card, and XORG works fine. But when I drop to shell to go to run level 3 or shutdown the machine the monitor screams at me in green text invalid mode.

    I don't know if the resolution is dropping to 640x480 which is not supported by the monitor or if it's going above 1280x768 which is the native resolution of monitor, or if the refresh rate is going above 75hz.

    How can I correct this problem? The card is pci-e ATI 2400xt, running on CENTOS 5.3.

  2. #2
    Linux Guru
    Join Date
    Nov 2007
    Posts
    1,695
    Review your menu.lst file and look at the kernel line - does it have a "vga=XXX" entry? If not, it's likely falling back to 640x480.

    Code:
    kernel /vmlinuz-2.6.16.60-0.54.5-smp root=/dev/md1 vga=0x317    resume=/dev/md0 splash=silent showopts
    VGA Framebuffer Modes

    More Google

  3. #3
    Linux Newbie Mad Professor's Avatar
    Join Date
    May 2006
    Posts
    128
    check menu.lst no vga option is set.

    Code:
    title CentOS (2.6.18-128.1.10.el5)
            root (hd0,0)
            kernel /vmlinuz-2.6.18-128.1.10.el5 ro root=/dev/VolGroup00/LogVol00 rh$
            initrd /initrd-2.6.18-128.1.10.el5.img
    Where would it go?

  4. #4
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Add vga=773 or vga=0x317 at the end of kernel line. It will set correct resolution.

    Code:
            kernel /vmlinuz-2.6.18-128.1.10.el5 ro root=/dev/VolGroup00/LogVol00 rh$ vga=773
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  5. #5
    Linux Newbie Mad Professor's Avatar
    Join Date
    May 2006
    Posts
    128
    THANK YOU GUYS! It works... This is useful information. I love asking stuff on here and getting a prompt responses to my problem.

    Thank you...

  6. #6
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Glad to help you !
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...