[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] Target filesystem doesn't have requested /sbin/init.



Hello,

I'm running xen 3.0 with the following conf.



# Configuration file template for Ofelia CF XEN agent

#
#  Kernel + memory size
#
kernel      = '/boot/vmlinuz-2.6.32-5-xen-amd64'
ramdisk     = '/boot/initrd.img-2.6.32-5-xen-amd64'

extra = 'console=hvc0 xencons=tty'

memory      = '1024'

#CPUS
vcpus = 1

#
#  Disk device(s).
#
root        = '/dev/xvda1 ro'
disk        = [
                  'file:/opt/ofelia/vt_manager/src/python/agent/cache/vms/f3c7d44b-1d6e-4cf5-8809-455e86e7c116/1c4eaccc-0a5a-427c-9bd9-1a57182b5f74/VM6.img,xvda1,w',
                  'file:/opt/ofelia/vt_manager/src/python/agent/cache/vms/f3c7d44b-1d6e-4cf5-8809-455e86e7c116/1c4eaccc-0a5a-427c-9bd9-1a57182b5f74/VM6_swap.img,xvda2,w',
              ]

#
#  Hostname
#
name        = 'VM6'

#UUID
uuid = '2a27c576-1787-4823-a996-47df17d577d0'

#
#  Networking
#
#dhcp        = 'dhcp'
dhcp='off'
##Interfaces 

#vif = ['script=noscript, bridge=test2, mac=00:00:00:00:aa:03',]
vif = ['bridge=test2, mac=00:00:00:00:aa:03',]

#
#  Behaviour
#
>
on_reboot   = 'restart'
on_crash    = 'restart'


And, when I launch xm create command, I see the following messages from console.


[    0.184731] Initalizing network drop monitor service
[    0.184787] Freeing unused kernel memory: 604k freed
[    0.184943] Write protecting the kernel read-only data: 4336k
Loading, please wait...
[    0.214238] udev[46]: starting version 164
[    0.252966] Initialising Xen virtual ethernet driver.
[    0.282649] blkfront: xvda1: barriers enabled
[    0.291046] blkfront: xvda2: barriers enabled
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
[    0.528786] kjournald starting.  Commit interval 5 seconds
[    0.528804] EXT3-fs: mounted filesystem with ordered data mode.
Begin: Running /scripts/local-bottom ... done.
done.
Begin: Running /scripts/init-bottom ... done.
Target filesystem doesn't have requested /sbin/init.
No init found. Try passing init= bootarg.


BusyBox v1.17.1 (Debian 1:1.17.1-8) built-in shell (ash)
Enter 'help' for a list of built-in commands.

/bin/sh: can't access tty; job control turned off
(initramfs) 


looks like the guest images /sbin/init is not executed.

looking for help :)

Oh, and by the way, the guest image does not have bootloader and could that be a problem?
Also, how can I install a bootloader to the guest image?

best,
 - Jaeyong


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.