View Single Post
Old 06-04-10, 05:23 PM   #13
A GeForced Ant
ant's Avatar
Join Date: Sep 2002
Location: An Ant Farm
Posts: 348
Post Re: insmod: error inserting './usr/src/nv/nvidia.ko and can't find my NVIDIA card?

Originally Posted by danix View Post
Yes, sorry, GRUB 2 is different.

Edit /etc/default/grub and add the option to GRUB_CMDLINE_LINUX_DEFAULT. For example, if that line currently reads 'GRUB_CMDLINE_LINUX_DEFAULT="quiet"', change it to 'GRUB_CMDLINE_LINUX_DEFAULT="quiet nouveau.modeset=0"'.

You'll still need to run update-grub (or is it update-grub2 now?) after editing the file.

I would keep the line in blacklist.conf, it won't hurt anything.
OK, I did the changes and placed the blacklist.conf line back.

# nano /etc/default/grub
# nano /etc/modprobe.d/blacklist.conf
# update-grub
Generating grub.cfg ...
Found background image: moreblue-orbit-grub.png
Found linux image: /boot/vmlinuz-2.6.32-5-686
Found initrd image: /boot/initrd.img-2.6.32-5-686
Found linux image: /boot/vmlinuz-2.6.32-4-686
Found initrd image: /boot/initrd.img-2.6.32-4-686

I hope I used the right grub command!
# ls -all /usr/sbin/update-grub*
-rwxr-xr-x 1 root root 60 Dec 14 03:50 /usr/sbin/update-grub
-rwxr-xr-x 1 root root 35 Dec 14 03:50 /usr/sbin/update-grub2
# cat /usr/sbin/update-grub*
#!/bin/sh -e
exec grub-mkconfig -o /boot/grub/grub.cfg "$@"
#!/bin/sh -e
exec update-grub "$@"

Since I am at work right now, I will reboot later since I want to see the screen for Grub2, text console (hope it is back to VGA again), and compile (don't think compiling's display works via SSH2; I could try if you think it will work).

I will post my results later tonight. Thanks again!
Ant @ The Ant Farm ( and Ant's Quality Foraged Links (
ant is offline   Reply With Quote