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

[Xen-users] Using pygrub



  Having recently become aware of pygrub I've started using it.

  In general it works well, adding "bootloader = /path/to/pygrub" in
 the domU configuration and adding a simple menu.lst file to the
 domain's file system works.

  However arguments don't appear to be passed to the kernel.  With
 a menu.lst file such as this:

--
 title Xen 3.0 rescue
 kernel /boot/vmlinuz-2.6.16.33-xen root=/dev/sda1 init=/bin/sh
 initrd /boot/initrd.img-2.6.16.33-xen
--

  The system boots and the kernel ignores the "init=/bin/sh" argument
 completely.  Looking over the code I see mention of "args" but it 
 doesn't look like it is used as I'd expect.  The following fails too:

 args init=/bin/sh

  Is there a simple method of appending kernel arguments using pygrub?

Steve
-- 
http://www.steve.org.uk/

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


 


Rackspace

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