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] Xen 3.4.1: pygrub Error: Boot loader didn't return any d

Fajar A. Nugraha wrote:
As a side not, you MIGHT be able to use pvgrub. It uses something like
this on domU config file

kernel="/usr/lib/xen/boot/pv-grub-x86_64.gz"
extra="(hd0,1)/boot/grub/menu.lst"

Since the config file is specified directly as "extra" line, it should
not need to use the information in partition table to determine which
partition is active.
I tried this and things are starting to work a little. Here's what i get using pv-grub:

# xm create CLOUD-CC-1.py
Using config file "./CLOUD-CC-1.py".
Started domain CLOUD-CC-1 (id=17)
root@grp-01-23-02:/var/lib/xen/images# xm console CLOUD-CC-1
Xen Minimal OS!
 start_info: 0xb8e000(VA)
   nr_pages: 0x40000
 shared_inf: 0xafdd1000(MA)
    pt_base: 0xb91000(VA)
nr_pt_frames: 0xb
   mfn_list: 0x98e000(VA)
  mod_start: 0x0(VA)
    mod_len: 0
      flags: 0x0
   cmd_line: (hd0,4)/boot/grub/menu.lst
 stack:      0x94d9a0-0x96d9a0
MM: Init
     _text: 0x0(VA)
    _etext: 0x5f90d(VA)
  _erodata: 0x77000(VA)
    _edata: 0x7fb00(VA)
stack start: 0x94d9a0(VA)
      _end: 0x98dfa8(VA)
 start_pfn: b9f
   max_pfn: 40000
Mapping memory range 0x1000000 - 0x40000000
setting 0x0-0x77000 readonly
skipped 0x1000
MM: Initialise page allocator for d97000(d97000)-40000000(40000000)
MM: done
Demand map pfns at 40001000-2040001000.
Heap resides at 2040002000-4040002000.
Initialising timer interface
Initialising console ... done.
gnttab_table mapped at 0x40001000.
Initialising scheduler
Thread "Idle": pointer: 0x2040002010, stack: 0xfb0000
Initialising xenbus
Thread "xenstore": pointer: 0x20400027c0, stack: 0xfc0000
Dummy main: start_info=0x96daa0
Thread "main": pointer: 0x2040002f70, stack: 0xfd0000
"main" "(hd0,4)/boot/grub/menu.lst"
vbd 51712 is hd0
******************* BLKFRONT for device/vbd/51712 **********


backend at /local/domain/0/backend/tap/17/51712


And it just gets stuck right here in state "-b-----".

-Gerry


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

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