LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-03-2004, 06:41 PM   #1
kayakbob
LQ Newbie
 
Registered: Jun 2004
Posts: 1

Rep: Reputation: 0
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
 
Old 06-03-2004, 07:32 PM   #2
camorri
LQ Guru
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.1, 14.2
Posts: 5,118

Rep: Reputation: 494Reputation: 494Reputation: 494Reputation: 494Reputation: 494
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.
 
Old 06-03-2004, 07:38 PM   #3
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,495

Rep: Reputation: 193Reputation: 193
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
sound editing c_olin3404 Linux - Software 4 05-28-2005 08:44 PM
DV editing with mandrake BlendedRacer LinuxQuestions.org Member Success Stories 0 10-31-2004 05:56 PM
Editing Bootloader thort Mandriva 9 12-28-2003 12:14 PM
Fstab editing Ando Linux - General 4 06-29-2003 06:17 PM
I need Vi editing help andym Linux - Newbie 3 04-16-2003 02:38 PM


All times are GMT -5. The time now is 10:07 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration