Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Since the information you provide shows CentOS as the only system installed, you should install to /dev/sda which would be the master boot record. The method you used installs to the partition so you would need some other boot code from some other bootloader in the master boot record in order to boot CentOS. I believe 6.0 still used Grub Legacy. Do you have a separate boot partition? The info you posted is very limited. If you have the CentOS installation Live CD or some other Live CD, go to the site below and download and run the bootinfoscript. It will output a results.txt file which you can post here and you should get some help with that. Read the instructions in the link in the Description box on the page.
Since the information you provide shows CentOS as the only system installed, you should install to /dev/sda which would be the master boot record. The method you used installs to the partition so you would need some other boot code from some other bootloader in the master boot record in order to boot CentOS. I believe 6.0 still used Grub Legacy. Do you have a separate boot partition? The info you posted is very limited. If you have the CentOS installation Live CD or some other Live CD, go to the site below and download and run the bootinfoscript. It will output a results.txt file which you can post here and you should get some help with that. Read the instructions in the link in the Description box on the page.
I will run the script and will show results here soon,
For now I have booted from centos live cd
i don't find any thing under my boot /
i have installed grub using grub-install on rescue Linux yet no files appear on boot /
is it save to copy files of "boot" folder from other computer as it has same OS n configuration
Did you mount the /boot partition for the installed CentOS? Actually, you haven't indicated whether you have a separate boot partition or if the boot files are in the boot directory on the / (root filesystem) partition. You need to mount that partition from the Live CD to see/access files there. Did you do that?
Quote:
is it save to copy files of "boot" folder from other computer as it has same OS n configuration
Maybe, if the other OS is also CentOS 6.0. Better to post the bootinfoscript output to get a more definitive answer.
Did you mount the /boot partition for the installed CentOS? Actually, you haven't indicated whether you have a separate boot partition or if the boot files are in the boot directory on the / (root filesystem) partition. You need to mount that partition from the Live CD to see/access files there. Did you do that?
Maybe, if the other OS is also CentOS 6.0. Better to post the bootinfoscript output to get a more definitive answer.
I have copied the files to /boot and re install grub and edit grub.conf...then yum update from rescue mode, it works
I still don't know the reason why the machine got crashed and there was nothing Under /boot.
System was running fine..nothing was updated or configured , it just got crashed.
Do you use mechanical HDD with platters and not SSD's?
If so, sometimes some sectors get mapped to others. So a temporary failure. It may indicate a HDD failure. You may run a test of hard disk health either by vendor provided utility or using smartctl tool.
Do you use mechanical HDD with platters and not SSD's?
If so, sometimes some sectors get mapped to others. So a temporary failure. It may indicate a HDD failure. You may run a test of hard disk health either by vendor provided utility or using smartctl tool.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.