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 <bastian@xxxxxxxxxxxx> 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
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|