Ububtu 12.04
How to control nVidia GPU Fanspeed
by sahab on Feb.13, 2013, under Ububtu 12.04, Ubuntu
- Type gksu nautilus in Terminal and allow your group read/write access to /etc/X11 (or use the chmod commands if you prefer the terminal.
- Type nvidia-settings into the terminal and in the NVIDIA X Server Settings window that pops up, click on nvidia-settings Configuration and then click “Save Current Configuration” and then exit the applicationThis will create ~/.nvidia-settings-rc for you. (not 100% sure this is needed)
- Type nvidia-xconfig into the terminal. This will create an /etc/X11/xorg.conf file that does not, by default, get created in 12.04 Precise.
- Type nvidia-xconfig — cool-bits=4 into the terminal and this will add the proper settings in your /etc/X11/xorg.conf file and back the previously created one up.
- Reboot your machine and open nvidia-settings up with the Terminal or your dash and under your GPU heading/Thermal Settings list, you can now change fan speed.
- I yanked mine up to 100% from 20% and my temperatures went from 47C to 35C.
Remember to change the permissions on the /etc/X11 directory back so accidents don’t happen.
Made a BASH script named FanController.sh with:
Code:
nvidia-settings -a [gpu:0]/GPUFanControlState=1
nvidia-settings -a [fan:0]/GPUCurrentFanSpeed=100
and added it to Startup Applications
Ubuntu 12.04 Boot error – Windows XP from Grub2 – cannot create /var/lib/os-prober/labels: Permission denied
by sahab on Jun.11, 2012, under Ububtu 12.04, Ubuntu
In this issue machine  have the two hard drives. On one is Windows XP , on the other one is Xubuntu 12.04 .
Here the windows MBR is fine. I can boot my Windows partition by selecting that HD from the BIOS. Likewise the MBR on the other hard drive is fine and I can boot Xubuntu from grub. What I would like to do is to be able to chainload ntldr (I believe that’s the right terminology) from grub.
os-prober does not detect Windows – unless the partition is mounted but it can’t write anything anyway because it says it needs to be run as root. However sudo os-prober doesn’t seem to do anything at all, so that doesn’t help either. Always getting below error.
ERROR: you must be root ERROR: you must be root /usr/lib/os-probes/mounted/20microsoft: 47:
/usr/lib/os-probes/mounted/20microsoft:
cannot create /var/lib/os-prober/labels: Permission denied /dev/sda1:Microsoft Windows XP Home Edition:Windows:chain mkdir: cannot create directory `/var/lib/os-prober/mount': Permission denied
I have followed below steps for resolve the issue
Added the following to the lines below those already in /etc/grub.d/40_custom:
| menuentry “Microsoft Windows XP Home Edition (on /dev/sda1)” –class windows –class os { insmod part_msdos insmod ntfs set root=’(hd0,msdos1)’ search –no-floppy –fs-uuid –set=root 5E1C40441C401983 drivemap -s (hd0) ${root} chainloader +1 } |
Save the file and update-grub. Reinstalled os-prober with the following:
sudo apt-get install --reinstall os-probe