WARNING - OLD ARCHIVES

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/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] boot issue

On Sun, 2011-06-12 at 12:27 -0800, Jon wrote:
> On Sun, 2011-06-12 at 00:01 -0400, Todd Deshane wrote:
> > On Fri, Jun 10, 2011 at 8:16 AM, Ottó Ursinyi <oursinyi@xxxxxxxxx> wrote:
> > > Hi There,
> > >
> > > I am beginer in xen and I faced with the following problem: I installed a
> > > lucid as guest and it worked fine. But last week occurred a power cut and
> > > the lucid did not start after we get the power back. I tried to start it
> > > manually, but in the console I get this message:
> > >
> > > libudev: udev_monitor_new_from_netlink: error getting socket: Invalid
> > > argument
> > > mountall:mountall.c:3204: Assertion failed in main: udev_monitor =
> > > udev_monitor_new_from_netlink (udev, "udev")
> > > init: mountall main process (570) killed by ABRT signal
> > > General error mounting filesystems.
> > >
> > > What can I do with this? How can I start again this guest?
> > >
> > 
> > You might be able to mount the guest disk image or partition outside
> > of Xen in your dom0 and fix the file system manually,  then be sure to
> > umount the image or partition before trying to boot the guest.
> > 
> > Hope that helps.
> > 
> > Thanks,
> > Todd
> 
> Another idea would be to use an iso for a distro that has a recovery
> method in the boot options, such as Fedora, as the disk. Then you boot
> into recovery mode and mount the filesystem and fix it that way. This is
> nice because it does all the work of mounting the partitions for you.
> 
> Jon

I found my post to a users list that explains this a little better: :-)

"Here is the trick I used to get at my LVs in my xen host without 
having to rename and dance with initrd. 


virt-install -n FC64Rescue -r 1024 --disk 
path=/dev/xenvg/lvLinux-1 --hvm --livecd --cdrom 
/mnt/apps/ISO/Fedora-12-x86_64-DVD.iso --force 


I created a VM using the --livcd flag in virt-install and pointed at 
the "disk" I wanted to repair. When the VM boots it acts just like a 
livecd and I can choose to repair a file system. Because I pointed it 
at my LV, /dev/xenvg/lvLinux-1, it finds the disk and mounts it under 
/mnt/sysimage. I can then go in and repair the file system or whatever 
else needs to be done."



> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users



_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

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