Blog Forum Wiki Links Contact Us NetbookUser
RunCore Pro IV SSD Transforms your ASUS EEE PC by increasing 
performance 5-40X. Your satistfaction guaranteed RunCore Pro 70mm SATA Mini PCI-e SSD
RunCore Pro IV 70mm SATA II Mini PCI-e SSD
RunCore Pro IV 2.5 Inch SATA II SSD

You are not logged in.

#1 2008-04-20 5:11:38 pm

solenostomus
Senior Member
Registered: 2008-02-23
Posts: 101

Restore xorg.conf file using Knoppix

Hi there, I just tried to get my kiddshop touchscreen to work using the instructions in http://forum.eeeuser.com/viewtopic.php?id=18677 And now my EEE PC doesn't boot anymore now.

I want to avoid the F9 reset at all cost (I've customised my desktop too much) and anyway - I simply need to restore one file.

Using an external CD-Rom drive  I booted up the EEE into Knoppix Live-CD and I can see the file in question as
/media/hdc2/etc/X11/xorg.conf

For some reason, the /media/hdc2 directory is mounted read-only and it doesn't let me change the file.

I tried to re-mount that directory using

Code:

sudo mkdir /hd
sudo mount -t ext2 /media/hdc2 /hd
mount: /media/hdc2 is not a block device

So how do I mount the internal harddisk as read-write from within Knoppix, so I can restore the xorg.conf file?

Thanks a lot!

Offline

 

#2 2008-04-20 5:37:11 pm

gfoot
Senior Member
From: Brighton, UK
Registered: 2007-12-09
Posts: 368

Re: Restore xorg.conf file using Knoppix

/media/hdc2 is probably a mount point, not a device.  Use /dev/hdc2 instead.

If it's already mounted, use:

Code:

mount -o remount,rw /dev/hdc2

That should just remount it read-write on whatever mount point it's already mounted on.

Offline

 

#3 2008-04-20 6:00:37 pm

solenostomus
Senior Member
Registered: 2008-02-23
Posts: 101

Re: Restore xorg.conf file using Knoppix

Thanks gfoot,

I guess that command line would have worked on a normal system. By playing around a little more I found that Knoppix does things differently.
The desktop icon I used to access the internal harddisk runs something that mounts the filesystem (don't know how) and opens a filemanager to show it. Then the icon changes to include a little arrow (meaning presumably that is has been mounted).
The solution was to click that icon with the right button - you get an option to change the filesystem to read/write mode - again I don't know what Knoppix does in the background, but it worked.

That way I managed to fix the file and now my EEE PC boots again. I am still no closer to having a touchscreen driver under Xandros, but at least the rest works fine.

Offline

 

#4 2008-04-21 5:09:57 am

gfoot
Senior Member
From: Brighton, UK
Registered: 2007-12-09
Posts: 368

Re: Restore xorg.conf file using Knoppix

If the filesystem is already mounted somewhere else, you need to first mount it on your new mount point with the same options as the existing mount, and then do a remount (as in my post) to change the options.

Regarding the touchscreen, did you try my tkusb module?  It sounds like most of the controller cards are basically the same, and I successfully used tkusb to get an unmodified fidodido controller to work on Xandros.  The information and download are here, though I was rather brief:  http://www.glost.eclipse.co.uk/gfoot/eee/tkusb/

Also, when your machine failed to boot, it should have dumped some errors in /var/log/X11 or something like that, explaining why.  e.g. failed to load touchscreen driver. smile  It can be useful for working out exactly what was wrong with your configuration.  That said, I didn't have much trouble with this - I think it complains loudly if the module uses a different libc version, which came up when I tried to use evtouch, and X fails to start if it has no core pointer device active, but other than that I generally found that broken touchscreen config sections just meant the touchscreen didn't work.

Offline

 

#5 2008-04-21 5:18:28 am

solenostomus
Senior Member
Registered: 2008-02-23
Posts: 101

Re: Restore xorg.conf file using Knoppix

gfoot wrote:

Regarding the touchscreen, did you try my tkusb module?

I've seen the post about your module and that will be the next thing I try. If i run into trouble I will post it to the appropriate thread.

Thanks a lot!

Offline

 

#6 2008-04-21 2:27:12 pm

solenostomus
Senior Member
Registered: 2008-02-23
Posts: 101

Re: Restore xorg.conf file using Knoppix

I have since found out why my system wouldn't start with my edited xorg.conf file.
I copied the additional sections out of firefox from this thread http://forum.eeeuser.com/viewtopic.php?id=18677

For some reason, upon pasting it into kwrite the quote marks changed from simple straight quotes into typographical quotes (slanted).

So just for the benefit of people doing the same thing - make sure you replace all the quotes with those simple ones (type over them on your keyboard).

Offline

 

Board footer

Powered by PunBB 1.2.15
© Copyright 2002–2005 Rickard Andersson