Thanks Mr.Stefan
I was getting some errors when i ran like
xm create
libvirt-ttylinux.conf ----------------------------------------------------------------------------------------------------------------------------------------
Mounting root filesystem.
mount: could not find filesystem '/dev/root'
Setting up other filesystems.
Setting up new root fs
setuproot: moving /dev failed: No such file or directory
no fstab.sys, mounting internal defaults
setuproot: error mounting /proc: No such file or directory
setuproot: error mounting /sys: No such file or directory
Switching to new root and running init.
unmounting old /dev
unmounting old /proc
unmounting old /sys
switchroot: mount failed: No such file or directory
------------------------------------------------------------------------
So this time as sure that there is some problem with my configuration
file. I googled , then I found some solution to change the ramdisk
option by some command mentioned in the following link.
http://www.virtuatopia.com/index.php/A_Xen_Guest_OS_fails_to_boot_with_a_%22switchroot:_mount_failed:_No_such_file_or_directory_error_message%22_error_message.
But after doing this when I restart my process by "xm create..." and "virsh console..." , I get
--------------------------------------------------------------
Creating root device.
Mounting root filesystem.
ext3: No journal on filesystem on sda1
mount: error mounting /dev/root on /sysroot as ext3: Invalid argument
Setting up other filesystems.
Setting up new root fs
setuproot: moving /dev failed: No such file or directory
no fstab.sys, mounting internal defaults
setuproot: error mounting /proc: No such file or directory
setuproot: error mounting /sys: No such file or directory
Switching to new root and running init.
unmounting old /dev
unmounting old /proc
unmounting old /sys
--------------------------------------------------------------------------------------------------------------------------
Similary when I try other way by changing the ramdisk option in
ttylinux.xml file and use "virsh -c xen:/// create
libvirt-ttylinux.xml" , then virsh console domainname,
I get some kernel error
--------------------------------------------------------------------------------------------------
..............................................................
Initalizing network drop monitor service
Freeing unused kernel memory: 176k freed
Write protecting the kernel read-only data: 390k
Registering block device major 8
USB Universal Host Controller Interface driver v3.0
SCSI subsystem initialized
device-mapper: uevent: version 1.0.3
device-mapper: ioctl: 4.11.5-ioctl (2007-12-12) initialised: dm-devel@redhat.com
device-mapper: dm-raid45: initialized v0.2594l
netfront: Initialising virtual ethernet driver.
netfront: device eth0 has flipping receive path.
ext3: No journal on filesystem on sda1
Kernel panic - not syncing: Attempted to kill init!
--------------------------------------------------------------------------------------------------
So , There is something terribly wrong with my kernel options in the
configuration file in both cases, that doesn't allow the image to boot.
Can you identify the nature of the error?
Can You help me out in someway?
Thanks