PDA

View Full Version : Knoppix 3.3 - HDD Install - Autodetect gone??? (resolved)



Cuddles
01-07-2004, 10:40 PM
As subject suggests, I installed Knoppix 3.3 on my system, to a 40gig HD, onboard video card.

I had a lot of problems with memory issues, and finally think we have all 512meg RAM working as it should.

During this testing, we attempted to test boot with a monitor that is far less capable then my monitor at home. The hardware tech only could handle a high resolution of 800x600, or possibly 1024x768 - whereas, my monitor at home takes the full resolution of something like 16xx something. What we had problems with was when he tried to get Linux to boot, with his monitor, it would go out-of-sync, or get sync lines across the screen, making visable testing imposible.

First Question: When doing testing like this at the h/w tech's, how can one drop resolution to lower values, when LILO just fires off Linux, and never gives you a chance to do anything? It appears the boot is working fine, just get sync problems when I think we go into XServer.

In an attempt to get one of his monitors working, we tried putting in a secondary video card, one from TNT, GForce, etc... The on-mother-board video card is very poor in arcade games, so I wanted to upgrade the video card, but, for the life of both of us, we could never get the AGP video cards to sync, or even show login screens when coming into XServer, even with my monitor.

Question #2: I thought Knoppix was better than Debian because it always does a auto-detect every time it boots? Appears this isn't the case. How can one upgrade hardware? Don't tell me I have to go through another HD Install to get new hardware to run? I was about to buy a newer, more capable, video card to run as the main video card, but we could never get Knoppix to work with one, and we tried about half a dozen of them.

Solutions to these would be incredibly helpful, if not for the answer, for the ability to upgrade this video card to something than can play Chomium at least :D

Thanks for any help,
Cuddles

m_yates
01-08-2004, 03:54 AM
I'm no expert, but I think there are several ways to fix the problems without re-installing. Since the video is messed up, hit ctrl+alt+F1 to get to a text prompt. Try the command "hwsetup" since this is the program that Knoppix uses to autoconfigure everything on the CD. After it is finished, hit ctrl+alt+F5 (the F5 is for runlevel 5 where I think KDE is at, if that doesn't bring you back to your messed up kde screen, try different function keys, maybe F7?) then ctrl+alt+backspace to restart X and kde.

I think the above may work. If not, you can try to go back to runlevel 1 (ctrl+alt+F1) and enter the command "kudzu" to detect hardware, then try "hwsetup" again. Go back to runlevel 5 and restart X with ctrl+alt+backspace.

If all else fails, reboot the computer with the Knoppix CD. It you have a working display with the new monitor and video card, just copy the working configuration to you hard drive. To do that, as root type:

mount /dev/hda1 /mnt/hda1

This assumes that your Knoppix install is on hda1, if not, enter the place where it is installed. Also, the Knopppix CD should automatically create the directory /mnt/hda1, if not, you can create one using "mkdir /mnt/hda1". After you have mounted the Knoppix partition that is on the hard drive, back up the existing configuration:

mv /mnt/hda1/etc/X11/XF86Config-4 /mnt/hda1/etc/X11/XF86Config-4.old

Then copy the configuration from the CD:

cp /etc/X11/XF86Config-4 /mnt/hda1/etc/X11/XF86Config-4

And you should have the display working as it does from the CD when you reboot. When you take your computer back to your own monitor, you can use the backup copy using "mv /etc/X11/XF86Config-4.old /etc/X11?Xf86Config-4"

Good Luck!

Stephen
01-08-2004, 08:07 AM
As subject suggests, I installed Knoppix 3.3 on my system, to a 40gig HD, onboard video card.

I had a lot of problems with memory issues, and finally think we have all 512meg RAM working as it should.

During this testing, we attempted to test boot with a monitor that is far less capable then my monitor at home. The hardware tech only could handle a high resolution of 800x600, or possibly 1024x768 - whereas, my monitor at home takes the full resolution of something like 16xx something. What we had problems with was when he tried to get Linux to boot, with his monitor, it would go out-of-sync, or get sync lines across the screen, making visable testing imposible.

First Question: When doing testing like this at the h/w tech's, how can one drop resolution to lower values, when LILO just fires off Linux, and never gives you a chance to do anything? It appears the boot is working fine, just get sync problems when I think we go into XServer.

In an attempt to get one of his monitors working, we tried putting in a secondary video card, one from TNT, GForce, etc... The on-mother-board video card is very poor in arcade games, so I wanted to upgrade the video card, but, for the life of both of us, we could never get the AGP video cards to sync, or even show login screens when coming into XServer, even with my monitor.

Even without a prompt display (lilo screen) there should be a delay of a couple of seconds when it first starts to boot after it goes through the BIOS check where you can press the CAPS, SHIFT or ALT key (I think there a couple of more keys as well) that will interupt the boot process and give you a boot: prompt where you would have been able to type in Linux single which would have booted you to the single user recover mode. You would not have booted the X server just to a command prompt at the console and you would be root without even typing in the password this is unless you have changed the lilo configuration to require a password to do this. To have gotten X to work with the new monitor you should have edited your XF86Config-4 after having booted to the single user recover mode and put in the proper HorizSync and VertRefresh values for the spare monitor and then used init 5 to take you to run level 5 with the X server running and it should have worked fine.

For your problems with the second card being put in and trying to use your monitor the are a couple of things that you could have checked. In your BIOS there should have been a setting to disable the onboard video and this should have been done on the first boot after having put the card in. There are also other settings (in my BIOS at least) which control the checking of the cards as to which to boot as your primary display ( I have the option of PCI or AGP) which may have allowed you to leave the onboard enabled while booting to the temporary AGP you had put in and finially you would have had to change the "Driver" section in the XF86Config-4 to change the driver being used to from the onboard to the "nv" for the card(s) you put in while testing or "vesa" that could have been used for any generic VESA 2.0 compliant card (which is almost every card made these days) and X should have started.




Question #2: I thought Knoppix was better than Debian because it always does a auto-detect every time it boots? Appears this isn't the case. How can one upgrade hardware? Don't tell me I have to go through another HD Install to get new hardware to run? I was about to buy a newer, more capable, video card to run as the main video card, but we could never get Knoppix to work with one, and we tried about half a dozen of them.

Solutions to these would be incredibly helpful, if not for the answer, for the ability to upgrade this video card to something than can play Chomium at least :D

Thanks for any help,
Cuddles

When Knoppix is installed to the HD the script tries to get it back as close as possible to the "standard" Debian install therefore the auto-detect is removed. To achive close to the same in Debian IIRC the packges that need to be install are discover, read-edid and hwdata. These should not be necessary however for something as simple as putting in a new video card (unless you go bleeding edge then good luck with the drivers) the steps to put a new one in would be either having done so before shutting down the computer or by booting and letting the X server fail, you would change the driver being used for the card to the correct module for the card in the XF86Config-4 and got the proper settings in the BIOS for the card to be used as primary device on the boot. In the case of editing before shutdown and booting with the proper settings in the BIOS it should just boot straight to X no problems, in the case of getting the proper settings in the BIOS and letting the X server fail on the boot then you still have to edit the config file for the module and then /etc/init.d/kdm restart and the X server should start.

A little extra on the best way to buy hardware for Linux is get the last years best thing since sliced bread never buy the latest and "greatest" unless you know for a fact that you can get the proper driver. This has nice side effect of getting you hardware that is more than powerful enough to run on Linux dirt cheap in the clearout sales and most likely supported with proper drivers while at the same time you check and make sure that you can get the latest firmware to solve the inevitable problems that there always are with new hardware.


Left out part of the xserver failing, when it does the CTRL + ALT + F1 key will take you to the first console where you can login as regular user and then use su to become root and make the changes and restart kdm.

Cuddles
01-11-2004, 03:48 PM
Thanks to both of you, when I am able to upgrade my video card, or need service, the information will be very helpful.

BTW Stephen, I knew of the settings in my BIOS, and HAD them pointing to the AGP already. As with my old system, and this new system, they do not have an option to DISABLE the on-board video card, just a way to point to which one is the MAIN Video.

I already got my old system, it had a on-board video and a PCI ATI Video Card, and I was able to get the ATI working fine, but I think I had done a HD Install AFTER I put the new video card in at that time. Whereas, the new system had been HD Installed BEFORE the new Video was being added.

BTW M_Yates, I had thought of that idea as well -=- Test with the Live CD -=- But, both the tech and I, were tired at the time, and just bailed out before trying that. When I have the money again, and want to add that newer Video Card, I am going to try all the suggestions that Stephen has, and if all else fails, fall back to trying to boot with the Live CD :D

Thanks again to both of you,
Cuddles