I shot myself in the foot today. I had a centos 5.11 install running fine. Doing a backup, I overwrote the /bin directory by mistake.
I couldn't get my machine to recognize a centos 6.5 or 6.6 install dvd, so I put in the original centos 5.10 install disc and re-installed. No problem. During the text installer, I told it to install grub on /dev/sdc1, which is /boot. My raid arrays with lots of data (still intact) are /dev/sda and /dev/sdb, so I didn't want it to install grub on the MBR of /dev/sda.
When I power it on, the kernel selection comes up, I select the (only) kernel and it says: Booting 'Centos (2.6.18-371.el5)'
root (hd2,0) filesystem type is ext2fs, partition type is 0x83 kernel /vmlinuz-2.6.18-371.el5 ro root=LABEL=/ rhgb quiet
Error 15: file not found
Press any key to continue
So it is finding the /boot/grub/grub.conf and reading it correctly. /boot (/dev/sdc1) actually contains the vmlinux-2.6.18-371.el5 file as well as all the other related files that belong there.
I installed onto the same hard disk that the last OS was on, reformatting the /, /boot, /usr partitions and installing to them. /boot is /dev/sdc1 and / is on /dev/sdc5. No errors or problems in the install.
should the root (hd2,0) line above actually read root (hd2,4) where the real / partition is (/dev/sdc5)??
I booted linux rescue with the 5.10 install disk, and I see that the /boot/grub/grub.conf file looks correct, and all the correct files are there in /boot. I am confused and don't know what to do next.
thanks, -chuck
I don't think this made it to the list yesterday. At least I never saw it show up.
-chuck
-------- Forwarded Message -------- Subject: install problem Date: Wed, 08 Apr 2015 19:50:20 -0500 From: Chuck Campbell campbell@accelinc.com Reply-To: campbell@accelinc.com Organization: ACCEL Services, Inc. To: CentOS mailing list centos@centos.org CC: campbell@accelinc.com
I shot myself in the foot today. I had a centos 5.11 install running fine. Doing a backup, I overwrote the /bin directory by mistake.
I couldn't get my machine to recognize a centos 6.5 or 6.6 install dvd, so I put in the original centos 5.10 install disc and re-installed. No problem. During the text installer, I told it to install grub on /dev/sdc1, which is /boot. My raid arrays with lots of data (still intact) are /dev/sda and /dev/sdb, so I didn't want it to install grub on the MBR of /dev/sda.
When I power it on, the kernel selection comes up, I select the (only) kernel and it says: Booting 'Centos (2.6.18-371.el5)'
root (hd2,0) filesystem type is ext2fs, partition type is 0x83 kernel /vmlinuz-2.6.18-371.el5 ro root=LABEL=/ rhgb quiet
Error 15: file not found
Press any key to continue
So it is finding the /boot/grub/grub.conf and reading it correctly. /boot (/dev/sdc1) actually contains the vmlinux-2.6.18-371.el5 file as well as all the other related files that belong there.
I installed onto the same hard disk that the last OS was on, reformatting the /, /boot, /usr partitions and installing to them. /boot is /dev/sdc1 and / is on /dev/sdc5. No errors or problems in the install.
should the root (hd2,0) line above actually read root (hd2,4) where the real / partition is (/dev/sdc5)??
I booted linux rescue with the 5.10 install disk, and I see that the /boot/grub/grub.conf file looks correct, and all the correct files are there in /boot. I am confused and don't know what to do next.
thanks, -chuck
On 4/9/2015 2:44 PM, Chuck Campbell wrote:
I don't think this made it to the list yesterday. At least I never saw it show up.
it showed up here. dunno what to suggest.
maybe install 5.11 on a VM somewhere with the same package set and architecture (on the blown system, /var/log/rpmpkgs, then copy everything in /bin ? boot the target system with a rescue OS, mount your OS root as /mnt or something, and copy that backup to /mnt/bin ?
this won't be perfect unless you know exactly what RPMs were installed on the blown system, but its probably better than nothing.
I dunno. I think I'd install a new box with 6 or 7, and migrate over whatever app stuff you need.
On 4/9/2015 4:57 PM, John R Pierce wrote:
On 4/9/2015 2:44 PM, Chuck Campbell wrote:
I don't think this made it to the list yesterday. At least I never saw it show up.
it showed up here. dunno what to suggest.
maybe install 5.11 on a VM somewhere with the same package set and architecture (on the blown system, /var/log/rpmpkgs, then copy everything in /bin ? boot the target system with a rescue OS, mount your OS root as /mnt or something, and copy that backup to /mnt/bin ?
this won't be perfect unless you know exactly what RPMs were installed on the blown system, but its probably better than nothing.
I dunno. I think I'd install a new box with 6 or 7, and migrate over whatever app stuff you need.
I'll try running the install again. I did this exact same thing a year ago, and all worked fine. The only difference was that I didn't partition the disk this time, and I preserved one partition's data. I'll back it up and just go the whole route with a format and partition in the installer and see if it works.
It is strange that it finds the /boot partition to get the gtub.conf, but can't see the initrd and vmlinuz files there...
-chuck
On 4/9/2015 6:12 PM, Chuck Campbell wrote:
On 4/9/2015 4:57 PM, John R Pierce wrote:
On 4/9/2015 2:44 PM, Chuck Campbell wrote:
I don't think this made it to the list yesterday. At least I never saw it show up.
it showed up here. dunno what to suggest.
maybe install 5.11 on a VM somewhere with the same package set and architecture (on the blown system, /var/log/rpmpkgs, then copy everything in /bin ? boot the target system with a rescue OS, mount your OS root as /mnt or something, and copy that backup to /mnt/bin ?
this won't be perfect unless you know exactly what RPMs were installed on the blown system, but its probably better than nothing.
I dunno. I think I'd install a new box with 6 or 7, and migrate over whatever app stuff you need.
I'll try running the install again. I did this exact same thing a year ago, and all worked fine. The only difference was that I didn't partition the disk this time, and I preserved one partition's data. I'll back it up and just go the whole route with a format and partition in the installer and see if it works.
It is strange that it finds the /boot partition to get the gtub.conf, but can't see the initrd and vmlinuz files there...
-chuck
The machine was seeing the disks in a different order when running the DVD install, than when it tried to boot itself.
-chuck