PDA

View Full Version : I messed up XF86Config-4



backdoc
04-20-2003, 01:44 AM
I have installed knoppix to my HD. While playing with the X config utility on the KDE menu (in Kcontrol), I got my my XF86Config-4 file screwed.

Since Knoppix did a good job of detecting and setting up my hardware (X included), I was wondering if I could get it to do it again? I have edited the XF86Config-4 file by hand until I'm blue in the face. Easy X configuration sure is a weakness in Linux. The only time I've ever had a working X config was whenever the distro did it for me.

I'll take suggestions on doing it by hand. But, I'd really like to see if I can use Knoppix's built-in utiility to do it for me.

Thanks,
Darren

RockMumbles
04-20-2003, 02:01 AM
Boot your knoppix cd with the proper settings and the mount your hd partition and copy the knoppix cd XF86Config-4 file to your hd partition.

HTH

rock

rickenbacherus
04-20-2003, 02:08 AM
You could always boot the disk and copy the file over eh?

backdoc
04-21-2003, 12:32 AM
Using my Knoppix CD was the ticket. I can't believe I didn't think to do that.

Thanks to both of you for your suggestions.

In case anyone follows this thread and isn't sure how to do it, here's a step by step.

o Boot to the Knoppix CD
o Start an xterm (or some other command line interface)
o mount your existing partition. For example:
(sudo mount -t ext3 /dev/hdb6 /mnt/hdb6)
o copy your current config file
(sudo cp /etc/X11/XF86Config-4 /mnt/hdb6/etc/X11/XF86Config-4)
o reboot
Darren