LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 07-27-2004, 04:08 PM   #1
majesticsock
LQ Newbie
 
Registered: Aug 2003
Location: NY
Posts: 9

Rep: Reputation: 0
Moving XF86Config-4 from Knoppix to Debian?


Hello,
I've been using Mandrake Linux for some time, but wanted to get out of the rpm dependency problems and switch to Debian's apt-get system. I'm not all that fluent on the command line yet, so that may be the problem here...

I installed Debian from the Beta Installer, everything seemed to go okay except when I tried to startx. I can't figure out why it's not working, so I booted into knoppix to try to copy the XF86Config-4 file onto my hard drive.
Doing it through the GUI gave me a read/write error, so I typed the following in a terminal window:

knoppix@ttyp1[knoppix]$ su
root@ttyp1[/]# cp /etc/X11/XF86Config /mnt/hda1/etc/X11/XF86Config-4

and I got the following error:

cp: overwrite `/mnt/hda1/etc/X11/XF86Config-4', overriding mode 0644? y
cp: cannot create regular file `/mnt/hda1/etc/X11/XF86Config-4': Read-only file

I'd appreciate any help that can be offered,
Thank you.
 
Old 07-27-2004, 04:55 PM   #2
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
Re: Moving XF86Config-4 from Knoppix to Debian?

Quote:
Originally posted by majesticsock
Hello,
I've been using Mandrake Linux for some time, but wanted to get out of the rpm dependency problems and switch to Debian's apt-get system. I'm not all that fluent on the command line yet, so that may be the problem here...

I installed Debian from the Beta Installer, everything seemed to go okay except when I tried to startx. I can't figure out why it's not working, so I booted into knoppix to try to copy the XF86Config-4 file onto my hard drive.
Doing it through the GUI gave me a read/write error, so I typed the following in a terminal window:

knoppix@ttyp1[knoppix]$ su
root@ttyp1[/]# cp /etc/X11/XF86Config /mnt/hda1/etc/X11/XF86Config-4

and I got the following error:

cp: overwrite `/mnt/hda1/etc/X11/XF86Config-4', overriding mode 0644? y
cp: cannot create regular file `/mnt/hda1/etc/X11/XF86Config-4': Read-only file

I'd appreciate any help that can be offered,
Thank you.
Well some information on the card and monitor used would help us to help you and a look at the /var/log/XFree86.0.log file would be invaluable. That being said to copy the file from knoppix to the install use these commands in a konsole window.

Code:
sudo mount /dev/hda1 /mnt/hda1
sudo mv /mnt/hda1/etc/X11/XF86Config-4 /mnt/hda1/etc/X11/XF86Config-4.original
sudo cp /etc/X11/XF86Config-4 /mnt/hda1/etc/X11/XF86Config-4
You will want to open up the Knoppix file you copied and either comment out or remove the FontPath lines that will not be installed in Debian and you may want to remove the custom ModLines that are in the file as well X does not need them, you will also want to change the Horizontal and Vertical refresh rates being used for the monitor Knoppix uses some very conservative numbers for these.
 
Old 07-28-2004, 06:33 PM   #3
macondo
Senior Member
 
Registered: Jul 2003
Location: Central America
Distribution: Slackwre64-current Devuan
Posts: 1,034

Rep: Reputation: 62
what kernel are you using?

what errors do you get?
 
Old 07-28-2004, 08:05 PM   #4
DDrDark
LQ Newbie
 
Registered: Jul 2004
Posts: 5

Rep: Reputation: 0
You must mount the partition with rw (read-write). To do that, edit your /etc/fstab and change ro for rw
If your problem isnt that try this
I have some problems with X in sarge beta4, ande the magic solution is edit manually the XF8config file... go to /etc/X11 and change the resolution, HR, VR. X should be up

Tell me I this steps doesnt work and I try to find another solution

byez
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
moving files between windows partitions, in knoppix Antilocust Linux - Software 6 07-24-2005 05:48 AM
Moving home folder under Knoppix Lemop Linux - Newbie 1 01-22-2005 02:29 PM
Moving Files To ThumbDrive with Knoppix ripmaster Linux - Newbie 5 04-02-2004 08:05 AM
Is it possible to use the XF86Config file generated by knoppix in slackware THEHERO Slackware 4 02-01-2004 12:26 PM
Knoppix 3.3 to RED HAT 7.3 XF86Config XBITRO Linux - Hardware 1 11-03-2003 02:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 11:47 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration