[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Pvgrub on Debian dom0



Ian, Fajar,

This is my config

#  -*- mode: python; -*-
kernel = "/usr/lib/xen/boot/pv-grub-x86_32.gz"

memory = 512
name = "testlinux"

vif = ['bridge=xenbr0' ]

disk = ['phy:/dev/XEN/testlinux,xvda,w','phy:/dev/XEN/testlinuxswap,xvdb,w']

ip="172.20.45.10"
netmask="255.255.0.0"
gateway="172.20.0.1"
hostname = "testlinux"
 
extra = "(hd0)/boot/grub/menu.lst"
vcpus = 1



-----Original Message-----
From: Ian Campbell [mailto:Ian.Campbell@xxxxxxxxxx] 
Sent: 07 June 2012 12:27
To: Ian Tobin
Cc: xen-users@xxxxxxxxxxxxx
Subject: RE: [Xen-users] Pvgrub on Debian dom0

On Thu, 2012-06-07 at 10:53 +0100, Ian Tobin wrote:
> Ian,
> 
> Sorry for the delay.
> 
> Im using grub.cfg with a sym link to menu.lst, I donât actually have grub 
> installed on the domu.

Don't grub.cfg and menu.lst have different syntax? I would have thought that 
symlink would confuse something somewhere...

> The domu will boot if I type the path to the grub.cfg or menu.lst but will 
> not automatically.

What is the path which you have to type? What is the path within the guest? Are 
there any mount points (e.g. /boot) along that path?

Ian.

> 
> Thanks
> 
> Ian
> 
> 
> 
> -----Original Message-----
> From: Ian Campbell [mailto:Ian.Campbell@xxxxxxxxxx]
> Sent: 22 May 2012 09:47
> To: Ian Tobin
> Cc: xen-users@xxxxxxxxxxxxx
> Subject: Re: [Xen-users] Pvgrub on Debian dom0
> 
> On Mon, 2012-05-21 at 18:57 +0100, Ian Tobin wrote:
> > Hi,
> > 
> > Having a problem getting a domu to boot correctly.
> > 
> > When I enter xl create guest it boots straight into grubdom.
> > 
> > If I enter the config location in grubdom t boots as expected.
> > 
> > The location of the grub.cfg is the same in my domu config as what in 
> > entering but just will not work.
> 
> grub.cfg is the grub2 file, whereas pvgrub is currently grub1 (sometimes 
> called grub legacy). Both the syntax and the location of the config file 
> differs between the two versions of grub.
> 
> I'm not sure if anyone is working on pvgrub2, I thought I'd heard a rumour of 
> it.
> 
> There is a tool, pv-grub-menu.lst, which has been proposed for Debian[0] 
> which helps you create and manage a legacy style menu.lst.
> 
> I think grub-legacy is also still in Debian, but you might need to explicitly 
> install it rather than grub2.
> 
> Ian.
> 
> [0] http://bugs.debian.org/672104
> 
> 
> > 
> > Any ideas?
> > 
> > Ian
> > .
> > 
> > 
> > 
> >  
> > 
> > 
> > 
> > _______________________________________________
> > Xen-users mailing list
> > Xen-users@xxxxxxxxxxxxx
> > http://lists.xen.org/xen-users
> 
> 
> 



_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.