unused elf fields

2006-09-20 Thread kanishk rastogi
hi all, are there any unused fiels in the os ELF image which will not be used by the grub in any of the ELF headers any references will be helpful thanks in advance-- Everybody is made for some purpose. Find yours. ___ Grub-devel mailing list Grub-dev

Re: how to increase commandline size

2006-09-20 Thread Marco Gerards
Jeff Chua <[EMAIL PROTECTED]> writes: > I need to pass parameters such as network IP, mask, hostname in > grub.cfg, but currently grub2 can only handle up to 100 bytes??? Right, this is a bug. I will have a look at this really soon. We need to change the code to do dynamic allocation. -- Marco

How to install a module into the kernel

2006-09-20 Thread 袁源
hi, recently I have been working under grub2. I wrote some of my own modules and I don't know how to add it to the grub2 kernel (I mean how to pack it to the core.img,not using the command :insmod).I tried to find ways through the Internet but i got none. I am very glad if you can he

Re: how to increase commandline size

2006-09-20 Thread Yoshinori K. Okuji
On Wednesday 20 September 2006 06:16, Jeff Chua wrote: > I need to pass parameters such as network IP, mask, hostname in grub.cfg, > but currently grub2 can only handle up to 100 bytes??? 100? No. 0x100? Yes. From the Linux/i386 boot protocol: The kernel command line is a null-terminated string c

Re: [PATCH] don't abort with error if realpath fails

2006-09-20 Thread Yoshinori K. Okuji
On Sunday 17 September 2006 22:39, Robert Millan wrote: > Please consider (mostly useful to support device.map generated by GRUB > legacy): > > 2006-09-17 Robert Millan <[EMAIL PROTECTED]> > > * util/i386/pc/biosdisk.c (read_device_map): Don't abort with error if > realpath fails (e.g

Re: [PATCH] Linux I2O devices

2006-09-20 Thread Yoshinori K. Okuji
On Sunday 17 September 2006 23:08, Robert Millan wrote: > Support for Linux I2O devices (imported from GRUB Legacy). > > 2006-09-17 Robert Millan <[EMAIL PROTECTED]> > > Import from GRUB Legacy (lib/device.c): > * util/i386/pc/grub-mkdevicemap.c (get_i2o_disk_name): New function. >

Re: [PATCH] Linux I2O devices

2006-09-20 Thread Yoshinori K. Okuji
On Sunday 17 September 2006 23:25, Robert Millan wrote: > For I2O we have /dev/i2o/hd[a-z][0-9]. There's also a big family of device > sets using this scheme (/dev/*/hd[a-z][0-9]). Unless the second "if" can > be made the default option, we'll have to add knowledge of every of these > device path

Re: how to increase commandline size

2006-09-20 Thread Jeff Chua
On Thu, 21 Sep 2006, Yoshinori K. Okuji wrote: The kernel command line is a null-terminated string currently up to 255 characters long, plus the final null. A string that is too long will be automatically truncated by the kernel, a boot loader may allow a longer command line to be passed to pe