Mohamed-Amine Kadimi
2006-Sep-02 08:32 UTC
[Xen-users] Target filesystem doesn''t have /sbin/init
Hello 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@debian.org) (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 migration_cost=0 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... ... Done. 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 Done. Begin: Mounting root file system... ... Begin: Running /scripts/local-top ... Done. Begin: Running /scripts/local-premount ... Done. kjournald starting. Commit interval 5 seconds EXT3-fs: mounted filesystem with ordered data mode. Begin: Running /scripts/local-bottom ... Done. Done. Begin: Running /scripts/init-bottom ... mount: Mounting /root/dev on /dev/.static/dev failed: No such file or directory Done. 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 (initramfs) 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=192.168.0.101'' ] 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 Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Mohamed-Amine Kadimi
2006-Sep-04 10:16 UTC
RE: [Xen-users] Target filesystem doesn''t have /sbin/init
any help please>From: "Mohamed-Amine Kadimi" <gnu.linux@hotmail.com> >To: xen-users@lists.xensource.com >Subject: [Xen-users] Target filesystem doesn''t have /sbin/init >Date: Sat, 02 Sep 2006 08:32:01 +0000 > >Hello >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@debian.org) (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 >migration_cost=0 >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... ... >Done. >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 >Done. >Begin: Mounting root file system... ... >Begin: Running /scripts/local-top ... >Done. >Begin: Running /scripts/local-premount ... >Done. >kjournald starting. Commit interval 5 seconds >EXT3-fs: mounted filesystem with ordered data mode. >Begin: Running /scripts/local-bottom ... >Done. >Done. >Begin: Running /scripts/init-bottom ... >mount: Mounting /root/dev on /dev/.static/dev failed: No such file or >directory >Done. >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 >(initramfs) > > > >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=192.168.0.101'' ] > >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 >Xen-users@lists.xensource.com >http://lists.xensource.com/xen-users_________________________________________________________________ FREE pop-up blocking with the new MSN Toolbar - get it now! http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/ _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Molle Bestefich
2006-Sep-06 05:32 UTC
Re: [Xen-users] Target filesystem doesn''t have /sbin/init
Mohamed-Amine Kadimi wrote:> any help pleaseYour two messages were caught as spam by at least Gmail''s spam filter.> 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> Begin: Running /scripts/init-bottom ... > mount: Mounting /root/dev on /dev/.static/dev failed: No such file or directory > Done. > Target filesystem doesn''t have /sbin/init> root = ''/dev/sda1 ro'' > disk = [ ''file:/mnt/xen/domains/vhCentos/disk.img,sda1,w'', > ''file:/mnt/xen/domains/vhCentos/swap.img,sda2,w'' ]Use losetup + mount to mount disk.img in dom0, then check if there''s a "/dev" folder in the filesystem on the image. Your domU boot seems to suggest that there isn''t. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Mohamed-Amine Kadimi
2006-Sep-06 11:46 UTC
Re: [Xen-users] Target filesystem doesn''t have /sbin/init
> >Mohamed-Amine Kadimi wrote: >>any help please > >Your two messages were caught as spam by at least Gmail''s spam filter.Sorry, i sent the same message two days after the first> >>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 > >>Begin: Running /scripts/init-bottom ... >>mount: Mounting /root/dev on /dev/.static/dev failed: No such file or >>directory >>Done. >>Target filesystem doesn''t have /sbin/init > >>root = ''/dev/sda1 ro'' >>disk = [ ''file:/mnt/xen/domains/vhCentos/disk.img,sda1,w'', >>''file:/mnt/xen/domains/vhCentos/swap.img,sda2,w'' ] > >Use losetup + mount to mount disk.img in dom0, then check if there''s a >"/dev" folder in the filesystem on the image. Your domU boot seems to >suggest that there isn''t.thanks for your relply i mounted disk.img as loop device. as you said there is no /dev folder on the image. i tried to create many images (centos, fedora) but the same problem occures. any issues ? _________________________________________________________________ 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 Xen-users@lists.xensource.com http://lists.xensource.com/xen-users