This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


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

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Target filesystem doesn't have /sbin/init
From: "Mohamed-Amine Kadimi" <gnu.linux@xxxxxxxxxxx>
Date: Sat, 02 Sep 2006 08:32:01 +0000
Delivery-date: Sat, 02 Sep 2006 01:33:28 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
I installed xen successfully under debian etch and used it for a few days whith a centOS 4 domU, then i decided to remove/reinstall it. all the steps was successfully done but when i attempt to start the centOS domU it stopped, there is the boot lines, i hope i can find a help

# xm create vhCentos.cfg -c
Using config file "/etc/xen/vhCentos.cfg".
Started domain vhCentos
Linux version 2.6.16-2-xen-k7 (Debian 2.6.16-17) (waldi@xxxxxxxxxx) (gcc version 4.0.4 20060630 (prerelease) (Debian 4.0.3-4)) #1 SMP Sun Jul 16 02:14:54 UTC 2006
BIOS-provided physical RAM map:
Xen: 0000000000000000 - 0000000008000000 (usable)
0MB HIGHMEM available.
136MB LOWMEM available.
ACPI in unprivileged domain disabled
IRQ lockup detection disabled
Built 1 zonelists
Kernel command line:  root=/dev/sda1 ro
Enabling fast FPU save and restore... done.
Initializing CPU#0
PID hash table entries: 1024 (order: 10, 16384 bytes)
Xen reported: 1302.299 MHz processor.
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Software IO TLB disabled
vmalloc area: b9000000-fb7fe000, maxmem 43ffe000
Memory: 116376k/139264k available (1519k kernel code, 14544k reserved, 531k data, 148k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay using timer specific routine.. 3264.75 BogoMIPS (lpj=6529508)
Security Framework v1.0.0 initialized
SELinux:  Disabled at boot.
Capability LSM initialized
Mount-cache hash table entries: 512
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 256K (64 bytes/line)
Checking 'hlt' instruction... OK.
Brought up 1 CPUs
checking if image is initramfs... it is
Freeing initrd memory: 10170k freed
Grant table initialized
NET: Registered protocol family 16
PCI: setting up Xen PCI frontend stub
ACPI: Subsystem revision 20060127
ACPI: Interpreter disabled.
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI: disabled
xen_mem: Initialising balloon driver.
PCI: System does not support PCI
PCI: System does not support PCI
audit: initializing netlink socket (disabled)
audit(1157184637.373:1): initialized
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
Initializing Cryptographic API
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler deadline registered
io scheduler cfq registered
PNP: No PS/2 controller found. Probing ports directly.
i8042.c: No controller found.
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
Xen virtual console successfully installed as tty1
Event-channel device installed.
blkif_init: reqs=64, pages=704, mmap_vstart=0xb0400000
netfront: Initialising virtual ethernet driver.
NET: Registered protocol family 2
Registering block device major 8
IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
TCP established hash table entries: 8192 (order: 4, 65536 bytes)
TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
TCP reno registered
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
NET: Registered protocol family 8
NET: Registered protocol family 20
Using IPI Shortcut mode
Freeing unused kernel memory: 148k freed
Loading, please wait...
Begin: Loading essential drivers... ...
Begin: Running /scripts/init-premount ...
FATAL: Error inserting fan (/lib/modules/2.6.16-2-xen-k7/kernel/drivers/acpi/fan.ko): No such device FATAL: Error inserting thermal (/lib/modules/2.6.16-2-xen-k7/kernel/drivers/acpi/thermal.ko): No such device
Begin: Mounting root file system... ...
Begin: Running /scripts/local-top ...
Begin: Running /scripts/local-premount ...
kjournald starting.  Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
Begin: Running /scripts/local-bottom ...
Begin: Running /scripts/init-bottom ...
mount: Mounting /root/dev on /dev/.static/dev failed: No such file or directory
Target filesystem doesn't have /sbin/init

BusyBox v1.1.3 (Debian 1:1.1.3-2) Built-in shell (ash)
Enter 'help' for a list of built-in commands.

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

and the vhCentos.cfg :

kernel  = '/boot/vmlinuz-2.6.16-2-xen-k7'
ramdisk = '/boot/initrd.img-2.6.16-2-xen-k7'
memory  = '128'

root    = '/dev/sda1 ro'

disk = [ 'file:/mnt/xen/domains/vhCentos/disk.img,sda1,w', 'file:/mnt/xen/domains/vhCentos/swap.img,sda2,w' ]

name    = 'vhCentos'

vif  = [ 'ip=' ]

on_poweroff = 'destroy'
on_reboot   = 'restart'
on_crash    = 'restart'

Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

Xen-users mailing list

<Prev in Thread] Current Thread [Next in Thread>