how to restore ubuntu 9.10 to last good known configuration

Asked by Adnan Khan

I installed some package into my system & when i restarted it is asking for login & password on the black command prompt like screen. This happened to me once also when i did same thing & restarted. That time i just did fresh installation of ubuntu 9.10. But this time I can't do such a thing since i have important data in my system. Can Somebody please help me that how can i restore my system to last known good configuration as we can do in windows XP. It is only showing black screen & asking for password and login.

Please tell me how can i restore system to earlier point using recovery mode.

Thanks

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:

This question was reopened

Revision history for this message
Adnan Khan (mailme-adnan89) said :
#1

and also please tell how can i create restore point.

Thanks

Revision history for this message
Kenneth O'Brien (kobrien) said :
#2

Seems you've upset your X server.

Try copying the backup config onto the current one. Log in and run:

sudo cp /etc/X11/xorg.conf.backup /etc/X11/xorg.conf

then reboot:

sudo reboot

Revision history for this message
Adnan Khan (mailme-adnan89) said :
#3

thanks for your reply bro.....
how can I copy backup?? Is it automatically made file?

Revision history for this message
Kenneth O'Brien (kobrien) said :
#4

xorg.conf.backup is already there. you may want to backup the xorg.conf though. so before you run

"sudo cp /etc/X11/xorg.conf.backup /etc/X11/xorg.conf", backup the xorg.conf with

"sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.other"

Revision history for this message
Kenneth O'Brien (kobrien) said :
#5

I'm not aware of a last known configuration setting. You should keep backups of your filesystem to achieve this.

Revision history for this message
Adnan Khan (mailme-adnan89) said :
#6

If they don't restore to earlier point.
then these commands are meant for?

Revision history for this message
Kenneth O'Brien (kobrien) said :
#7

These commands will restore your display configuration to an earlier point. I believe that'll fix your problem.

Revision history for this message
Adnan Khan (mailme-adnan89) said :
#8

Thanks Kenneth O'Brien, that solved my question.

Revision history for this message
Adnan Khan (mailme-adnan89) said :
#9

It is giving error " cp: 'cannot stat `/etc/X11/xorg.conf.backup' NO SUCH FILE OR DIRECTORY "

Revision history for this message
Adnan Khan (mailme-adnan89) said :
#10

I CLICKED MISTAKENLY ON THE " THIS SOLVED MY PROBLEM " button.
Sorry about that

Revision history for this message
Sam_ (and-sam) said :
#11

Karmic doesn't have a xorg.conf.
You may try via recovery mode the option: xfix
http://unixlab.blogspot.com/2009/08/exploring-ubuntu-recovery-mode.html

You could also remove the package which you've installed and causing the trouble.
Synaptic -> file -> history
tells you which packages were installed and when.

In case you wish to create an xorg.conf via CLI:
sudo Xorg -configure
##see manpage
man xorg.conf

https://wiki.ubuntu.com/X/Troubleshooting/

You may also check log files about occuring error messages.
System administration -> log file viewer
https://help.ubuntu.com/community/LinuxLogFiles

Revision history for this message
Sam_ (and-sam) said :
#12

btw. about no_system_restore_point refer to
https://answers.launchpad.net/ubuntu/+question/106330

Can you help with this problem?

Provide an answer of your own, or ask Adnan Khan for more information if necessary.

To post a message you must log in.