  | |  | Grub-install procedure with RH4? (problem with /dev/root.old) | Grub-install procedure with RH4? (problem with /dev/root.old) 2005-07-21 - By Shane Presley
Back 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@(protected)?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list
Earn $52 per hosting referral at Lunarpages.
|
|
 |