RHEL6 uses Nouveau driver, so it prevents me to install a binary NVIDIA driver.


I added the following kernel boot parameter in /boot/grub/grub.conf  rdbalcklist=nouveau nouveau.modeset=0

So, old grub.conf is

 kernel /vmlinuz-2.6.32-220.17.1.el6.i686 ro root=UUID=3bdc236f-4734-45f0-9a6c-9eaa64e8f050 rd_NO_LUKS rd_NO_LVM rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us crashkernel=auto rhgb quiet

And the new grub.conf is

 kernel /vmlinuz-2.6.32-220.17.1.el6.i686 ro root=UUID=3bdc236f-4734-45f0-9a6c-9eaa64e8f050 rd_NO_LUKS rd_NO_LVM rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us crashkernel=auto rhgb quiet rdblacklist=nouveau nouveau.modeset=0


In order to access no X server, which is necessary for installation NVIDIA driver, I edit on-the-fly kernel boot parameter by adding 3 (runlevel 3) as follows:

 kernel /vmlinuz-2.6.32-220.17.1.el6.i686 ro root=UUID=3bdc236f-4734-45f0-9a6c-9eaa64e8f050 rd_NO_LUKS rd_NO_LVM rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us crashkernel=auto rhgb quiet rdblacklist=nouveau nouveau.modeset=0 3


Of cources, here is the reference http://www-947.ibm.com/support/entry/portal/docdisplay?lndocid=MIGR-5088143

posted by citadel
  • check the current kernel 
    [] uname -a
    Linux coffee 2.6.32-27-generic #49-Ubuntu SMP ...
  • [] cd boot
  • [] ls vmlinuz-*
    vmlinuz-2.6.32-26-generic
  • [] apt-get remove linux-image-2.6.32-26-generic
I didn't try to run apt-get autoremove,  but I don't know it works or not

'Computer > linux' 카테고리의 다른 글

Linus says: “C++ is a horrible language”  (0) 2011.02.16
Clean up old kernel in grub list (Ubuntu)  (0) 2011.01.28
Using parted, add a new 2TiB HDD  (0) 2011.01.26
ssh connection without typing password  (0) 2011.01.19
posted by citadel
Problem:
Booting message and ttys fonts are too small. With normal solutions, which I found on the web, such as vga=791 etc, I saw the small booting message font but ttys did not response. (Whatever numbers on the web, which I found, have the same result).

Solution:

  1. Modify /boot/grub/menu.lst
    Add vga=ask at the end of "/boot/vmlinuz-2.6.17-11-386 ... "
    If there are splash and quite, remove them.
  2. shutdown -r now
  3. Follow the messages, and  choose 0123 mode with "scan" option, it works small (but not normal) font on booting message. And ttys also work fine. (Just try whatever modes until you find a good one.)
  4. more..Mode


  5. Modify  /boot/grub/menu.lst
    change ask to 0x123 in the /boot/vmlinuz ..... line.
    It might be better to add the following in the AUTOMATIC KERNAL LIST in case automatic upgrade to keep using vga=0x123.
    # additional options to use with the default boot option, but not with the
    ## alternatives
    ## e.g. defoptions=vga=791 resume=/dev/hda5
    # defoptions=vga=0x123
  6. update-grub and shutdown -r now

 
posted by citadel