Thanks to the help of folks on this forum, I now have my Centos 4 box up and working, however I do have a question on how the repair actually worked. After starting the Linux Repair, the process "found my installed Linux". Some of you will remember that I had accidentally erased the /boot and /boot/grub directories, but I had most of the files saved (not the symbolic links) and put them back into the directories *and* I did run a rpm reinstall. When Linux Repair "found the installed Linux", did it create a new /boot and /boot/grub *or* did it just use what I had put there? [I am now downloading Centos 5.5 which I'll install on a new drive and then face the challenges of moving my backup data to the new OS] Todd -- Ariste Software Petaluma, CA 94952 http://www.aristesoftware.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20110323/cf6e2a4e/attachment-0001.html>
On Wed, Mar 23, 2011 at 6:34 PM, Todd Cary <todd at aristesoftware.com> wrote:> Thanks to the help of folks on this forum, I now have my Centos 4 box up and > working, however I do have a question on how the repair actually worked. > > After starting the Linux Repair, the process "found my installed Linux". > Some of you will remember that I had accidentally erased the /boot and > /boot/grub directories, but I had most of the files saved (not the symbolic > links) and put them back into the directories *and* I did run a rpm > reinstall. > > When Linux Repair "found the installed Linux", did it create a new /boot and > /boot/grub *or* did it just use what I had put there? > > [I am now downloading Centos 5.5 which I'll install on a new drive and then > face the challenges of moving my backup data to the new OS] > > ToddIf you're referring to the "linux rescue" and using "chroot /mnt/sysimage", it just used what it found there.
> Thanks to the help of folks on this forum, I now have my Centos 4 > box up and working, however I do have a question on how the > repair actually worked. > > After starting the Linux Repair, the process "found my installed > Linux". Some of you will remember that I had accidentally erased > the /boot and /boot/grub directories, but I had most of the files > saved (not the symbolic links) and put them back into the > directories *and* I did run a rpm reinstall. > > When Linux Repair "found the installed Linux", did it create a > new /boot and /boot/grub *or* did it just use what I had put there?When booting into "rescue" mode with the RH/CentOS installer disk, it searches for filesystems that look like a Linux installation and mounts them so you can fix them. The rescue system doesn NOT change anything - that was you who did it by running grub-install or whatever. So, I think nothing has changed in your /boot directory despite the things grub-install may have touched. Simon
centos-bounces at centos.org wrote:> Thanks to the help of folks on this forum, I now have my > Centos 4 box up and working, however I do have a question on > how the repair actually worked. > > After starting the Linux Repair, the process "found my > installed Linux". Some of you will remember that I had > accidentally erased the /boot and /boot/grub directories, but > I had most of the files saved (not the symbolic links) and > put them back into the directories *and* I did run a rpm reinstall.The boot partition was still there, and its files in its trash directory, or the entire boot directory was in the '/' trash along with all the contents thereof. Putting the files (or dir and files) back was what you did by hand.> > When Linux Repair "found the installed Linux", did it create > a new /boot and /boot/grub *or* did it just use what I had put there?I understood that you understood that you were de-trashing your old boot directory contents, yes?> [I am now downloading Centos 5.5 which I'll install on a new > drive and then face the challenges of moving my backup data > to the new OS] > > ToddGrab SL6 (two DVDs) and make 1 install instead of 1 install and 1 or 2 upgrades. Insert spiffy .sig here: Life is complex: it has both real and imaginary parts. //me ******************************************************************* This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept for the presence of computer viruses. www.Hubbell.com - Hubbell Incorporated**