Re: Current Grub2 & problem with /boot on different drive

2009-09-24 Thread Vladimir 'phcoder' Serbinenko
Dean Loros wrote: > Greetings Colin & Vladimir-- > Tried the patched grub2--I've gone back to the 3 1/2 minutes to menu > with it--before it was 3 min 50 sec--so it is a slight > improvement--any other ideas? > Can you issue "set" from grub console. Are you sure you really use my version? > Cheers!

Re: Current Grub2 & problem with /boot on different drive

2009-09-24 Thread Dean Loros
Greetings Colin & Vladimir-- Tried the patched grub2--I've gone back to the 3 1/2 minutes to menu with it--before it was 3 min 50 sec--so it is a slight improvement--any other ideas? Cheers!!! Dean > I am "pub-crawling" tonight--I will do that tonight after (if I am > able ;) )--if not, I will do

Re: grub-install for FreeBSD

2009-09-24 Thread Brian R. Jones
Robert Millan wrote: On Thu, Sep 24, 2009 at 11:01:16AM -0700, Brian R. Jones wrote: Not sure if Felix's patch covers it, but there is also a problem with the 'sed' syntax in 10_freebsd and 30_os-prober. It turns out that freebsd 'sed' is quite retarded (at least in 7.2) and doesn't know that

RE: grub-0.97: btrfs multidevice support [PATCH]

2009-09-24 Thread Gregg C Levine
Hello! Robert I tend to agree with your statements except for these: "At least not by us; we've deprecated it in favour of GRUB 2. It is also being abandoned by distributors, so I wouldn't recommend that you put any effort in developing for it." Edward this simply means that your efforts here are

Re: [GITGRUB] New menu interface (implementation)

2009-09-24 Thread Michal Suchanek
2009/9/24 Bean : > On Thu, Sep 24, 2009 at 5:40 PM, Michal Suchanek wrote: There is also a background glitch in graphics mode. In text mode the background of the menu items is cyan but it is blue in graphics. >>> >>> It's actually the background image back.png, if you want to use co

Re: grub-0.97: btrfs multidevice support [PATCH]

2009-09-24 Thread Robert Millan
Hi Edward, I'm sorry but GRUB Legacy is not maintained. At least not by us; we've deprecated it in favour of GRUB 2. It is also being abandoned by distributors, so I wouldn't recommend that you put any effort in developing for it. -- Robert Millan The DRM opt-in fallacy: "Your data belong

Re: grub-install for FreeBSD

2009-09-24 Thread Robert Millan
On Thu, Sep 24, 2009 at 11:01:16AM -0700, Brian R. Jones wrote: > Not sure if Felix's patch covers it, but there is also a problem with the > 'sed' syntax in 10_freebsd and 30_os-prober. It turns out that freebsd > 'sed' is quite retarded (at least in 7.2) and doesn't know that '\t' is > supp

Re: grub-install for FreeBSD

2009-09-24 Thread Brian R. Jones
Colin Watson wrote: On Thu, Sep 24, 2009 at 11:01:16AM -0700, Brian R. Jones wrote: Not sure if Felix's patch covers it, but there is also a problem with the 'sed' syntax in 10_freebsd and 30_os-prober. It turns out that freebsd 'sed' is quite retarded (at least in 7.2) and doesn't know that

Re: grub-install for FreeBSD

2009-09-24 Thread Colin Watson
On Thu, Sep 24, 2009 at 11:01:16AM -0700, Brian R. Jones wrote: > Not sure if Felix's patch covers it, but there is also a problem with the > 'sed' syntax in 10_freebsd and 30_os-prober. It turns out that freebsd > 'sed' is quite retarded (at least in 7.2) and doesn't know that '\t' is > supp

Re: Grub2 and Efi (MacBook 5,1)

2009-09-24 Thread Stefan Bienert
> Hi, > > The following modules should be enough: > > minicmd part_msdos part_gpt fat ext2 hfsplus ntfs reiserfs xfs iso9660 > ls search loopback linux chain reboot halt appleldr help configfile > hexdump loadbios fixvideo sh > Yeah, it works! Thanks' a lot. I built the new grub.efi as you sugg

Re: grub-install for FreeBSD

2009-09-24 Thread Felix Zielcke
Am Donnerstag, den 24.09.2009, 11:01 -0700 schrieb Brian R. Jones: > Robert Millan wrote: > > On Wed, Sep 23, 2009 at 08:36:01AM +0200, Vladimir 'phcoder' Serbinenko > > wrote: > >> Andrey Shuvikov wrote: > >>> Hello, > >>> > >>> I tried to install Grub2 under FreeBSD but grub-install failed becau

Re: grub-install for FreeBSD

2009-09-24 Thread Brian R. Jones
Robert Millan wrote: On Wed, Sep 23, 2009 at 08:36:01AM +0200, Vladimir 'phcoder' Serbinenko wrote: Andrey Shuvikov wrote: Hello, I tried to install Grub2 under FreeBSD but grub-install failed because readlink doesn't understand -f and stat doesn't have -c. I edited grub-mkconfig_lib.in to u

Re: [PATCH]: Save boot record before writing to the dest_drive

2009-09-24 Thread kashyap garimella
On Wed, Sep 23, 2009 at 1:38 PM, Mikko Rantalainen < mikko.rantalai...@peda.net> wrote: > I looked at the patch and it seems that the problem could be caused by > following code: > > > + if (!backup_fp) > > + { > > +strcpy(grub_errmsg,"Unable to create the backup file"); > > +goto unable

Re: [PATCH] Clean up struct grub_module_header

2009-09-24 Thread Robert Millan
It seems this has been leftover, probably because my response looked like I objected to it (which I don't, it's perfectly reasonable cleanup). I'm committing it. On Sat, Aug 22, 2009 at 02:10:12AM -0400, Pavel Roskin wrote: > `grub_module_header_types' should not be a field at all. Move enum >

Re: at_keyboard and checkkey()

2009-09-24 Thread Robert Millan
I opted for committing a smaller fix. It's not completely satisfactory, but it's less intrusive and hence more suitable for the 1.97 release. After 1.97 is out, this will probably need some restructuring (e.g. implementing queues and/or an interrupt handler). -- Robert Millan The DRM opt-in

Re: Save boot record before writing to the dest_drive

2009-09-24 Thread Robert Millan
On Wed, Sep 23, 2009 at 07:38:59AM +0530, kashyap garimella wrote: > There is already a thread discussing this topic. > http://www.mail-archive.com/grub-devel@gnu.org/msg12829.html > The patch saves the exact places in embed region, which are overwritten. > And it restores the mbr+embed region safe

Re: grub-install for FreeBSD

2009-09-24 Thread Robert Millan
On Wed, Sep 23, 2009 at 08:36:01AM +0200, Vladimir 'phcoder' Serbinenko wrote: > Andrey Shuvikov wrote: > > Hello, > > > > I tried to install Grub2 under FreeBSD but grub-install failed because > > readlink doesn't understand -f and stat doesn't have -c. I edited > > grub-mkconfig_lib.in to use d

Re: Save boot record before writing to the dest_drive

2009-09-24 Thread Robert Millan
On Tue, Sep 22, 2009 at 07:57:23PM +0100, James Courtier-Dutton wrote: > Hi, > > I think this would be a good feature, because if nothing else, Please could you reply in the same thread? -- Robert Millan The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and how) you ma

Re: grub core size

2009-09-24 Thread Robert Millan
On Tue, Sep 22, 2009 at 07:41:34PM +0100, James Courtier-Dutton wrote: > Hi, > > I am using grub 2. > The stage 1 bit of grub, that stores itself in the partition table and > the following sectors, seems to be quite large. > I have a HP server system that only has 32 512-bytes sectors free > befor

Re: (no subject)

2009-09-24 Thread Robert Millan
On Mon, Sep 21, 2009 at 02:39:05PM +0100, David Howells wrote: > Hi, > > I've come across an interesting problem with grub and grub2 booting with only > a > serial console: they won't finish booting if they don't have anything plugged > into the serial port. The moment a serial cable is inserted

patch to replace (UUID=) hack

2009-09-24 Thread Robert Millan
On Tue, Sep 22, 2009 at 09:56:07AM +0200, Vladimir 'phcoder' Serbinenko wrote: > Try attached WIP patch Excellent. This was quite necessary. I have to admit my (UUID=) kludge was a really poor solution (although in that time, the alternatives weren't so straightforwarded). I'm inclined to allow

Re: [GITGRUB] New menu interface (implementation)

2009-09-24 Thread Bean
On Thu, Sep 24, 2009 at 5:40 PM, Michal Suchanek wrote: >>> >>> There is also a background glitch in graphics mode. In text mode the >>> background of the menu items is cyan but it is blue in graphics. >> >> It's actually the background image back.png, if you want to use color >> rect, change >> >

Re: [GITGRUB] New menu interface (implementation)

2009-09-24 Thread Michal Suchanek
2009/9/24 Bean : > On Thu, Sep 24, 2009 at 3:20 PM, Michal Suchanek wrote: >> Hello, >> >> Thanks for this menu preview looks very good. >> >> I guess it could use more padding but if that can be added in the >> style there is no problem with that. >> >> There is also an odd column with blue backg

Re: [GITGRUB] New menu interface (implementation)

2009-09-24 Thread Bean
On Thu, Sep 24, 2009 at 3:20 PM, Michal Suchanek wrote: > Hello, > > Thanks for this menu preview looks very good. > > I guess it could use more padding but if that can be added in the > style there is no problem with that. > > There is also an odd column with blue background in text mode. Is that

Re: [GITGRUB] New menu interface (implementation)

2009-09-24 Thread Michal Suchanek
Hello, Thanks for this menu preview looks very good. I guess it could use more padding but if that can be added in the style there is no problem with that. There is also an odd column with blue background in text mode. Is that replacement for the icons? I guess they should not be displayed if it