Hi all, For some reason, one of my VMs running CentOS5.4 x86_64 stopped booting all the way... It gets to: "Starting HAL daemon: [ OK ]" then nothing else. I''ve tried killing it and adding ''single'' and ''1'' to the ''extra'' command in the config file, but it doesn''t seem to effect how it boots. Can someone let me know how I may go about regaining a shell login to a VM this messed up? Thanks! Madi _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi, did you try another VM? F. 2009/11/24 Madison Kelly <linux@alteeve.com>:> Hi all, > > For some reason, one of my VMs running CentOS5.4 x86_64 stopped booting all > the way... It gets to: "Starting HAL daemon: [ OK ]" then nothing else. I''ve > tried killing it and adding ''single'' and ''1'' to the ''extra'' command in the > config file, but it doesn''t seem to effect how it boots. > > Can someone let me know how I may go about regaining a shell login to a VM > this messed up? > > Thanks! > > Madi > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Flavio wrote:> Hi, > > did you try another VM? > > F.Yup, my other VMs are fine. However, adding ''single'' to ''extra'' doesn''t change their runlevels, either, so I suspect I am not doing it right. Madi _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
2009/11/24 Madison Kelly <linux@alteeve.com>:> Yup, my other VMs are fine. However, adding ''single'' to ''extra'' doesn''t > change their runlevels, either, so I suspect I am not doing it right.Could be the VM filesystem corrupted? Flavio _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Flavio wrote:> 2009/11/24 Madison Kelly <linux@alteeve.com>: >> Yup, my other VMs are fine. However, adding ''single'' to ''extra'' doesn''t >> change their runlevels, either, so I suspect I am not doing it right. > Could be the VM filesystem corrupted? > > FlavioI suppose it''s possible, but it seems to consistently boot fine up to that point. It''s like init never actually finishes booting so it never passes over to the login. It''s pretty consistent for a corrupt file system, but I won''t rule anything out. It''s partly why I''d like to boot it in single user mode though... Madi _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
2009/11/24 Madison Kelly <linux@alteeve.com>:> I suppose it''s possible, but it seems to consistently boot fine up to that > point. It''s like init never actually finishes booting so it never passes > over to the login. It''s pretty consistent for a corrupt file system, but I > won''t rule anything out. > > It''s partly why I''d like to boot it in single user mode though... > > Madi >Can you try to send the sysrq key ALT+PRINT+e to the guest and see what happen? At the moment I don''t remember how to do it, but, just to try if the login prompt appear. F. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Tue, Nov 24, 2009 at 01:09:28PM -0500, Madison Kelly wrote:> Hi all, > > For some reason, one of my VMs running CentOS5.4 x86_64 stopped > booting all the way... It gets to: "Starting HAL daemon: [ OK ]" > then nothing else. I''ve tried killing it and adding ''single'' and ''1'' > to the ''extra'' command in the config file, but it doesn''t seem to > effect how it boots. > > Can someone let me know how I may go about regaining a shell login > to a VM this messed up?What if you use "init=/bin/sh"? Rainer _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Wed, Nov 25, 2009 at 1:09 AM, Madison Kelly <linux@alteeve.com> wrote:> Hi all, > > For some reason, one of my VMs running CentOS5.4 x86_64 stopped booting all > the way... It gets to: "Starting HAL daemon: [ OK ]" then nothing else. I''ve > tried killing it and adding ''single'' and ''1'' to the ''extra'' command in the > config file, but it doesn''t seem to effect how it boots.Do you use pygrub? The default installation (e.g. if you use virt-install/virt-manager) will use pygrub, so the "single" parameter should go to domU''s /boot/grub/menu.lst, not on Xen config file. -- Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Fajar A. Nugraha wrote:> On Wed, Nov 25, 2009 at 1:09 AM, Madison Kelly <linux@alteeve.com> wrote: >> Hi all, >> >> For some reason, one of my VMs running CentOS5.4 x86_64 stopped booting all >> the way... It gets to: "Starting HAL daemon: [ OK ]" then nothing else. I''ve >> tried killing it and adding ''single'' and ''1'' to the ''extra'' command in the >> config file, but it doesn''t seem to effect how it boots. > > Do you use pygrub? The default installation (e.g. if you use > virt-install/virt-manager) will use pygrub, so the "single" parameter > should go to domU''s /boot/grub/menu.lst, not on Xen config file. >I am using pygrub... Can I manipulate pygrub to pass on kernel arguments when I can''t otherwise connect to a domU? Madi PS - For unknown reasons, I regained access to the domU, but I would still like to sort this out in case there is a next time. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Wed, Nov 25, 2009 at 8:48 AM, Madison Kelly <linux@alteeve.com> wrote:>> Do you use pygrub? The default installation (e.g. if you use >> virt-install/virt-manager) will use pygrub, so the "single" parameter >> should go to domU''s /boot/grub/menu.lst, not on Xen config file. >> > > I am using pygrub... Can I manipulate pygrub to pass on kernel arguments > when I can''t otherwise connect to a domU?Sure you can. You can mount the storage in dom0 (possibly with the help of losetup + kpartx). You could also create domU with "xm create -c" (note -c). You''ll then be able to edit the menu on the fly. -- Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users