CentOS 5 :: Procedure To Restore Initial Installed Configuration?
I am looking for a procedure to recover the initial installed state of my system with out over writing user data areas. The install procedure has the phrase "will remove all linux partitions" which interpret to mean data partitions, not just /bin and /. Additional background - Was attempting to build a 32 bit cross compile of Mozilla/Firefox on a x86_64 configuration and had a conflict with libgl. Online advice was to remove duplicate libgls from the system (that was bad advice). This led to running yum update.
When I restarted the system I know longer had wireless networking, ntfs mounts and possibly other features I had installed. Further, attempts to update, re-install, erase and reinstall have had no effect on the situation. My assumption is that I need to start with a clean install - which will be about 10-20 hours to reset all the additions I made. But I don't see another solution.
View 3 Replies (Posted: 2009/6/18 3:38)
Related Forum Messages For Linux category:
CentOS 5 :: Gnome-login Configuration - Restore User Profile?
Last night I started my computer and loaded my CentOS 5.2 partition (Windows 7 on the other partition). I was able to login to my account, but was given a gnome error that the panel buttons (i.e. weather, cpu monitor etc) could not be loaded. I then went to restart the computer (probably not the smartest thing to do) and was given some file errors upon shutdown that were related to /dev/VolGroup00/LogVol00. After restart I was taken to a shell and ran fsck manually. It seemed to find a lot of bad blocks, so I repaired the /dev/VolGroup00 system and restarted. At this point CentOS seemed to boot normally, but upon loading of the login screen I get the error: Configuration not correct The configuration file contains an invalid command line for the login dialog, so running the default command. Please fix your configuration.
I cannot even log in as root. I get the error /usr/bin/gnome-session: error while loading shared libraries: libgnome-desktop-2.so.2: cannot open shared objects file: no such file or directory. I then went to a shell and ran: sudo yum install libgnome-desktop-2.so.2, but the package was already installed and up to date, so there was nothing to do. I am therefore stuck at this login screen with pull-down menus and tabs where I can change the configuration, add/remove users etc. So, my question is this: How do I restore my user profile so I can login....and if anyone has some insight, what caused this to happen in the first place? I should also mention, this all happened after plugging the computer into a new internet connection. No clue if that's even relevant.
Posted: 2009/11/20 16:26
View 11 Replies!
SUSE :: USB Installation Recovery - Restore System From Initial Menu
I have an installation from USB/DVD issue.
1. Desktop running WinXP
2. Lenovo S10e netbook running Win7RC1 (just expired.) no DVD drive.
3. 1 DVD by Novell and Lenovo with "SUSE Linux Enterprise Desktop 10 (For recovery select Restore System from the initial Menu.) November 2008"
4. 4GB USB drive. Laptop can boot from it.
Need to install the system to the Laptop using the USB drive. Doesn't install.
What I did:
Mostly followed the guide at "Installation without CD - openSUSE.htm" my USB drive is G:
used the HP USB Disk storage format tool to make my USB bootable.
Copied all files from the dvd to the usb drive
Moved G: ooti386loader* to G:
Deleted E: isolinux.bin
Renamed E: isolinux.cfg to E: syslinux.cfg
Downloaded syslinux-3.85.zip from [kernel.org]
Extract syslinux-3.85.zip to c: syslinux
CD'ed to c: syslinuxwin32 directory in a cmd prompt
Ran syslinux -ma E: .....
Runs all the way through, gets to a windowed program called ">>> Linuxrc v3.0.20 (Kernel 18.104.22.168-31-default) <<<" Code: could not find the openSUSE Repository. Activating manual setup program
Main Menu: Settings, System Information, Kernel Modules (Hardware Drivers), Start installation or System, Verify Installation CD-ROM/DVD, Eject CD, Exit or Reboot, Power off Cant find anything on the usb drive (obviously?) so what do I do now?
This is where I'm at and quite stuck... not sure what other flags there are to use, what I have to move around or rename.
View 2 Replies!
Debian Configuration :: Finding A Command That Can Search For New Usb Hardware Without The Described Procedure?
I am using NetworkManager Applet in Gnome to connect to the internet with a 3G modem. After last update few days back it changed the way it was recognizing the modem. I used to click on the NetworkManager Applet icon on the notification area and choose my configured mobile connection from the list. Because, as I said, I am using mobile broadband connection and I have to check via SMS my usage in order not to overcome the GB I am supposed to use (to avoid overpriced charge). In order to use Wammu to send/receive SMS I have to close the internet connection by right clicking on the NetworkManager Applet and uncheck "Enable Mobile Broadband" otherwise Wammu can't use the usb dongle because it's locked by the internet connection. Up to this point all is working exactly the same. Except when I uncheck the "Enable Mobile Broadband" the NetworkManager Applet disappears and I can only get it back with a reboot. Also I tried clicking on the applet and choosing "Disconnect" from the menu. The applet stays there but there are no more options for mobile connection. Only wired connections and VPN (whatever that is). In this case if I disconnect and reconnect the usb dongle it recognise it again. So my question is: Is there a way to make NetworkManager Applet to always stay aware of the usb modem without disconnecting or rebooting? Or at least is there a command that can search for new usb hardware without the described procedure?
Posted: 2011-03-15 22:27
View 6 Replies!
Slackware :: Freshly Installed 13.1 - Initial Fonts Look Quite Out Of Focussed ?
I have successfully installed Slackware 13.1 with the help of a brilliant guide and some reading on my own. And I am loving it. I have installed few applications and feel that the I understand the system more better than any other linuses I tried.
But, the initial fonts look quite out of focussed(can't find a word) or simply ugly?
I searched and found few threads and a dugan's blog but I got confused as to what to do exactly....How to make fonts beautiful or focussed?... This is my first query.....
Also, a second query is about updating the system...I installed Slackware 13.1 DVD without KDE( Yes I love xfce). As I see I used the "slackpkg" utility to update.
First, uncommented the # sign from one of the mirrors in /etc/slackpkg/mirrors and ran slackpkg update
And the next time when I ran the same, it said "No changes in change log between last update and now". I gather it means my system is upto date but I have doubt about it. How do I conform if the system is upto date? Should I necessarily subscribe to the mailing list? It a thing I haven't done yet.
Posted: 01-02-2011, 07:02 PM
View 4 Replies!
Security :: Tripwire Initial Configuration - New Policy - P
I have just installed tripwire. I have created a baseline db using the default policy file. Then I checked the output of the db to see what I did not have on my filesystem that db was searching for (according to the default policy when tripwire was installed), I then changed my default clear text policy file accordingly and used twadmin to generate a new tw.pol file.
Next I come grinding to a halt after this (assuming the next thing is to update the policy in tripwire right? )
Posted: 07-29-2009, 07:50 AM
View 2 Replies!
CentOS 5 :: Procedure For Installing On SSD So No Writes Occur Run-time
I'm working on a project using CentOs 5.3 that uses a solid state drive (SSD) as the boot device. It is desired to configure it such that writes do not typically occur run-time but configuration files can be saved. There are 2 reasons we do not want writes to occur run-time. 1) Writes will wear out a SSD over time. 2) A system disruption during a write can cause a file system error.
Posted: 2010/4/6 17:29
View 3 Replies!
CentOS 5 :: Regular Procedure After Power Failiure And Fsck Forced?
I had a server with CentOS 5.5 and Asterisk fail today most likely due to the power failure. I guess the stupid electrician turned the power ON and OFF multiple times while changing the burned out fuse without unplugging the PBX. It was set in CMOS to power back on when there is power outage so my two HDDs which were set in RAID-1 now shot.
Trying to start the system and it goes through some check and fixes and then tells me to do Ctrl+D or enter password and run fsck. I have tried both methods and I don't think they yeild anything.
Ctrl+D reboots and same store again with the system fixing and asking me to Ctrl+D again. Putting the password and doing "fsck -y" gives many errors and it fixes it and then it just keeps looping. I am afraid this is making it worst than better. So, after few loops I did few more restarts and just give up. Took out the HDDs and installed new ones and install CentOS+Asterisk so business runs as usual on Monday.
However, I am kind f*ked if I don't get the files out of these HDDs. This is my first time using fsck and also encountering this type of a problem. What is the normal procedure when fixing inodes misplaced in a case like this? and what should I do to at least be able to grab my files?
I have already connected one of the drives to Windows and used Disk Internals (which maps Linux drives) but I see only folders with no contents except for /tmp/ which has contents. While the HDDs were in the system I could actually browse files and they were fine. I am really keen to get the drives fixed but I am also afraid that bad usage of fsck might replace lots of files and burn it all.
Posted: 2011/7/17 5:28
View 10 Replies!
CentOS 5 :: Installing GPG Key Upon Initial Update?
ive just ported another system over to CentOS however when I went to run the initial set of updates using the graphical tool it asked me after downloading if I wanted to import a new public key which I dont remember ever being asked this before? Is this right or has there been a problem with my downloads?
Posted: 2009/5/27 14:48
View 1 Replies!
CentOS 5 :: Setting Up Initial Networking
I am configuring a new installation of CentOS 5.4 with the goal of setting up a server. Ive been through the installation and set up everything that I thought that I had to setup. Im getting into CentOS because my work utilizes this distribution. I do have some debian experience, and I have used Ubuntu on both server and desktop platforms.
Now, when setting up Ubuntu, I found that I was able to get networking up much easier. During the initial installation it had asked me to choose between DHCP or manual configuration. As this is going to be a server I want it setup with a static IP. But for some reason no matter what I do I can not get the machine connected. I go so far as trying to do a 'yum update' and I can not make a connection.
A few things Ive noticed that might be applicable here . . . . .
For DNS servers, I am unsure exactly what I need to put here. My ISP is Cox. I am not sure what NS's to put there for them, so I thought that I would be able to use third party DNS servers such as OpenDNS or the Google Public DNS. I know that I have setup my debian server like that with no issues. Also when setting up my debian server it prepopulated certain areas that I am required to fill when setting up CentOS. Example, when setting up localhost.localdomain -- I would choose my hostname and local domain was prepopulated as ph.cox.net. I dont know if this is something that I have to use, or if it would change if I am using third party DNS.
My resolv.conf file looks like this
nameserver (IP address of third party dns either opendns or google)
nameserver (IP address of third party dns either opendns or google)
Posted: 2010/3/18 15:41
View 3 Replies!
CentOS 5 Hardware :: Adaptec 1430sa Centos Do Not Boot After Initial Setup "grub"?
I am busy to do some tests using the Adaptec 1430sa hardware raid controler .I started the setup by generating the raid 1 aray and it worked ok .I did the regular setup of Cent Os 5.5 64 bits all worked ok but the system do not boot .When I start the box it enter the minimal grub screen .I tried to install a first time on the MBR like suggested and how it need to be done for soft raid setup .nd I tried to install it on the first cluster from the boot sequence like possible on second choice
Posted: 2010/11/15 16:24
View 2 Replies!
CentOS 5 :: Initial KDE Desktop Settings On An Existing User?
Does anyone know how to install the Default KDE Desktop settings in an existing user? I copied a user's home directory from another Linux and when I added the user using adduser on the new intallation, it did not copy any of the Desktop or other .rc/.profile settings.
Is there a script that is run by adduser, or a list somewhere of the files that are needed for KDE Desktop to work correctly? Or, do I delete or rename certain files and then, what executable do I run to get the Desktop?
Posted: 2009/8/30 15:14
View 3 Replies!
CentOS 5 :: How To Restore From Image Backup
I have 4 different servers with exactly the same hardware. I set up one of them to have a centos install with all the basic stuff I'd like running on each one. I then created an image of the harddrive with the operating system, and stored it on an external drive. I used dd to copy the external image to one of the new machines. It worked fine, everything booted up as normal and with a few tweaks everything was great. The problem is that the drive is rather large (500gb) and it takes days for dd to copy it over. I decided to try a different route, I booted to a usb (using the linux distro on the ultimate boot cd pre-loaded with gparted). There are two partitions on the external drive, a small (100mb) partition which can easily be copied over with gparted, and the larger 480+gb lvm partition.
Gparted doesn't support lvm, so I used fdisk to create a new lvm partition on the new machine, and then pvcreate/vgcreate/lvcreate to re-create the same volume groups/logical volumes that are in the image on the external harddrive. I rsync'ed all the information over from LogVol00, and made the same swap partition LogVol01 (which took WAY less time). I disconnected the hard drive and renamed the volume group to VolGroup00 (initiall I named it differently, since linux doesn't like having the volume groups named the same). I can mount the LogVol00 partition and see all the files as they should be. But when I try and boot up, it doesn't even go to grub, I just end up with a blank screen and blinking cursor. How to make the drive bootable? Alternatively, a better strategy than using dd to restore this image??
Posted: 2011/4/21 16:20
View 2 Replies!