[PATCH] Handle partition devices without corresponding disk devices

2010-09-10 Thread Colin Watson
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_biosdisk_get_grub_dev. There'

RE: future of grub commands setup and install ?

2010-09-10 Thread Treutwein Bernhard
> > What's hard about grub-install /dev/sda ? > > -- you need a running unix linux ... Bernhard ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: future of grub commands setup and install ?

2010-09-10 Thread Colin Watson
On Fri, Sep 10, 2010 at 10:17:42AM -0400, Lennart Sorensen wrote: > On Fri, Sep 10, 2010 at 09:46:53AM +0200, lode leroy wrote: > > I think it would be helpful if a command existed to install grub from grub, > > given a directory /boot/grub/ already present, i.e. Write boot > > sector+stage1 > >

Re: future of grub commands setup and install ?

2010-09-10 Thread Lennart Sorensen
On Fri, Sep 10, 2010 at 09:46:53AM +0200, lode leroy wrote: > I think it would be helpful if a command existed to install grub from grub, > given a directory /boot/grub/ already present, i.e. Write boot sector+stage1 > to the disk. It may be easy to copy files onto the filesystem, but not-so-easy

[PATCH] * Makefile.util.def: Put the generated scripts nearby sources

2010-09-10 Thread Yves Blusseau
--- ChangeLog |4 Makefile.util.def | 20 ++-- 2 files changed, 14 insertions(+), 10 deletions(-) diff --git a/ChangeLog b/ChangeLog index fb6b19b..e9d0903 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2010-09-10 Yves Blusseau + + * Makefile.u

Re: future of grub commands setup and install ?

2010-09-10 Thread Robert Millan
2010/9/10, lode leroy : > It may be easy to copy files onto the filesystem, but > not-so-easy > to create a working native grub. What's hard about grub-install /dev/sda ? -- Robert Millan ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu

Re: future of grub commands setup and install ?

2010-09-10 Thread lode leroy
> GRUB lacks filesystem write support (intentionally). Therefore, installing > GRUB from GRUB is not possible. Given that setup command can only > perform part of this, it is unrealistic to pretend setup command is useful. > This is why it was removed. > > -- > Robert Millan I think it would