I've been having some issues with my graphics driver resulting in my screen not working. As a result I am trying to boot from a disc to fix my xorg.conf file. Problem being I can access my hard drive once booted but don’t have privileges to alter this file. I'm not even sure how to access these files from the terminal. Any help would be greatly appreciated.
Announcement
Collapse
No announcement yet.
changing xorg.conf file when booting from disc [SOLVED]
Collapse
This topic is closed.
X
X
-
Re: changing xorg.conf file when booting from disc
Well since I was running from a boot disc I was having trouble navigating to the X11 directory on my harddrive, considering if I used "cd /" was still not the root directory on my harddrive.
But would "sudo mv /etc/X11/xorg.conf /etc/X11/xorg.conf.broken" work for getting rid of that pesky .conf file?
then run "kdesudo nvidia-settings" to make a new one?
- Top
- Bottom
Comment
-
Re: changing xorg.conf file when booting from disc
Hi,
I don't know if this will fix your problem but I discovered it today and it helped me end my video driver installation problems in minutes. From the live cd.....
In konsole
Sudo(If you are running from a live cd you may need to run sudo passwd and create a password)
then run:
cd /usr/local/bin && wget -Nc smxi.org/sgfxi && chmod +x sgfxi && sgfxi
Get out of konsole and ctrl+alt+f1
Run
sudo sgfxi
Follow the prompts until it is done!
Hope this works for you like it did for me. 8)
More info on this nice little problem solver can be found here http://smxi.org/docs/sgfxi-manual.htm#xorg-drivers.
Penny
- Top
- Bottom
Comment
-
Re: changing xorg.conf file when booting from disc
Penny's post not withstanding...
I suspect the problem you're having finding your xorg.conf file is that when you're booting from a liveCD, you hard drive is not automatically mounted and (as you thought) is not "/" while you're booting from the CD.
You have to mount it first, and then navigate to it. Assuming your install is on /dev/sda1, boot to the liveCD, open a terminal and:
Code:sudo mount /dev/sda1 /mnt sudo mv /mnt/etc/X11/xorg.conf /mnt/etc/X11/xorg.conf.pesky
- Top
- Bottom
Comment
-
Re: changing xorg.conf file when booting from disc
Thanks for the help guys but I was without internet last night and kinda figured it out on my own. The problem with booting started when I replaced xorg.conf with the xorg.conf.backup which resulted in a resolution my monitor couldn't handle for some reason. Ended up booting from a CD then going to terminal and using…
sudo passwd
(endered password)
cd /media/disk/(username)/home/etc/X11/
then
sudo mv xorg.conf /media/disk/(username)/home/Desktop
Undid some ill-advised stupidness I had done to the 00_header file and grub with some backups I had made prior to those changes. Which was initially done as a result of some bad research.
Went to hardware driver manager and activated the recommended nvidia dirver that was in there, rebooted and my problems were solved
- Top
- Bottom
Comment
Comment