Debian :: GRUB`s Set Gfxmode And Set Gfxpayload With Nvidia
Aug 20, 2010
I am opening this thread because of a problem with GRUB I encountered. I am using Debian Unstable with kernel 2.6.32-5-amd64 and GRUB version 1.98+20100804-2 on a Thinkpad T61 with a NVidia Quadro NVS 140m graphics card. What i want to do is use GRUB`s functions "set gfxmode" and "set gfxpayload" to set the resolution of the GRUB boot prompt at 1440x900 (this is the native resolution of my laptop`s screen) and also to set the same resolution for the virtual consoles. I did this before by editing the /etc/grub.d/00_header and /etc/default/grub files and also i edited /etc/grub.d/05_debian_theme to remove the GRUB splash image set by default and use the traditional Debian blue theme for GRUB.
This is how i did it in the past and it worked. On my new installation of Debian however i noticed that before installing the proprietary nvidia driver i didn`t have to do that - by default the native resolution of my laptop`s screen was detected and selected for both GRUB`s boot selection screen and for the virtual console.
After installing the nvidia`s driver however it stoped working. I tried the above mentioned method which had worked before but it didn`t help either. I know that during the installation nvidia`s driver disables the nouveau driver which supports KMS so i`m guessing that this is why after i installed the nvidia driver i no longer had my native resolution of 1440x900 for the boot selection screen and for the virtual consoles. However i still cannot understand why manually setting the resolution no longer works - it used to work before with the proprietary driver. Have you experienced such problems before with nvidia cards and GRUB?
My server showed a black screen on the monitor because the resolution was out of range. I fixed this problem by pressing 'e' at the grub menu and I changed the first line to say "set gfxmode=640x480". What do I need to change in my grub settings to make this a permanent change?
I'm trying to setup X-less (console only) system on my old laptop. Everything works great, except colors of the console. When grub2's "gfxpayload" is not set, all colors appear fine, but when I set gfxpayload=1024x768" it starts with the correct resolution, but all color that's supposed to be white, appears teal (sea green).Interesting thing is that bold text in man pages appears white but not bold. Hyperlinks in links also appear white, although the selected hyperlink appears with a teal background. So the driver apperently can display other colors, but what's stopping it? Erasing "gfxpayload=1024x768" restores the colors back. Changing font's face and size didn't help. Using screen didn't help. GPM's pointer appears as a teal rect.
# xorg.conf (X.Org X Window System server configuration file) # # This file was generated by dexconf, the Debian X Configuration tool, using # values from the debconf database.
[code]...
And after that my X is not working. And when i try sudo modprobe nvidia I get this:
FATAL: Error inserting nvidia (/lib/modules/2.6.26-2-686/nvidia/nvidia.ko): No such device
I am trying to get Debian 6 to work on an hp Z400 - the problem is that it came with a NVIDIA Quadro NVS 295 graphics card; there may be a driver for Linux, but it doesn't matter, because GRUB insists on switching to some sort of graphics mode and the screen just blanks and switches itself off. Is there any way to make sure during installation that GRUB gets configured to stay in character mode only?
Using online Debian guide, installed latest nvidia-current, glx etc which seems to be 195.xx Machine boots to GUI but monitor setting menu doesnt respond nor is there an nvidia specific one. xorg.conf shows 'nvidia' driver but I suspect I am still on 'nouveau' since the synapatic package manager doesn't show an nvidia xserver-xorg-video choice.
Second question, any trailheads for using wheezy based drivers (i.e. nvidia's latest 270.xx) with squeeze?
I have XP and win 7. I want to triple boot with Debian.When I install, grub finds win 7 and XP and says everything should be fine, but then when I boot, only debian appears.This was fixed by doing update-grub2 after logging in.Now, I have win 7 bootloader as an option. However, when I boot into XP, and then reboot, grub disappers. he screen just says welcome to grub and then a blinking cursor.
I am running Debian Squeeze with 2.6.32-5 amd64 kernel with GCC 4.3.5 (the same one used to build the kernel) installed. I have a nVidia GTX 470. I'm trying to install the latest nVidia drivers (260. ...). I've never installed noveau or any other open source nVidia driver. Here's what I've been doing:-Change the "Driver "nvidia"" line in /etc/X11/xorg.conf to "Driver "vesa""-Restart system in single user mode as root, no services running-cd to the directory with nvidia-Linux-x86_64-... .run (what I'll call nvidia.run)-enter "sh nvidia.run --uninstall"-enter "CC="/usr/bin/gcc-4.3" && sh nvidia.run"It starts up and it compiles the kernel 100%. Then it says this:
ERROR: Unable to load the kernel module 'nvidia.ko'. This happens most frequently when this kernel module was built against the wrong or improperly configured kernel sources, with a version of gcc that differs
So I installed openSUSE 11.1, and got everything from yast2 and then finally got nvidia.ymp or whatever. Bascially, the one click install. When i did that, I couldn't boot into the SUSE GUI. I could boot into the command line but I couldn't start X server.When I did try the Ec2-openSUSE-2.62.27.9 option, I get grub error 13. It says that the ex2fs file system is not supported, only I did not format it with ext2. I am completely stumped and I'm a newbie.
I was installing sqeeze i386 on my laptop VOSTRO 1400 and got this the 'grub-pc' package failed to install into /target/. without the GRUB boot loader, the installed system will not boot.
I tried to install Open Office following a guide in OpenOffice.org but after several attempts debian refused to boot properly. I decided to re-install Debian 5.0. When we came to the installation of the boot loader GRUB refused to be installed. I stopped the installation expecting to go back to the beginning. But now it tries to boot saying:Grub loading stage 1.5.
Grub loading, please wait... Error 15
This is an old Toshiba 3110 with Windows 98SE installed which I have successfully customized and do not want to loose. What can I do to get back into W98SE and then re-install Debian properly?
I installed Debian Squeeze with no issues. I went to install latest Nvidia driver as done previously with Lenny. Used instructions that worked on lenny from "the trooper" [url]
Downloaded th latest driver for my GeForce 7300 GS vidio card, driver package NVIDIA-Linux-x86-260.19.12.run
Used "method # 2 as described in HOW TO,as it worked perfectly in the past on Lenny. Only syntax I changed was instead of gdm I typed gdm3 as it appears that is the new name for gnome in Squeeze.
Did as folows:
Now the trouble showed up, Unfortunatly I can only go off my memory. A question was asked stating that something did not match, it needed a 3 and the driver had a 4 version or somethng of this sort. then it asked if I new what I was doing (and I lied) and selected yes. And whammo, it didn't work. (This question was asked when i did in Lenny and it is working perfectly still on that system). I now can not boot to GUI, I notice when system boots it starts in "S" mode although I select normal boot from grub2.
Not too bad if I got to reinstall as little is on the system. I just want to know what I am missing on the instalation deal or should I be going about this difrently with Squeeze.
how to replace grub2 with grub-legacy hassle-free? I mean, is there any danger in doing the following procedure: purging grub2 and installing the legacy version after that? I'm using Squeeze system with ext4.
This passed weekend I decided to upgrade the household server. I found cheap 2 TB disks on sale, so I got 4 of them, and began the upgrade. All went well, I used dd to copy the LVM pv to a new disk, removed the old disks, setup the array in degraded mode, evacuated the copy volume, and added it into the array.... then reused the old disks in new desktops. (well all good after I turned on virtualization in the bios)... all except grub.
I setup a raid 1 array for the /boot partitions. So far so good... but I boot and it sees the grub MBR, I know this because it dumps me into the grub> shell. Now comes the weird part... I can boot it just fine by doing a cat /grub/menu.lst and then using the lines in there to boot it:
[Code]...
That works fine, but, when I reboot, no menu. I am perplexed. I copied /boot with tar (mounted the mirror on /mnt and did a "tar cf - | (cd /mnt; tar xvf -)", I ran grub-install, and update-grub, both a few times. I even dropped into the grub shell and had it setup each of the 4 disks in turn (I wanted to do that anyway, since I do really need to be able to boot from any of them... I guess I should have entries for them in menu.lst too... but one problem at a time...)
I have just installed Ubuntu (9.10) and noted that in order to successfully run the trial off the CD I had to test in "safe graphics" mode. I have an NVIDIA GEforce 6600 GT card - which was discovered by Ubuntu in the first few minutes of the trial and so I activated the recommended driver and continued to test. After a successful trial I installed Ubuntu (dual partition Ubuntu / Windows XP), however, it seems the install didn't activate the required driver (as part of the process) and so I'm unable to get into my newly-installed Ubuntu at all. All I get is a flashing tty screen asking for my username and password - however it's erratic and won't recognise what I type. So - I'm stuck in a catch-22 as there doesn't seems to be a safe graphics mode option via the start (GRUB?) menu list.
So here is my situation..i was using win 7 and ubuntu 10.10 in my dell studio 1555. and i wanted to try out debian so i installed debian in my pendrive. so the grub was modified. when the computer starts it shows debian,ubuntu and win7 no problem.. but if i remove the pendrive, nothing comes up. it shows grub rescue>..
so now i cant start up unless i plug in the pendrive. what to do now to solve this problem?? i want to restore my grub to the previos state.
When I try and boot my Debian computer I get the messages: Grub Loading stage1.5. Grub loading, please wait... Error 15 Is there any way of recovering from this - or is it simply a fresh install? I was attempting an upgrade from Lenny to Squeeze and despite a few hurdles it looked like it was all happening. Got the new kernel loading, and the new grub. It looked as though grub2 was working so I ran the grub-remove-legacy-support command (something like that) and now my computer won't boot grub or Linux.
I'm assuming the MBR on my harddrive is lost, however I don't know what state the partition is in. I'm guessing that maybe this has been lost as well. I tried a few tools from the Ultimate Boot CD but nothing here was able to re-install my grub or boot from any partition or even mount my file-system. I'm fearing the worst but would like it confirmed before I blow it all away with a new install.
I got a new video card on an existing running Debian Wheezy system. The old configuration was an nVidia card but using the default / open source Mesa drivers I'm guessing. Now I have a nice new nVidia PCI-E card and would like to install the proprietary nVidia drivers but I'm not sure which I need:
I have installed Windows 7 on my laptop . Now, it directly boot from Windows 7 . I think the MBR overwrote my grub . I have found two methods by google , but still does work . 1: boot from debian install CD, Alt +F2 switch to the console. "grub " "root (hd0,0)" "setup (hd0,0)". 2:boot from CD, mount /dev/scsi/host0/bus0/target0/lun0/part1 /mnt ; chroot /mnt ; grub-install /dev/sda.
Now that nVidia is up and running, I'm curious to do a comparison with Nouveau. I there an EASY way to do this? Like a simple on/off switch? Major system/kernel changes are not an acceptable option. If it can't be easily done, I'll just stick with nVidia.
I got Lenovo Y50-70 and for a couple of days I try to start the NVIDIA card instead of the Intel one, but I got stuck. No matter what I choose in BIOS, Switchable Graphics or Ultra Graphics the lspci |grep VGA shows only Intel's VGA.Because when I install nvidia drivers they said there is no nvidia VGA on the system.
I installed Debian 8 on my new computer 3 days ago. Everything went fine, until I tried to install the nvidia non free drivers version 352.21 (for a GTX 970M).I read a lot about that, figuring out I had to add the experimental repo. Here's my sources.list for reference :
Code: Select all# deb cdrom:[Debian GNU/Linux 8.1.0 _Jessie_ - Official amd64 DVD Binary-1 20150606-14:19]/ jessie contrib main
# deb cdrom:[Debian GNU/Linux 8.1.0 _Jessie_ - Official amd64 DVD Binary-1 20150606-14:19]/ jessie main contrib deb http://ftp.fr.debian.org/debian/ jessie main non-free contrib deb-src http://ftp.fr.debian.org/debian/ jessie main non-free contrib
[code]....
E: Unable to correct problems, you have held broken packages."but it is not going to be installed" ?I searched on various search engine for this issue with no revelant result..
I'm fairly new to Debian, but during the past I've used Mandrake, Slackware and Ubuntu. Few months ago I've migrated from Ubuntu to Debian - I like it a lot but there is one thing which keeps bugging me.Sometimes - one of the few boots - nvidia module won't load and GDM won't start. During the "bad" boot system freezes for a while after the message "PME# disabled" and gives the message about nvidia GPU not supported. Because of that GDM fails to start.Below are the boot logs (without the leading time for easy diff comparison) - the "bad log" when nvidia fails to load and the "good log" when everything is OK. Any help?
I cannot install Nvidia driver. After installation I have only text mode. I tried install this and I do no know whether I choose an appropriate version. Should I install 360.45 version? I have the following output of the command nvidia-detect:
i just want to know whats the best way to do it cause i use a method which i dont know if is ok (by the way it works) but im not sure if my card is giving 100% (Geforce 8600gt), right now im using mys system isSqueeze with the non-free repos, what i usually do to get Nvidia work.
I installed the Nvidia installer: NVIDIA-Linux-x8~.86.14-pkg1.run I configured the xorg.conf file and changed the driver from nv to nvidia. I also removed "load dri"
When I use startx I get this error and it won't give me a desktop:
(EE) Failed to load /usr/lib/xorg/modules/drivers/nvidia_drv.so (EE) Failed to load module "nvidia" (loader failed, 7) (EE) No drivers available
This is all I remember doing with Lenny. Apparently there is something else I need to do with Squeeze?
I'm on a 64-bit machine running Debian 8.2 "Jessie" with MATE Desktop Environment.
I have a Geforce GTX 650ti video card.
I'm logged in as a non-superuser account named "john."
I open NVIDIA X Server Settings GUI, change my monitors' brightness from 0.000 to -0.1, go to the "nvidia-settings Configuration" section, click "Save Current Configuration" and click "Quit."
But when I reboot, the brightness is back at 0.000.
When I tried to rescue an old laptop that kept crashing (turned out to be HDD failure), a problem with the graphics quickly revealed itself. A graphical install was already impossible, and it looked like the image was starting halfway and wrapping around the screen, together with all kinds of artefacts. It's hard to describe, but impossible to work with. I did notice that all was okay when I booted into GParted live in the safe graphics mode (vga=normal).By the way, the system specs: AMD Turion64, NVidia 7150M.
When I had succesfully installed Debian using the normal non-graphical installer, the same effects showed up as soon as Nouveau was loaded, so I SSH'd into it to uninstall them and install the proprietary NVidia drivers. After purging nouveau and rebooting, the effects were gone! It clearly was a Nouveau issue. However, after I installed NVidia drivers successfully (X also started fine), I wanted to change the resolution using nvidia-settings which prompted:
"You do not appear to be using NVIDIA X driver. Please edit you X configuration file (just run nvidia-xconfig as root), and restart the X server."
I have installed before with ease following the Debian how to. On jessie 8 I have an issue with black screen, probably miss configuration but can't figure what?