Grub-install procedure with RH4? (problem with /dev/root.old)

From: Shane Presley (shane.presley_at_gmail.com)
Date: 07/21/05

  • Next message: Akhthar Parvez. K: "Re: ps command"
    Date: Thu, 21 Jul 2005 14:45:39 -0400
    To: redhat-install-list@redhat.com, General Red Hat Linux discussion list <redhat-list@redhat.com>
    
    

    Hello,

    Our recovery procedures for RHEL v3 were pretty simple. We do nightly
    backups, and if/when we have to restore, we would restore to a
    secondary disk, then install grub. Here are my notes for v3...

    boot to CD
    linux rescue
    if automount fails...
             mount partitions read/write
                      #mount -o rw /dev/sda2 /mnt/sysimage
                      #mount -o rw /dev/sda1 /mnt/sysimage/boot
    install master boot record
           #chroot /mnt/sysimage
           #grub-install /dev/sda
    #exit (get out of chrooted env.)
           #exit (reboot)

    The problem is that with RHEL4, the automount is failing, so we have
    to manually mount the partitions. When we do that, we have a problem
    with /dev.

    The chroot'd /dev (which was previously /mnt/sysimage/dev) does not
    contain the block file sda. So grub-install /dev/sda complains that
    /dev/sda does not exist.

    When I look at what an automount does, it somehow mounts /dev/root.old
    as /mnt/sysimage/dev.

    Is there a way to manually do that, or am I missing something?

    Thanks
    Shane

    -- 
    redhat-list mailing list
    unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
    https://www.redhat.com/mailman/listinfo/redhat-list
    

  • Next message: Akhthar Parvez. K: "Re: ps command"