LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (http://www.linuxquestions.org/questions/linux-general-1/)
-   -   Seeking Help With Mindi/MondoRescue - for '/boot' dir restore (http://www.linuxquestions.org/questions/linux-general-1/seeking-help-with-mindi-mondorescue-for-boot-dir-restore-897937/)

drsgrid 08-17-2011 05:20 PM

Seeking Help With Mindi/MondoRescue - for '/boot' dir restore
 
I could use some serious help im kinda freaking out... updated vbox on all machines - all went goot without hitch, on last machine- which happens to be our server. after booting says "grub stage 2" then goes right to a grub prompt.

All of the machines are identical, so on another machine i see that:
Code:

[root@pipe /boot/grub]# cat menu.lst
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /boot/, eg.
#          root (hd0,0)
#          kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
#          initrd /initrd-version.img
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title CentOS (2.6.18-238.19.1.el5)
        root (hd0,0)
        kernel /vmlinuz-2.6.18-238.19.1.el5 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
        initrd /initrd-2.6.18-238.19.1.el5.img
title CentOS (2.6.18-238.12.1.el5)
        root (hd0,0)
        kernel /vmlinuz-2.6.18-128.1.10.el5 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
        initrd /initrd-2.6.18-128.1.10.el5.img
title CentOS (2.6.18-128.1.6.el5)
        root (hd0,0)
        kernel /vmlinuz-2.6.18-92.1.22.el5 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
        initrd /initrd-2.6.18-92.1.22.el5.img


and so im trying to do :

Code:

grub> root (hd0,0)

 Filesystem type is ext2fs, partition type 0x83

grub> kernel /vmlinuz-2.6.18-238.19.1.el5 ro root=/dev/VolGroup00/LogVol00 rhgb quiet

 Error 15: File not found


i know my kernel is in /boot dir so also tried:

Code:

grub> kernel /boot/vmlinuz-2.6.18-238.19.1.el5 ro root=/dev/VolGroup00/LogVol00 rhgb quiet

 Error 15: File not found

ok so...


Code:

grub> kernel /dev/VolGroup00/LogVol00/boot/vmlinuz-2.6.18-238.19.1.el5

 Error 15: File not found


grub> find /vmlinuz-2.6.18-238.19.1.el5

 Error 15: File not found


grub> find /boot/vmlinuz-2.6.18-238.19.1.el5

 Error 15: File not found


ok so im pretty worried at this point - can anyone lend a helping hand?

yancek 08-17-2011 06:43 PM

If I understand your problem, you have a number of machines with CentOS 5.6 installed.
You updated the virtualbox program you had installed on each.
All the machines except one boot successfully.

Is the grub.conf file you posted from a bootable CentOS?
Are you able to boot any of the other kernels?
How are you running these commands on the machine which doesn't boot? A Live CD?
What is the output from the grub prompt of:

find /vmlinuz
find /boot/vmlinuz

I can't imagine how updating VirtualBox on your machine would affect booting.

drsgrid 08-18-2011 01:51 PM

Ok - here is what happened (who cares at this point) but apparently my /boot dir was nuked and a new kernel was put there - whole grub menu gone.... paperweight


So NOW.. luckily i made a Mindi/Mondo rescue disk but as the rescue disk .iso is 2.5G i cant fit it on cd-rom. So put 2.5 restore image on a usb, stick and booted my mondorescue.iso file via secondary usb stick but mindi/mondo cant find the restore image..




THIS POST HAS BEEN MOVED HERE

drsgrid 08-18-2011 02:08 PM

Seeking help with Mindi / MondoRescue - for '/boot' dir restore !
 
Apparently my /boot dir was nuked and my system reduced to a paperweight...

Luckily i made a Mindi/Mondo rescue disk but as the rescue disk .iso is 2.5G i cant fit it on cd-rom.

So I put 2.5G restore image on a usb stick and booted my mondorescue.iso file via secondary usb stick but mindi/mondo cant find the restore image....

So i entered "expert mode" and mounted the rescue image.... but now cant find a way to re-launch an "interactive" restore...

Do i need to install mindi / mondo? - cant find the binaries to launch... checked /bin /usr/bin /sbin .... any ideas -- i reviewed the docs at http://www.mondorescue.org/docs.shtml but cant find a way to restart now that the restore image is mounted....

seek assistance, really need to get this system back up!


All times are GMT -5. The time now is 04:32 PM.