Re: grub-setup inflexibility

2010-09-15 Thread Joey Korkames
[UTF-8]Vladimir 'Æ-coder/phcoder' Serbinenko writes: On 09/15/2010 08:55 PM, Joey Korkames wrote: Colin Watson writes: On Xen (I'm told), it's possible to assign disk images in the host to things that are named rather like partitions in the guest (e.g. /dev/sda1), but that don't have an assoc

[PATCH] XZ compressed memory disk

2010-09-15 Thread Szymon Janc
Hello, Attached patches add support for XZ compressed memory disk. 01_xzmisc.diff moves some code from xzio to xzembed to reuse it in xzmemdisk 02_xzmemdisk.diff adds new module xzmemdisk.mod and new option for grub-mkimage xzmemdisk.mod depends on gcry_crc.mod and crypto.mod (~22KiB) To compre

Re: grub-setup inflexibility

2010-09-15 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 09/15/2010 08:55 PM, Joey Korkames wrote: > Colin Watson writes: > >> On Xen (I'm told), it's possible to assign disk images in the host to >> things that are named rather like partitions in the guest (e.g. >> /dev/sda1), but that don't have an associated disk (e.g. /dev/sda); >> indeed, the lat

Re: [grub-setup] New procedure to choose the embedding area

2010-09-15 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 06/11/2010 12:25 AM, Grégoire Sutre wrote: > Hi, > > [ This is an extended summary of discussions that took place on irc. ] > > The current version of grub-setup requires an msdos or gpt partitioning > scheme, and is not compatible with hybrid partitioning schemes (i.e. two > top-level disklabel

grub-setup inflexibility

2010-09-15 Thread Joey Korkames
Colin Watson writes: On Xen (I'm told), it's possible to assign disk images in the host to things that are named rather like partitions in the guest (e.g. /dev/sda1), but that don't have an associated disk (e.g. /dev/sda); indeed, the latter device is nonexistent. This confuses grub_util_biosdi

Re: 3. Re: LiveCD bootloader

2010-09-15 Thread Brendan Trotter
Hi, 2010/9/15 Dmitry Ilyin : > I guess it is possible to chainload to real cdrom in your drive same way we > chainload to windows partition, you can also use script (grub or lua) to > determine that your drive is not empty and show chainload menu entry. > > Or if you cannot chainload perhaps you

Re: 3. Re: LiveCD bootloader

2010-09-15 Thread Dmitry Ilyin
I guess it is possible to chainload to real cdrom in your drive same way we chainload to windows partition, you can also use script (grub or lua) to determine that your drive is not empty and show chainload menu entry. Or if you cannot chainload perhaps you could boot this (maybe with memdisk fr

3. Re: LiveCD bootloader

2010-09-15 Thread Tom Davies
Hi :) I was trying to find a way of doing this http://mgerards.net/blog/?p=16 type of booting from an iso but thought it might only be possible using a really convoluted route. Thanks for this link, it looks as though it solves all my questions about this :) Thanks and regards from Tom :)

[PATCH] grub-editenv.c: Use argp instead of getopt.

2010-09-15 Thread Yves Blusseau
FILENAME is now not show as optional --- ChangeLog.argp-grub-editenv |3 + util/grub-editenv.c | 158 --- 2 files changed, 90 insertions(+), 71 deletions(-) create mode 100644 ChangeLog.argp-grub-editenv diff --git a/ChangeLog.argp-grub-editen

[PATCH] grub-setup.c: Use argp instead of getopt.

2010-09-15 Thread Yves Blusseau
Using argp instead of getopt for the new unified grub-setup --- util/grub-setup.c | 364 + 1 files changed, 201 insertions(+), 163 deletions(-) diff --git a/util/grub-setup.c b/util/grub-setup.c index 55d740f..ca438fe 100644 --- a/util/grub-set

Re: grub-install on unmounted partitions

2010-09-15 Thread Colin Watson
On Wed, Sep 15, 2010 at 10:17:10AM +0400, Дмитрий Ильин wrote: > If you are talking about grub2 (not legacy) > > Yes, usually disk must be mounted because grub-install copies grub files to > --root-directory Teresa asked specifically about "the device", presumably the device that you pass to gru