Hello..I am not very proficient in Linux kernel 
<http://www.linuxquestions.org/questions/showthread.php?t=561223#> 
stuffs although I know my basics. I have a question and all 
suggestions/solutions will be highly appreciated...
I got to know that RHEL 5 has inbuilt Xen Support...So I tried to 
install a RHEL 5.0 Server 
<http://www.linuxquestions.org/questions/showthread.php?t=561223#> on 
my P4 machine. On top of it I tried to install Xen specific RPMs and 
some other RPMs needed by Xen.
The additinal RPMs added after base RHEL 5.0 installation are :
bridge-utils-1.1.2.i386.rpm
iproute-2.6.18-4.el5.i386.rpm
kernel-xen-2.6.18-8.el5.i686.rpm
kernel-xen-devel-2.6.18-8.el5.i686.prm
udev-095-14.5.el5.i386.rpm
After all this the grub.conf gets modified automatically and looks 
like this:
# 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/VolGroup00/LogVol00
# initrd /initrd-version.img
#boot=/dev/hda
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
#hiddenmenu
title Red Hat Enterprise Linux Server (2.6.18-8.el5xen)
root (hd0,0)
kernel /xen.gz-2.6.18-8.el5
module /vmlinuz-2.6.18-8.el5xen ro root=/dev/VolGroup00/LogVol00 rhgb 
quiet
module /initrd-2.6.18-8.el5xen.img
title Red Hat Enterprise Linux 
<http://www.linuxquestions.org/questions/showthread.php?t=561223#> 
Server (2.6.18-8.el5)
root (hd0,0)
kernel /vmlinuz-2.6.18-8.el5 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
initrd /initrd-2.6.18-8.el5.img
After all this I am ready to boot properly into Xen Specific Linux 
<http://www.linuxquestions.org/questions/showthread.php?t=561223#> and 
the original RHEL . But there is no /etc/xen directory and nor are the 
tools like xend and xm available.
So  I am not sure if I am missing some other RPMS that need to be 
installed??
On not being able to get it done this way I tried to erase the xen 
specific RPMs
kernel-xen-2.6.18-8.el5.i686.rpm
kernel-xen-devel-2.6.18-8.el5.i686.prm
and installed the RPMs obtained from Xen Source site (for RHEL 5). The 
RPMs installed are :
kernel-xen-2.6.18-3.1.0.i386.rpm
xen-devel-3.1.0-1.i386.rpm
xen-3.1.0-1.src.rpm
xen-3.1.0-1.i386.rpm
By doing this I see that /etc/xen directory has been created and I can 
see the tools xend,xm...
But after modifying the grub.conf and trying to boot into Xen I get 
kernel panic.
The grub.conf after modification is :
# 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/VolGroup00/LogVol00
#          initrd /initrd-version.img
#boot=/dev/hda
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
#hiddenmenu
title Red Hat Enterprise Linux Server - XEN ENABLED
    root (hd0,0)
    kernel /xen-3.1.0.gz noreboot
    module /vmlinuz-2.6.18-xen_3.1.0 ro root=/dev/VolGroup00/LogVol00
    module /initrd-2.6.18-xen_3.1.0.img
title Red Hat Enterprise Linux Server (2.6.18-8.el5)
    root (hd0,0)
    kernel /vmlinuz-2.6.18-8.el5 ro root=/dev/VolGroup00/LogVol00 rhgb 
quiet
    initrd /initrd-2.6.18-8.el5.img
Some of the kernel panic messages are like:
Reading all physical volumes.
No volume groups found
Volume Group "Vol Group00" not found.
Mount: could not find file system /dev/root
setuproot: moving /dev failed. No such file or directory
.
.
end-request:I/O error, dev fd0, sector 0
I am including here some details of my configurations:
[root@dyn-9-1-75-65 ~]# cat /etc/fstab
/dev/VolGroup00/LogVol00 /                       ext3    
defaults        1 1
LABEL=/boot             /boot                   ext3    
defaults        1 2
devpts                  /dev/pts                devpts  
gid=5,mode=620  0 0
tmpfs                   /dev/shm                tmpfs   
defaults        0 0
proc                    /proc                   proc    
defaults        0 0
sysfs                   /sys                    sysfs   
defaults        0 0
/dev/VolGroup00/LogVol01 swap                    swap    
defaults        0 0
[root@dyn-9-1-75-65 ~]# cat /proc/partitions
major minor  #blocks  name
   3     0   39078144 hda
   3     1     104391 hda1
   3     2   38973690 hda2
 253     0   37945344 dm-0
 253     1    1015808 dm-1
[root@dyn-9-1-75-65 ~]# fdisk -l
Disk /dev/hda: 40.0 GB, 40016019456 bytes
255 heads, 63 sectors/track, 4865 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
   Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1          13      104391   83  Linux
/dev/hda2              14        4865    38973690   8e  Linux LVM
[root@dyn-9-1-75-65 ~]# parted
GNU Parted 1.8.1
Using /dev/hda
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) print                                                           
Model: IC35L040AVVN07-0 (ide)
Disk /dev/hda: 40.0GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number  Start   End     Size    Type     File system  Flags
 1      32.3kB  107MB   107MB   primary  ext3         boot
 2      107MB   40.0GB  39.9GB  primary               lvm 
[root@dyn-9-1-75-65 ~]# lvm
lvm> pvdisplay
  --- Physical volume ---
  PV Name               /dev/hda2
  VG Name               VolGroup00
  PV Size               37.17 GB / not usable 12.24 MB
  Allocatable           yes (but full)
  PE Size (KByte)       32768
  Total PE              1189
  Free PE               0
  Allocated PE          1189
  PV UUID               1xh1p6-cC8T-cocr-iyY2-Ta9x-KrOY-Io79SL
  
lvm> lvdisplay
  --- Logical volume ---
  LV Name                /dev/VolGroup00/LogVol00
  VG Name                VolGroup00
  LV UUID                KgakUg-SYE9-6Vn2-3Iks-3Wbo-ENYt-r2UDzE
  LV Write Access        read/write
  LV Status              available
  # open                 1
  LV Size                36.19 GB
  Current LE             1158
  Segments               1
  Allocation             inherit
  Read ahead sectors     0
  Block device           253:0
  
  --- Logical volume ---
  LV Name                /dev/VolGroup00/LogVol01
  VG Name                VolGroup00
  LV UUID                6avXTk-0DYK-JHRc-bh56-4w68-eBJg-kAVw4s
  LV Write Access        read/write
  LV Status              available
  # open                 1
  LV Size                992.00 MB
  Current LE             31
  Segments               1
  Allocation             inherit
  Read ahead sectors     0
  Block device           253:1
Can any one pls suggest where I went wrong?
Thanks in advance
Dushmanta
------------------------------------------------------------------------
Boardwalk for $500? In 2007? Ha!
Play Monopoly Here and Now 
<http://us.rd.yahoo.com/evt=48223/*http://get.games.yahoo.com/proddesc?gamekey=monopolyherenow> 
(it's updated for today's economy) at Yahoo! Games.
------------------------------------------------------------------------
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users