Hi Jim,

On Monday, September 19, 2011 2:43 PM, "Jim Fehlig" <[email protected]>
wrote:
> No bootargs are necessary.  The default kernel in domU's
> /boot/grub/menu.lst will be selected (which could be overridden with
> bootargs).
> 
> bootargs=''
> 
> should suffice.

For an Opensuse 11.4 DomU on Opensuse 11.4 Dom0, using

 cat mail.cfg
  name = 'mail'
  builder = 'linux'
  bootloader = '/usr/lib/xen/boot/domUloader.py'
  bootargs = '--entry=xvda1:vmlinuz-xen,/boot/initrd-xen'
  ...

running

 xm create -c mail.cfg

gives the usual long/verbose output at console, ending with success at

         Welcome to openSUSE 11.4 "Celadon" - Kernel 2.6.37.6-0.7-xen
         (xvc0).

         mail login:

If I switch to using pygrub instead,

 cat mail.cfg
  name = 'mail'
  builder = 'linux'
  bootloader     = '/usr/bin/pygrub'
  bootargs       = ''
  ...

and leaving everything else the same, running

 xm create -c mail.cfg

gives me instead

           pyGRUB  version 0.6
         
┌────────────────────────────────────────────────────────────────────────┐
         │ OpenSUSE 11.4 Xen4 DomU                                      
                  │
         │                                                              
                  │
         │                                                              
                  │
         │                                                              
                  │
         │                                                              
                  │
         │                                                              
                  │
         │                                                              
                  │
         │                                                              
                  │
         
└────────────────────────────────────────────────────────────────────────┘
             Use the ^ and v keys to select which entry is highlighted.
             Press enter to boot the selected OS, 'e' to edit the
             commands before booting, 'a' to modify the kernel arguments
             before booting, or 'c' for a command line.


             Will boot selected entry in  1 seconds




        Started domain mail (id=11)
                                   [    0.168931] PCI: Fatal: No config
                                   space access function found
        [    0.255237] bootsplash: found, but framebuffer can't handle
        it!
        [    0.275358] i8042.c: No controller found.
        [    0.376154]
        
/usr/src/packages/BUILD/kernel-xen-2.6.37.6/linux-2.6.37/drivers/rtc/hctosys.c:
        unable to open rtc device (rtc0)


        Welcome to openSUSE 11.4 "Celadon" - Kernel 2.6.37.6-0.7-xen
        (xvc0).

        mail login:

missing all the verbose logging stuff, but still ending up with a
working DomU.

What else does pygrub need to make it 'speak up'?

Greg
--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to