Hi, I switched to Fedora Core 5 and I now have a few problems when booting a domU virtual machine with Xen (as provided by the FC5 installation). I get the following boot trace when trying to bot a domU: Mounting proc filesystem Mounting sysfs filesystem Creating /dev Creating initial device nodes Setting up hotplug. Creating block device nodes. Creating root device. Mounting root filesystem. kjournald starting. Commit interval 5 seconds EXT3-fs: mounted filesystem with ordered data mode. Setting up other filesystems. Setting up new root fs no fstab.sys, mounting internal defaults Switching to new root and running init. unmounting old /dev unmounting old /proc unmounting old /sys exec of init (/sbin/init) failed!!!: No such file or directory Kernel panic - not syncing: Attempted to kill init! I have tried both a real block device and a file-backed virtual block device for the root file-system, without success. I have also tried to change the configuration file in many ways. I have changed the file system from ro to be rw, and I have also tried to boot with and without initrd. I followed the instructions form the Xen user manual to create the root file-system (first copy the dirs that root, dev, var, etc, usr, bin, sbin, lib and then create the proc, sys, home, tmp dirs). 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 mkdir /mnt/{proc,sys,home,tmp} umount /mnt I used the following config file for the domU: kernel = "/boot/vmlinuz-2.6.17-1.2157_FC5xenU" ramdisk = "/boot/initrd-2.6.17-1.2157_FC5xenU.img" memory = 256 disk = [ ''file:/root/vmrootfs,sda1,w'' ] name = "ExampleDomain" vif = [ '''' ] root = "/dev/sda1" extra = "4" The /etc/fstab file of the file system that the vm will use is: /dev/sda1 / ext3 defaults 1 1 none /dev/pts devpts gid=5,mode=620 0 0 none /dev/shm tmpfs defaults 0 0 none /proc proc defaults 0 0 none /sys sysfs defaults 0 0 And I have also tried with the following alternate versions of /etc/fstab: 1) /dev/sda1 / ext3 defaults 1 1 2) /dev/sda1 / ext3 defaults 0 0 none /proc proc defaults 0 0 none /dev/pts devpts gid=2,mode=620 0 0 3) /dev/sda1 / ext3 defaults 1 1 none /proc proc defaults 0 0 none /dev/pts devpts gid=2,mode=620 0 0 Note that I have succesfully managed to boot a vm using a file system image from tty-linux5.0. So, my assumption is that the problems is related to the file system image that I use for the Fedora install. Thanks in advance for you help, --------------------------------- Do you Yahoo!? Next-gen email? Have it all with the all-new Yahoo! Mail Beta. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Wed, 2006-26-07 at 07:05 -0700, Constantinos Hassapis wrote:> exec of init (/sbin/init) failed!!!: No such file or directoryI think it''s pretty obvious where the problem is. Make sure that exists. Regards, Ranbir -- Kanwar Ranbir Sandhu Linux 2.6.17-1.2141_FC4 i686 GNU/Linux 10:36:01 up 4:05, 2 users, load average: 0.02, 0.13, 0.17 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> -----Original Message----- > From: xen-users-bounces@lists.xensource.com > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of > Kanwar Ranbir Sandhu > Sent: 27 July 2006 15:37 > To: xen-users@lists.xensource.com > Subject: Re: [Xen-users] xen-users@lists.xensource.com > > On Wed, 2006-26-07 at 07:05 -0700, Constantinos Hassapis wrote: > > exec of init (/sbin/init) failed!!!: No such file or directory > > I think it''s pretty obvious where the problem is. Make sure that > exists.Whilst that''s the obvious answer, the question is really WHY DOES it not exist. The common cause for this is that the system failed to (correctly) mount the filesystem on / (root). -- Mats _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Thu, 2006-27-07 at 16:47 +0200, Petersson, Mats wrote:> > I think it''s pretty obvious where the problem is. Make sure that > > exists. > Whilst that''s the obvious answer, the question is really WHY DOES it not > exist. The common cause for this is that the system failed to > (correctly) mount the filesystem on / (root).You''re right! Also, I think that other guy that replied pretty much answered why / was missing. Regards, Ranbir -- Kanwar Ranbir Sandhu Linux 2.6.17-1.2141_FC4 i686 GNU/Linux 10:52:34 up 4:22, 2 users, load average: 0.70, 0.33, 0.23 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi, First i would like to thanks you. When i mount the filesytem i see that the init exits. So i thinks that the init will still exits when the system is booting. Also i have mount the filesystem at the /. Do you have any other suggestions? Thanks in advance... Kanwar Ranbir Sandhu <m3freak@rogers.com> wrote: On Thu, 2006-27-07 at 16:47 +0200, Petersson, Mats wrote:> > I think it''s pretty obvious where the problem is. Make sure that > > exists. > Whilst that''s the obvious answer, the question is really WHY DOES it not > exist. The common cause for this is that the system failed to > (correctly) mount the filesystem on / (root).You''re right! Also, I think that other guy that replied pretty much answered why / was missing. Regards, Ranbir -- Kanwar Ranbir Sandhu Linux 2.6.17-1.2141_FC4 i686 GNU/Linux 10:52:34 up 4:22, 2 users, load average: 0.70, 0.33, 0.23 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users --------------------------------- Do you Yahoo!? Get on board. You''re invited to try the new Yahoo! Mail Beta. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users