Linux - NewbieThis 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
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.
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.
I add blacklist to /etc/modprobe.d/blacklist.conf
I edit /boot/grub/grub.cfg
then
/grub-2.00/grub-install /dev/sda2
I unpack grub2 with tar.gz in this folder and work from here.
GRUB1 does not work from my system because of errors 1023 and I solved it installing GRUB2.
editing /boot/grub/grub.cfg is directy configuring grub. There is no update-grub. /grub-2.00/grub-mkconfig makes new config.
But topic is about nouveau deleting.
I backuped initramfs-2.6.32-358.el6.x86_64.img of course
And when I do dracut as above I have all console on loading are black. Then I fork from GNOME and put backup to original file.
How can I delete nouveau or disable it.
P.S. Try to install NVIDIA by loading from backup CD
Installed normally but I can`t load Linux normally
"No nvidia graphics adapter probed"
Conflict of nouveau and NVIDIA
# chmod a+x NVIDIA-Linux-x86_64-<version>.run
# ./NVIDIA-Linux-x86_64-<version>.run
change "id:3:initdefault:" back to "id:5:initdefault:"
reboot
Note1: make sure you have installed c++ prior to all this - yum groupinstall "development tools" Note2: if you update kernel, then you to repeat these steps again once.
Last edited by Madhu Desai; 03-30-2013 at 06:16 AM.
there are lot of 'installing nvidia drivers' tutorials in the internet. most of them are very complicated. the one i recommended is by far very easy to install and free from hassle. i run CentOS 6.x with nvidia 9500 GT card and since 1 year (after several kernel updates), still i had no single problem. the link you provided is way too complicated.
Last edited by Madhu Desai; 03-30-2013 at 07:10 AM.
This is my Xorg.conf after all manipulations with installation and deleting. Alraedy I have nouveau and no NVIDIA and I can not log in graphical interface like after installation.
Why forum says invalid file about my upload files? Changes in grub.cfg does direct effect.
Grub.cfg
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /usr/local/etc/grub.d and settings from /usr/local/etc/default/grub
#
### BEGIN /usr/local/etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
load_env
fi
set default="0"
if [ x"${feature_menuentry_id}" = xy ]; then
menuentry_id_option="--id"
else
menuentry_id_option=""
fi
export menuentry_id_option
if [ "${prev_saved_entry}" ]; then
set saved_entry="${prev_saved_entry}"
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi
function savedefault {
if [ -z "${boot_once}" ]; then
saved_entry="${chosen}"
save_env saved_entry
fi
}
function load_video {
if [ x$feature_all_video_module = xy ]; then
insmod all_video
else
insmod efi_gop
insmod efi_uga
insmod ieee1275_fb
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
fi
}
if loadfont unicode ; then
set gfxmode=auto
load_video
insmod gfxterm
set locale_dir=$prefix/locale
set lang=en_US
insmod gettext
fi
terminal_output gfxterm
set timeout=5
### END /usr/local/etc/grub.d/00_header ###
### BEGIN /usr/local/etc/grub.d/10_linux ###
menuentry 'GNU/Linux' --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-30c3c0cd-6ad5-4a5e-8ec6-ee52753f8146' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
rdblacklist=nouveau
nouveau.modeset=0
set root='hd0,msdos2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 --hint='hd0,msdos2' 30c3c0cd-6ad5-4a5e-8ec6-ee52753f8146
else
search --no-floppy --fs-uuid --set=root 30c3c0cd-6ad5-4a5e-8ec6-ee52753f8146
fi
echo 'Loading Linux 2.6.32-358.el6.x86_64 ...'
linux /boot/vmlinuz-2.6.32-358.el6.x86_64 root=UUID=30c3c0cd-6ad5-4a5e-8ec6-ee52753f8146 ro
echo 'Loading initial ramdisk ...'
initrd /boot/initramfs-2.6.32-358.el6.x86_64.img
}
submenu 'Advanced options for GNU/Linux' $menuentry_id_option 'gnulinux-advanced-30c3c0cd-6ad5-4a5e-8ec6-ee52753f8146' {
menuentry 'GNU/Linux, with Linux 2.6.32-358.el6.x86_64' --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-2.6.32-358.el6.x86_64-advanced-30c3c0cd-6ad5-4a5e-8ec6-ee52753f8146' {
load_video
set gfxpayload=keep
GRUB_CMDLINE_LINUX_DEFAULT="nomodeset"
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos2'
rdblacklist=nouveau
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 --hint='hd0,msdos2' 30c3c0cd-6ad5-4a5e-8ec6-ee52753f8146
else
search --no-floppy --fs-uuid --set=root 30c3c0cd-6ad5-4a5e-8ec6-ee52753f8146
fi
echo 'Loading Linux 2.6.32-358.el6.x86_64 ...'
linux /boot/vmlinuz-2.6.32-358.el6.x86_64 root=UUID=30c3c0cd-6ad5-4a5e-8ec6-ee52753f8146 ro
echo 'Loading initial ramdisk ...'
initrd /boot/initramfs-2.6.32-358.el6.x86_64.img
}
menuentry 'GNU/Linux, with Linux 2.6.32-358.el6.x86_64 (recovery mode)' --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-2.6.32-358.el6.x86_64-recovery-30c3c0cd-6ad5-4a5e-8ec6-ee52753f8146' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
rdblacklist=nouveau
nouveau.modeset=0
set root='hd0,msdos2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 --hint='hd0,msdos2' 30c3c0cd-6ad5-4a5e-8ec6-ee52753f8146
else
search --no-floppy --fs-uuid --set=root 30c3c0cd-6ad5-4a5e-8ec6-ee52753f8146
fi
echo 'Loading Linux 2.6.32-358.el6.x86_64 ...'
linux /boot/vmlinuz-2.6.32-358.el6.x86_64 root=UUID=30c3c0cd-6ad5-4a5e-8ec6-ee52753f8146 ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initramfs-2.6.32-358.el6.x86_64.img
}
menuentry 'Win7' {
insmod part_msdos
insmod ntfs
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set AE14BE5614BE216F
chainloader +1
}
}
### END /usr/local/etc/grub.d/10_linux ###
### BEGIN /usr/local/etc/grub.d/20_linux_xen ###
### END /usr/local/etc/grub.d/20_linux_xen ###
### BEGIN /usr/local/etc/grub.d/30_os-prober ###
### END /usr/local/etc/grub.d/30_os-prober ###
### BEGIN /usr/local/etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /usr/local/etc/grub.d/40_custom ###
### BEGIN /usr/local/etc/grub.d/41_custom ###
if [ -f ${config_directory}/custom.cfg ]; then
source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /usr/local/etc/grub.d/41_custom ###
grub.conf
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You do not have a /boot partition. This means that
# all kernel and initrd paths are relative to /, eg.
# root (hd0,1)
# kernel /boot/vmlinuz-version ro root=/dev/sda2 rdblacklist=nouveau
# initrd /boot/initrd-[generic-]version.img
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,1)/boot/grub/splash.xpm.gz
hiddenmenu
title CentOS (2.6.32-358.2.1.el6.x86_64)
root (hd0,1)
kernel /boot/vmlinuz-2.6.32-358.2.1.el6.x86_64 ro root=UUID=30c3c0cd-6ad5-4a5e-8ec6-ee52753f8146 rd_NO_LUKS LANG=en_US.UTF-8 rd_NO_MD SYSFONT=latarcyrheb-sun16 crashkernel=auto KEYBOARDTYPE=pc KEYTABLE=ru rd_NO_LVM rd_NO_DM rhgb rdblacklist=nouveau nouveau.modeset=0
initrd /boot/initramfs-2.6.32-358.2.1.el6.x86_64.img
title CentOS (2.6.32-358.el6.x86_64)
root (hd0,1)
kernel /boot/vmlinuz-2.6.32-358.el6.x86_64 ro root=UUID=30c3c0cd-6ad5-4a5e-8ec6-ee52753f8146 rd_NO_LUKS LANG=en_US.UTF-8 rd_NO_MD SYSFONT=latarcyrheb-sun16 crashkernel=auto KEYBOARDTYPE=pc KEYTABLE=ru rd_NO_LVM rd_NO_DM rhgb quiet rdblacklist=nouveau nouveau.modeset=0
initrd /boot/initramfs-2.6.32-358.el6.x86_64.img
title Other
rootnoverify (hd0,0)
chainloader +1
You are missing the appropriate syntax before your "rdblacklist..." string. There should be a "quiet" command there. Hence why it's likely not working for you.
I can load without noiveau. And I install NVIDIA driver and I can run opengl test. But I can`t se resolution to 1280. I work with xconf.org, xrandr but there is still 1024 and 800 in my direction
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.