Re: Can't restore Red Hat Ent V3 from tape
From: Dave (laporte1_at_charter.net)
Date: 11 Sep 2004 03:59:09 -0700
Jean-David Beyer <firstname.lastname@example.org> wrote in message news:<email@example.com>...
> Dave wrote:
> > Could someone help me, I am having trouble restoring a full system
> > backup tape which contained a good "bru" archive of my full and updated
> > Operating system from / down. I had Red Hat Enterprise V3 installed
> > and about 3 months of updates, which included several updates to the
> > kernel that I had noticed the kupdate program downloading and
> > installing. My latest kernel on the system was vmlinuz-2.4.21-20.EL.
> > My /etc/grub.conf stated the following after the updates.
> It needs a little bit more (see below).
> > kernel = /vmlinuz-2.4.21-20.EL Root=LABEL=/ initrd
> > /inird-2.4.21-20.EL.img
> > kernel = /vmlinuz-2.4.21-15.0.4.EL ro Root=LABEL/ initrd
> > /initrd-2.4.21-15.0.4.EL.img
> > kernel = /mvlinuz-2.4.21-15.EL ro Root=LABEL/ initrd
> > /initrd-2.4.21-15.EL.img
> > After I restore the full system backup tape and reboot, the system just
> > boots to a black screen with the work "GRUB" and a flashing cursor. The
> > system is totally unresponsive to any keyboard keys. I am guessing
> > after restoring the tape backup the GRUB program can't locate the now
> > restored boot image that probably is in a new area on the HD. I have
> > played around with running the command #grubby
> > --update-kernel=/boot/vmlinuz-2.4.21-20-.EL to see if it would update
> > any/or all necessary entries to find the kernel on boot, but again
> > after the fifth time of reloading everything and rebooting the system
> > just comes back to a black screen with the word "GRUB".
> > Any help to this problem would be greatly appreciated.
> > Please feel free to email me at "firstname.lastname@example.org"
> > Thanks
> > Dave LaPorte.
> Did you actually use CRU? It is supposed to restore absolutely everything,
> partition table, /dev/, and all, by using two floppies and the backup tape.
> Is /boot and /boot/grub correct? Sounds like grup is being called and it
> cannot find the stuff in /boot/grub.
> My /boot/grub looks like this:
> ]$ ls -l /boot/grub
> total 187
> -rw-r--r-- 1 root root 82 Mar 2 2004 device.map
> -rw-r--r-- 1 root root 7840 Mar 2 2004 e2fs_stage1_5
> -rw-r--r-- 1 root root 7536 Mar 2 2004 fat_stage1_5
> -rw-r--r-- 1 root root 6880 Mar 2 2004 ffs_stage1_5
> -rw------- 1 root root 881 Sep 8 00:42 grub.conf
> -rw------- 1 root root 905 Aug 4 01:22 grub.conf.dist
> -rw------- 1 root root 905 Aug 4 01:12 grub.conf~
> -rw-r--r-- 1 root root 8448 Mar 2 2004 jfs_stage1_5
> lrwxrwxrwx 1 root root 11 Mar 2 2004 menu.lst ->
> -rw-r--r-- 1 root root 7040 Mar 2 2004 minix_stage1_5
> -rw-r--r-- 1 root root 9408 Mar 2 2004 reiserfs_stage1_5
> -rw-r--r-- 1 root root 11182 Sep 11 2003 splash.xpm.gz
> -rw-r--r-- 1 root root 512 Mar 2 2004 stage1
> -rw-r--r-- 1 root root 106364 Mar 2 2004 stage2
> -rw-r--r-- 1 root root 6528 Mar 2 2004 vstafs_stage1_5
> -rw-r--r-- 1 root root 9320 Mar 2 2004 xfs_stage1_5
> trillian:root[/boot/grub]# cat grub.conf
> # 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/hda3
> # initrd /initrd-version.img
> title Red Hat Enterprise Linux ES (2.4.21-20.ELsmp)
> root (hd0,0)
> kernel /vmlinuz-2.4.21-20.ELsmp ro root=LABEL=/
> initrd /initrd-2.4.21-20.ELsmp.img
> title Red Hat Enterprise Linux ES (2.4.21-20.EL)
> root (hd0,0)
> kernel /vmlinuz-2.4.21-20.EL ro root=LABEL=/
> initrd /initrd-2.4.21-20.EL.img
> title Red Hat Enterprise Linux ES (2.4.21-15.0.4.ELsmp)
> root (hd0,0)
> kernel /vmlinuz-2.4.21-15.0.4.ELsmp ro root=LABEL=/
> initrd /initrd-2.4.21-15.0.4.ELsmp.img
I Didn't use CRU I used a tape software package called "BRU"
is supposed to back everything during a full system backup. When I
I "telinit s" to single user mode and then I restore using the brue
command #bru -xvua. The -ua means overwrite all files. I have used
on older redhat versions and it worked. The only other thing I did to
the system booted after the tape restore was to run the 'lilo' command
reset the kernel info.
In regard to the /boot and /boot/grub the only thing I have been
is the /boot directory to make sure the the file vmlinuz-2.4.21-20.EL
file initrd-2.4.21-20.ELsmp.img were actually there and they were. I
even know to check the /boot/grub. I will try again and compare the
what you posted.
Also, I did check the /etc/grub.conf. It was there and it
looked similar to what you had other then my vmlinux files were
Before I restored the system the only entry in /etc/grub.conf was
for the kernel build vmlinuz-2.4.21-15.0.4.EL. I assumed that was
because my tape backup was of a system with several Red Hat updates.