Hi
I have created a domain with ttylinux ,and it works ,
then I try to create a EXT3 file system ,
mkdir -p /xent/base
dd if=/dev/zero of=/root/base.img bs=1M count=1 seek=1024
mkfs.ext3 /root/base.img
mount -o loop /root/base.img /xent/base
and create a domain with this file system ,but it failed when domain
start,printing out ERROR as follows ,then stoped
What should I do ?
Anyone help me
Warning: unable to open an initial console.
Kernel panic - not syncing: No init found. Try passing init= option to
kernel.
configure file is :
[root@tgh xen]# cat tghdlut
kernel = "/boot/vmlinuz-2.6.11.10-xenU"
memory = 64
name = "ttylinux1"
nics = 2
vif = [ ''mac=bb:00:00:00:00:11, bridge=xen-br0'' ]
disk = [ ''file:/root/base.img,hda4,w'' ]
ip = "10.20.10.156"
hostname = "ttylinux1"
root = "/dev/hda4 ro"
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
Hi, as far as I know you have to unmount the disk first and then the boot the user domain. HTH, Cz. On Tue, 05 Jul 2005 15:35:22 +0200, tgh <tianguanhua@ncic.ac.cn> wrote:> Hi > I have created a domain with ttylinux ,and it works , > then I try to create a EXT3 file system , > > mkdir -p /xent/base > dd if=/dev/zero of=/root/base.img bs=1M count=1 seek=1024 > mkfs.ext3 /root/base.img > mount -o loop /root/base.img /xent/base > and create a domain with this file system ,but it failed when domain > start,printing out ERROR as follows ,then stoped > > What should I do ? > Anyone help me > > > Warning: unable to open an initial console. > Kernel panic - not syncing: No init found. Try passing init= option to > kernel. > > configure file is : > [root@tgh xen]# cat tghdlut > kernel = "/boot/vmlinuz-2.6.11.10-xenU" > memory = 64 > name = "ttylinux1" > nics = 2 > vif = [ ''mac=bb:00:00:00:00:11, bridge=xen-br0'' ] > disk = [ ''file:/root/base.img,hda4,w'' ] > ip = "10.20.10.156" > hostname = "ttylinux1" > root = "/dev/hda4 ro" > > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users-- Using Opera''s revolutionary e-mail client: http://www.opera.com/m2/ _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi
I try to install a domain ,following the manual on line ,
using the instructions to build the file system as follows:
# dd if=/dev/zero of=vm1disk bs=1k seek=2048k count=1
# mkfs -t ext3 vm1disk
# mount -o loop vm1disk /mnt
# cp -ax /{root,dev,var,etc,usr,bin,sbin,lib} /mnt
but /{bin,sbin,lib} can`t be copied ,
the message says they are the only-read file system
how to fix it ?
I try to ignore it ,and follow the rest instructions in the manual
when I try to run "xm create **** -c"
the domain boots up a few lines and then put out a ERROR as follows
then stop
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Freeing unused kernel memory: 112k freed
kjournald starting. Commit interval 5 seconds
Kernel panic - not syncing: No init found. Try passing init= option to kernel.
How to fix it ?
The config file is as follows
[root@tgh xen]# cat tghdlut
kernel = "/boot/vmlinuz-2.6.11.10-xenU"
memory = 64
name = "tghdlut"
nics = 1
vif = [ ''mac=bb:00:00:00:00:11, bridge=xen-br0'' ]
disk = [ ''file:/tgh/tgh/vmldisk,hda4,w'' ]
ip = "10.20.10.156"
hostname = "tghdlut"
root = "/dev/hda4 ro"
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users