LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Editing xs86config (https://www.linuxquestions.org/questions/linux-newbie-8/editing-xs86config-189435/)

kayakbob 06-03-2004 05:41 PM

Editing xs86config
 
I need to edit the xs86config file -- actually rename the xs86config.bak file.

I installed Fedora Core 1 and after using it fora bit and migrating all my bookmarks, address book, e-mail files, etc, I started to tweek things a little too much. I changed the video settings and and was told to log out, which I did. I assumed that I would get a chance to test the changes before making them permanent, but I was wrong. Now I can load the OS, probably even log in, but I cant see anything. I have a copy of the Knoppix cd and can read the config files, but can't change the names. I think it has to do with root permissions, but when I try to switch to root in knopix, the root pw for my system doesn't work.

Not that it will be likely to help, but I can boot into win2k on the machine, in case there is a way to access the files from there.

Thanks
Bob

camorri 06-03-2004 06:32 PM

If you can boot the system to a command prompt, you can edit the files from there. I don't knwo which editors you have installed, if you use kedit, just type kedit at the prompt and press enter. Use CD to change to the directory where x86config file is, then as an example, kedit x86config, press enter.

You sill have to log in as su. If you type su and enter, the system will prompt you for your root password.

I hope that gets you started.

kilgoretrout 06-03-2004 06:38 PM

Boot into knoppix, open a console and run

$ su
<Press "Enter" Key>
# umount /mnt/hdxx
# mount /mnt/hdxx
# konqueror

where "xx" corresponds to your fedora root partition(eg. hda1).

On all recent versions of knoppix, there is no set root password and if you hit the Enter key after su, you'll be root. The umount/mount stuff just insures that your mounting the partition as root. "Konqueror" will bring up the konqueror file manager with root priveleges and by navigating to the config file you want and double clicking on it, the config file will come up in a text editor with root privileges.

Note the "root password for your system" is the fedroa root password. Knoppix is a completely independent linux system which runs off the knoppix cd; it knows nothing about your fedora root password.


All times are GMT -5. The time now is 05:06 PM.