Re: [RFC] New object format for grub2

2009-07-08 Thread Pavel Roskin
On Thu, 2009-07-09 at 00:57 +0200, Vladimir 'phcoder' Serbinenko wrote: > What about SELF? (coreboot format) If it's sane I would prefer to > share a format between these 2 projects. The description is here: http://www.coreboot.org/SELF I think the biggest problem is lack of support for any relo

Re: boot.img Fix

2009-07-08 Thread Vladimir 'phcoder' Serbinenko
Sorry for posting some not very-related ideas in one mail and top-posting but I want to go to bed ASAP now. FAT install is important. A friend asked me on RMLL to install GRUB on his partionless SD card. This card was formatted with Symbian and contained no "FAT32" string. I actually see no reason

[PATCH] Simplify and optimize grub_device_iterate()

2009-07-08 Thread Pavel Roskin
I wanted to switch the partition buffering from LIFO to FIFO, but it would increase the core size for a cosmetic improvement in the ls output. This patch is a side effect of me touching that function. ChangeLog: * kern/device.c (grub_device_iterate): Change struct part_ent to hol

Re: [RFC] New object format for grub2

2009-07-08 Thread Vladimir 'phcoder' Serbinenko
On Wed, Jul 8, 2009 at 8:51 PM, Pavel Roskin wrote: > Hello, Marco! > > On Wed, 2009-07-08 at 16:27 +0200, Marco Gerards wrote: > >> There is another problem with this: the maintainance burden.  People >> know ELF, we have ELF and people will know ELF in the future. >> Furthermore, as far as I am c

Re: serial console

2009-07-08 Thread Pavel Roskin
On Wed, 2009-07-08 at 05:53 -0400, syla...@aim.com wrote: > I have two computers which I would like to connect to each other with > a serial cable and have a serial console thus. I would like to know > (before I search and buy and install all the serial brackets for > motherboard headers, and

Re: [RFC] New object format for grub2

2009-07-08 Thread Pavel Roskin
Hello, Marco! On Wed, 2009-07-08 at 16:27 +0200, Marco Gerards wrote: > There is another problem with this: the maintainance burden. People > know ELF, we have ELF and people will know ELF in the future. > Furthermore, as far as I am concerned, GNU/Linux is our main > platform. I do not mind su

Re: Configuration option to disable os-prober?

2009-07-08 Thread Pavel Roskin
On Wed, 2009-07-08 at 13:58 -0400, Isaac Dupree wrote: > er, hmm, Configure option versus runtime option? I don't know from my > cursory inspection if there's an issue here, but you (Colin) would be > able to describe how/whether that's relevant I think the configurations options is the only w

Re: Configuration option to disable os-prober?

2009-07-08 Thread Isaac Dupree
Pavel Roskin wrote: On Wed, 2009-07-08 at 16:38 +0100, Colin Watson wrote: Hi, Some people seem to want to disable os-prober for various reasons (e.g. they have lots of test installations lying around that they don't normally want to get in the way, or they don't want installations on external

Re: Configuration option to disable os-prober?

2009-07-08 Thread Pavel Roskin
On Wed, 2009-07-08 at 16:38 +0100, Colin Watson wrote: > Hi, > > Some people seem to want to disable os-prober for various reasons (e.g. > they have lots of test installations lying around that they don't > normally want to get in the way, or they don't want installations on > external drives to b

Configuration option to disable os-prober?

2009-07-08 Thread Colin Watson
Hi, Some people seem to want to disable os-prober for various reasons (e.g. they have lots of test installations lying around that they don't normally want to get in the way, or they don't want installations on external drives to be included permanently in the boot menu, etc.). Now, they can just

Re: [RFC] New object format for grub2

2009-07-08 Thread Bean
On Wed, Jul 8, 2009 at 10:27 PM, Marco Gerards wrote: > Hi, > > Bean writes: > >> Why another format ? Here are some reason: >> >> The current object format is ELF. Most unix based os use ELF as native >> object format, but there are minor difference, and gcc may add extra >> segment which is of n

Re: [RFC] New object format for grub2

2009-07-08 Thread Marco Gerards
Hi, Bean writes: > Why another format ? Here are some reason: > > The current object format is ELF. Most unix based os use ELF as native > object format, but there are minor difference, and gcc may add extra > segment which is of no use for grub. Mingw/cygwin uses PE, and we need > to convert it

Re: grub-install --root-directory=/mnt /dev/sda1 fails

2009-07-08 Thread Felix Zielcke
Am Samstag, den 04.07.2009, 22:09 +0200 schrieb Robert Millan: > On Wed, Jul 01, 2009 at 04:33:25PM +0200, Felix Zielcke wrote: > > Am Montag, den 01.06.2009, 21:39 +0200 schrieb Felix Zielcke: > > > Am Mittwoch, den 06.05.2009, 17:12 +0200 schrieb Vladimir 'phcoder' > > > Serbinenko: > > > > Don't

Re: [PATCH] add support for dmraid devices

2009-07-08 Thread Felix Zielcke
Am Sonntag, den 05.07.2009, 16:55 +0200 schrieb Felix Zielcke: > Here's a new one which adds full support for pdc devices. > > > > I think we need a list of possible dmraid names. There we could go > > through the list in a loop. That applies to grub_util_is_dmraid() and > > other places in the

[RFC] New object format for grub2

2009-07-08 Thread Bean
Hi, Why another format ? Here are some reason: The current object format is ELF. Most unix based os use ELF as native object format, but there are minor difference, and gcc may add extra segment which is of no use for grub. Mingw/cygwin uses PE, and we need to convert it to ELF. Platform like OSX

serial console

2009-07-08 Thread sylarrrrrrr
Hi I have two computers which I would like to connect to each other with a serial cable and have a serial console thus. I would like to know (before I search and buy and install all the serial brackets for motherboard headers, and cable) if I would be able to use the serial console in paralle

Re: [PATCH] Caseless UUID comparsion in search command

2009-07-08 Thread Arthur Marsh
Pavel Roskin wrote, on 08/07/09 15:56: On Tue, 2009-07-07 at 16:21 +0930, Arthur Marsh wrote: ok, after applying the "second take" search.c patch, I get: sh:grub> ls -l Device hd0: Partition table Partition hd0,7: Filesystem type ext2, Last modification time 2009-07-07 06:24:14

Re: boot.img Fix

2009-07-08 Thread Yves BLUSSEAU
Pavel Roskin a écrit : On Tue, 2009-07-07 at 10:08 +0200, Yves BLUSSEAU wrote: Hi, there is a "bug" in boot.img: if you install the boot.img into the volume boot sector of a FAT32 partition instead of MBR (i know it's a bad idea), you "destroyed" the partition (even grub will no

Re: Grub-devel Digest, Vol 65, Issue 17

2009-07-08 Thread Battail Yannick
>> > With LUA, we can have a more user friendly interface. I like way rEFIt >> > works, it doesn't require configuration. At runtime, it detects os and >> > shows an icon for each of them. We can achieve similar goal using lua. >> > Of course, advanced user can write the menu manually, but for most