Error Code details
V-5-2-4634
Severity: n/a 
Component: Volume Manager 
Message:
MBR of $rootdisk does not appear to belong to any of the supported bootloaders 'lilo', 'grub', 'elilo', or 'yaboot'
Description:

This message appears when the vxencap command cannot find a supported boot loader (for example, LILO, GRUB, elilo, or Yaboot) on the first sector of the boot disk. The first sector of the boot disk is the called the master boot record (MBR). On Linux, the VxVM root disk encapsulation process depends on the boot loader. Encapsulation cannot proceed unless a supported boot loader is installed on the boot disk.

 

Veritas solutions
Solution 1 Vote: [Useful] [Not useful]
Last Modified: 2009-08-11 17:18:50 PDT
Platform: SUSE Linux Enterprise Server 10 (x86-32), SUSE Linux Enterprise Server 10 (IA-64), SUSE Linux Enterprise Server 10 (x86-64), SUSE Linux Enterprise Server 10 (POWER)
Release: 5.0MP3
Content:

Follow these steps to recreate the MBR on the root disk:

  1. Start the system and boot it from Linux installation disc 1.
     
  2. On a Red Hat system, run the following command at the boot prompt to put the system in rescue mode:

    boot: linux rescue

    On a SUSE system, choose the Rescue option from the menu.

    Log in as root, select your language and keyboard, and choose to skip finding your installation.
     
  3. Make a temporary mount point, /vxvm, and mount the root partition on it:

    # mkdir /vxvm
    # mount –t ext3 /dev/sda1 /vxvm

    In this example the root partition is /dev/sda1 and the root file system type is ext3. You may need to modify this command according to your system configuration. For example, the root file system may be configured as a reiserfs file system.
     
  4. If the disk has a separate boot partition, mount it on /vxvm/boot:

    # mount –t ext3 /dev/sda2 /vxvm/boot

    In this example, the boot partition is /dev/sda2 and the boot file system type is ext3. You may need to modify this command according to your system configuration.
     
  5. Recreate the MBR on the root disk.

    For the GRUB boot loader:

    Check that the contents of the GRUB configuration file (/vxvm/boot/grub/menu.1st or /vxvm/etc/grub.conf as appropriate) are correct, and use the grub command to recreate the MBR on the disk (here /boot is assumed to be on partition 2):

    # /vxvm/sbin/grub
    grub> root (hd0,1)
    grub> setup (hd0)
    grub> quit

    For the LILO boot loader:

    Check that the contents of the /vxvm/etc/lilo.conf file are correct, and use the lilo command to recreate the MBR on the replacement disk:

    # /vxvm/sbin/lilo –r /vxvm

    In these examples, the MBR is written to /dev/sda. You may need to modify the commands according to your system configuration.
     
  6. Unmount the partitions, run sync, and then exit the rescue shell:
    # cd /
    # umount /vxvm/boot
    # umount /vxvm
    # sync
    # exit

  7. Reboot the system from the disk with the reconstructed MBR, and select vxvm_root at the GRUB or LILO boot prompt.

 

User solutions
No user solutions yet.

 

Read and accept Terms of Service