Re: passing options to grub in xen,openfirmware and efi

2015-05-08 Thread Olaf Hering
On Thu, May 07, Vladimir 'φ-coder/phcoder' Serbinenko wrote: most other firmwares like EFI or BIOS look for boot image at hardcoded place e.g. MBR or ESP at predefined locations or uses NVRAM. The trouble with passing this info from dom0 is that it's difficult to discover for grub-install

Re: passing options to grub in xen,openfirmware and efi

2015-05-08 Thread Olaf Hering
On Fri, May 08, Andrei Borzenkov wrote: that's fine but you need to be able to confgure at least disk on which guest grub is located, even if path to binary is fixed. How do you do it wihout passing some information to dom0 grub? If a domU starts to be able to modify its firmware in dom0 then

Re: passing options to grub in xen,openfirmware and efi

2015-05-08 Thread Olaf Hering
On Fri, May 08, Vladimir 'phcoder' Serbinenko wrote: That's not the plan which is pushed by xen guys. They propose to make grub stored on dom0 to just load grub from a predefined place in domU. This I.a. allows easier upgrade of bootloader for distros as they don't have to worry about dom0

Re: passing options to grub in xen,openfirmware and efi

2015-05-08 Thread Michael Chang
2015-05-07 23:03 GMT+08:00 Andrei Borzenkov arvidj...@gmail.com: On Thu, May 7, 2015 at 5:59 PM, Vladimir 'φ-coder/phcoder' Serbinenko phco...@gmail.com wrote: On 07.05.2015 16:54, Olaf Hering wrote: On Thu, May 07, Vladimir 'φ-coder/phcoder' Serbinenko wrote: The way pv-grub2 is built by

Re: passing options to grub in xen,openfirmware and efi

2015-05-08 Thread Andrei Borzenkov
On Fri, May 8, 2015 at 1:57 PM, Vladimir 'phcoder' Serbinenko phco...@gmail.com wrote: On May 8, 2015 12:10 PM, Olaf Hering o...@aepfle.de wrote: On Thu, May 07, Vladimir 'φ-coder/phcoder' Serbinenko wrote: most other firmwares like EFI or BIOS look for boot image at hardcoded place e.g.

Re: passing options to grub in xen,openfirmware and efi

2015-05-08 Thread Vladimir 'phcoder' Serbinenko
On May 8, 2015 12:10 PM, Olaf Hering o...@aepfle.de wrote: On Thu, May 07, Vladimir 'φ-coder/phcoder' Serbinenko wrote: most other firmwares like EFI or BIOS look for boot image at hardcoded place e.g. MBR or ESP at predefined locations or uses NVRAM. The trouble with passing this info

[RFC] grub-install: allow none or multiple install devices on PC BIOS

2015-05-08 Thread Andrei Borzenkov
There are two main applications. 1. Omit install device to create generic image intended for chainloading from other master loader. Such image can be put on any device (or file system) and will still be able to find its $root. Currently even with --no-bootsector grub-install optimizes image by

cursor position does not follow output

2015-05-08 Thread Olaf Hering
In my testing with a PV guest I notice that the cursor during input remains at the 24th row. The actual output of the help command for example lists all possible commands and causes scrolling. If I enter something the input does not appear at the bottom but at the 24 row. Where is the code which

Re: cursor position does not follow output

2015-05-08 Thread Andrei Borzenkov
В Fri, 8 May 2015 20:05:51 +0200 Olaf Hering o...@aepfle.de пишет: In my testing with a PV guest I notice that the cursor during input remains at the 24th row. The actual output of the help command for example lists all possible commands and causes scrolling. If I enter something the input

Re: passing options to grub in xen,openfirmware and efi

2015-05-08 Thread Vladimir 'phcoder' Serbinenko
On May 8, 2015 1:58 PM, Olaf Hering o...@aepfle.de wrote: On Fri, May 08, Andrei Borzenkov wrote: On Fri, May 8, 2015 at 2:15 PM, Olaf Hering o...@aepfle.de wrote: On Fri, May 08, Vladimir 'phcoder' Serbinenko wrote: That's not the plan which is pushed by xen guys. They propose to

Re: passing options to grub in xen,openfirmware and efi

2015-05-08 Thread Olaf Hering
On Fri, May 08, Andrei Borzenkov wrote: On Fri, May 8, 2015 at 2:15 PM, Olaf Hering o...@aepfle.de wrote: On Fri, May 08, Vladimir 'phcoder' Serbinenko wrote: That's not the plan which is pushed by xen guys. They propose to make grub stored on dom0 to just load grub from a predefined

Re: passing options to grub in xen,openfirmware and efi

2015-05-08 Thread Andrei Borzenkov
On Fri, May 8, 2015 at 2:15 PM, Olaf Hering o...@aepfle.de wrote: On Fri, May 08, Vladimir 'phcoder' Serbinenko wrote: That's not the plan which is pushed by xen guys. They propose to make grub stored on dom0 to just load grub from a predefined place in domU. This I.a. allows easier upgrade