Re: Switching to git?

2007-12-06 Thread willem
Otavio Salvador wrote: Pavel Roskin <[EMAIL PROTECTED]> writes: Other GNU projects have switched to git. Savannah supports git. The list of the GNU projects using git is pretty impressive: http://git.sv.gnu.org/gitweb/ I think GNU GRUB would be a welcome addition. +1. I brought thi

Re: Switching to git?

2007-12-06 Thread Otavio Salvador
Pavel Roskin <[EMAIL PROTECTED]> writes: > Other GNU projects have switched to git. Savannah supports git. The > list of the GNU projects using git is pretty impressive: > http://git.sv.gnu.org/gitweb/ > > I think GNU GRUB would be a welcome addition. +1. I brought this up to discussion some ti

Switching to git?

2007-12-06 Thread Pavel Roskin
Hello! This is a reaction to the "BTS overhaul" post, I just don't want to hijack the thread with a separate topic. If someone asked me what is the project that is not using git but would benefit from it most, I would say it's GRUB. First and foremost, git (together with StGIT and other tools) r

Re: Convert grub2 kernel core.img to linux kernel format

2007-12-06 Thread Bean
Hi, Added a new file boot/i386/pc/lnxboot.S, which will compile into lnxboot.img. You can use it in a few ways: 1, Use it as standalone kernel, core.img as initrd kernel lnxboot.img initrd core.img For example, you can start grub2 in qemu like this: qemu -kernel lnxboot.img -initrd core.img ..

Convert various startup files to linux kernel format

2007-12-06 Thread Bean
Hi, I've just written a new tool loadbin for the GRUB Utilities project. It's used to convert various startup files to linux kernel format, so that they can be loaded in many boot loaders, such as GRUB Legacy, GRUB2, GRUB4DOS, syslinux/isolinux/pxelinux, lilo, etc. For each type of startup file,

New module to detect vmware

2007-12-06 Thread Martin Haaß
Hi all! I tried to build a module to detect vmware. Attached is the module and a test grub.cfg It is basically working though I have some questions: can i use the return value of the function (e.g. vmware_detect) to give back a value or am I supposed to always return something like GRUB_ERR_NONE

Re: [PATCH] mkdevicemap for Cygwin

2007-12-06 Thread Christian Franke
Robert Millan wrote: > > ... > > Yes, it would work now, because the patch also fixes this bug :-) > > Ok, so in that case you don't need... > > > +#ifndef __CYGWIN__ > > static void > > get_ide_disk_name (char *name, int unit) > > { > > @@ -213,6 +217,7 @@ get_ide_disk_name (char *name, int uni

Re: Building GRUB on platforms without ELF support

2007-12-06 Thread Christian Franke
Robert Millan wrote: > ... > Can't the whole toolchain include ELF support as an alternative > target? Kinda like "-m32" on x86_64. I don't think it's unreasonable > to request that Cygwin provides this (and it'd probably solve other > problems somewhere else). > > Have you tried asking the Cygw

Re: [PATCH] Add grub-mkrescue --exclude option

2007-12-06 Thread Christian Franke
Robert Millan wrote: > On Tue, Nov 20, 2007 at 08:37:50PM +0100, Christian Franke wrote: > > This adds an option to exclude specific modules from the rescue > > image. > > > > Do you want this because of the ata module ? Inclussion of ata.mod at > this point is IMO a bug. If that's your only re

Re: [PATCH] mkdevicemap for Cygwin

2007-12-06 Thread Robert Millan
On Sun, Nov 18, 2007 at 07:40:15PM +0100, Christian Franke wrote: > > No, it did not work because check_device() returned 1 ("exists") on > (*name == 0). This results in 8 bogus "(hd N)\t\n" lines and wrong N for > the real devices. > > Yes, it would work now, because the patch also fixes this bug

Re: Building GRUB on platforms without ELF support

2007-12-06 Thread Robert Millan
On Mon, Nov 19, 2007 at 09:29:19PM +0100, Christian Franke wrote: > > It is not so easy: > > Cygwin's libbfd, ld and objcopy support elf32-i386, gas does not. > > But ld refuses to output elf32-i386 if pe-i386 is the input format. This > restriction is hard-coded into ld because some pe-specifi

Re: [PATCH] Add grub-mkrescue --exclude option

2007-12-06 Thread Robert Millan
On Tue, Nov 20, 2007 at 08:37:50PM +0100, Christian Franke wrote: > This adds an option to exclude specific modules from the rescue image. Do you want this because of the ata module ? Inclussion of ata.mod at this point is IMO a bug. If that's your only reason for wanting this feature, I'd rathe

BTS overhaul

2007-12-06 Thread Robert Millan
Hi! I'd like to overhaul the GRUB BTS in Savannah so that it can be used to track bugs in (or feature requests for) GRUB 2. What I propose to do is review all bugs, and: - If the bug is obviously specific to GRUB Legacy, close it. - If the bug was found in GRUB Legacy, but might apply to GR

Re: Convert grub2 kernel core.img to linux kernel format

2007-12-06 Thread Robert Millan
On Sat, Dec 01, 2007 at 10:16:38PM +0800, Bean wrote: > Hi, > > I've just written a header file that can be used to convert core.img > to linux kernel format: > > cat lnxhdr.bin core.img > grub2.bin > > You can then load grub2.bin from syslinux/isolinux/pxelinux/lilo or > any other boot loader t

Re: [PATCH] Fix grub_cpu_idle() declaration

2007-12-06 Thread Robert Millan
My mistake. Please check that in.. On Fri, Nov 23, 2007 at 09:53:06PM -0500, Pavel Roskin wrote: > ChangeLog: > > * include/grub/i386/time.h: use "void" in the argument list > of grub_cpu_idle(). > * include/grub/powerpc/time.h: Likewise. > * include/grub/sparc64/time.h: