Installation guide

3 1 104391 hda1
3 2 10377990 hda2
202 0 64000 xvdb
202 1 32000 xvdb1
202 2 32000 xvdb2
253 0 8257536 dm-0
253 1 2031616 dm-1
In the above output, you can see the partitioned device “ xvdb is available to the system.
The procedure below adds the new device to the guest and makes it persistent after rebooting. All
these commands are executed on the guest.
1. Create directories to mount the block device image in.
[root@rhel5]# mkdir /mnt/pvdisk_p1
[root@rhel5]# mkdir /mnt/pvdisk_p2
2. Mount the devices to the new folders.
[root@rhel5]# mount /dev/xvdb1 /mnt/pvdisk_p1
[root@rhel5]# mount /dev/xvdb2 /mnt/pvdisk_p2
3. Verify the devices are mounted correctly.
[root@rhel5]# df /mnt/pvdisk_p1
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/xvdb1 32000 15 31985 1% /mnt/pvdisk_p1
4. Update the /etc/fstab file inside the guest to mount the devices during the boot sequence.
Add the following lines:
/dev/xvdb1 /mnt/pvdisk_p1 ext3 defaults 1 2
/dev/xvdb2 /mnt/pvdisk_p2 ext3 defaults 1 2
Note
Using a Red Hat Enterprise Linux 5.1 host (dom0), the "noapic" parameter should be added
to the kernel boot line in your virtual guest's /boot/grub/grub.conf entry as seen below.
Keep in mind your architecture and kernel version may be different.
kernel /vmlinuz-2.6.9-67.EL ro root=/dev/VolGroup00/rhel4_x86_64 rhgb
noapic
A Red Hat Enterprise Linux 5.2 dom0 will not need this kernel parameter for the guest.
Hid in g f ake int erf aces
Sometimes, activating the para-virtualized drivers does not delete the old virtualized network
interfaces. To remove these interfaces from guests use the following procedure.
1. Add the following lines to the /etc/modprobe.d/blacklist file. Blacklist 8139cp and
8139too for the RealTek 8139 and e1000 for the virtualized Intel e1000 NIC.
Red Hat En t erp rise Lin ux 5 Virt ualizat ion Guid e
160