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
On Wed, Mar 23, 2011 at 6:34 PM, Todd Cary todd@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]
Todd
If 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
On 3/24/11 2:59 AM, Simon Matter 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?
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.
Yes, on CentOS4, I think you could have done the partition mounting by hand with the same results if you knew the layout. On CentOS5 there is a little extra magic to populate the /dev directory so things still work after you chroot into the place where you mounted the root of the hard drive. Grub-install just does some guesswork about the bios numbering that grub uses for devices/partitions, then runs grub with the right arguments to the root and setup commands. You could have done that yourself too.
centos-bounces@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]
Todd
Grab 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**
I was hesitant to congratulate myself on restoring /boot and /boot/grub *if* linux-rescue had done it. So, with the help of this forum I did get things back in order other than updating the MBR, and that was done by linux-rescue.
Onward...and again, thank you.
Todd
P.S. I would download SL6 if it was not for the fact that I live out here with cows as my pets, so downloading is an all day affair...I have the 7 disks in hand.
On 3/24/2011 6:49 AM, Brunner, Brian T. wrote:
centos-bounces@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]
Todd
Grab 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**
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
centos-bounces@centos.org wrote:
I was hesitant to congratulate myself on restoring /boot and /boot/grub *if* linux-rescue had done it. So, with the help of this forum I did get things back in order other than updating the MBR, and that was done by linux-rescue.
Onward...and again, thank you.
Todd
P.S. I would download SL6 if it was not for the fact that I live out here with cows as my pets, so downloading is an all day affair...I have the 7 disks in hand.
You're telling me that NONE of your cows have DSL? *udder shudder*
I suppose the Library that *does* have DSL doesn't have DVD burning capabilities for copyright reasons. Is there a school thereabouts whose CompSci personnel would understand (and facilitate) burning two SL6 DVDs?
centos-bounces@centos.org wrote:
Thanks to the help of folks on this forum, I now have my Centos 4 box up and working.
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**
Greetings,
Grab SL6 (two DVDs)
Sacrilege!
This will make sense to only all IT (not income tax, stupid) professionals : use Centos 5 or wait for centos 6 .
Don't leave Centos if you care for your life for next 3 years.
and then you have a choice of whatever that is virus infectable, hence perishable pig breakfast, hence not good for life alternatives.
Period.
regards,
Rajagopal
Sacrilege!
This will make sense to only all IT (not income tax, stupid) professionals : use Centos 5 or wait for centos 6 .
Exactly right, most orgs are not clamoring for 6 right now. Very few people would put their environments at risk just to play with the newest toy on the block. Centos 5.5 gets the job done for the moment.
-David
On 3/24/2011 10:30 AM, David Brian Chait wrote:
Sacrilege! This will make sense to only all IT (not income tax, stupid) professionals : use Centos 5 or wait for centos 6 .
Exactly right, most orgs are not clamoring for 6 right now. Very few people would put their environments at risk just to play with the newest toy on the block. Centos 5.5 gets the job done for the moment.
-David _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Whew!!
Todd
Greetings,
On 3/24/11, Rajagopal Swaminathan raju.rajsand@gmail.com wrote:
Don't leave Centos if you care for your life for next 3 years.
A small correction
"Don't leave your Centos (laptop/phone/anywhere) if you care for your life at least upto 2020 -- have a 20:20 vision for a change"
Rest, as they say, are small detail devils.
With warm regards,
Rajagopal