From: "Marco Sinhoreli" Subject: Re: PV-GRUB - Does not read partition-less disk Date: Fri, 12 Sep 2008 12:01:43 -0300 Message-ID: <20fe3cf60809120801kdfde723hcc1b1392aa16370a@mail.gmail.com> References: <20080911231038.GA5780@wavehammer.waldi.eu.org> <20fe3cf60809111838q370a0b66pa848ea46eaef3798@mail.gmail.com> <20080912062457.GA20977@wavehammer.waldi.eu.org> <20fe3cf60809120501n29e4fc49y6f2a6075bccb8a30@mail.gmail.com> <20080912130652.GA4180@wavehammer.waldi.eu.org> <20fe3cf60809120729j41c648fep56e618c0d1838d28@mail.gmail.com> <20080912144210.GA8234@wavehammer.waldi.eu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20080912144210.GA8234@wavehammer.waldi.eu.org> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org My tests: # grep '^disk' pvmtest disk = [ 'phy:empirevg/lenny.pvm,xvda,w' ] # xm create -c /etc/xen/pvmtest | grubdom> root (hd0) | Filesystem type unknown, using whole disk | | grubdom> root (hd0,0) | Filesystem type is ext2fs, partition type 0x83 | | grubdom> configfile (hd0,0)/boot/grub/menu.lst After this the grub menu was opened. # fdisk -l /dev/empirevg/lenny.pvm | Disk /dev/empirevg/lenny.pvm: 10.7 GB, 10737418240 bytes | 255 heads, 63 sectors/track, 1305 cylinders | Units = cylinders of 16065 * 512 = 8225280 bytes | Disk identifier: 0x50e94ad8 | | Device Boot Start End Blocks Id System | /dev/empirevg/lenny.pvm1 1 1156 9285538+ 83 Linux | /dev/empirevg/lenny.pvm2 1157 1305 1196842+ 82 Linux swap / Solaris On Fri, Sep 12, 2008 at 11:42 AM, Bastian Blank wrote: > On Fri, Sep 12, 2008 at 11:29:10AM -0300, Marco Sinhoreli wrote: >> Do you have a system installed in this disk? > > Sure. > >> Are you passing the path >> of menu.lst in your configuration? >> extra = "(hd0,0)/boot/grub/menu.lst" > > Yes. But even if not, "root (hd0)" should show that it can see the > filesystem. And the fact that it falls back into the normal commandline > and not the menu shows that it is not able to read the config. > > Bastian > > -- > Mind your own business, Spock. I'm sick of your halfbreed interference. > -- Marco Sinhoreli