GRUB2 on efi32 - Apple Mac Mini

2008-12-09 Thread Michal Suchanek
Hello I tried installing GRUB2 on a Mac mini. There are issues on this platform, and it seems they are too fundamental to resolve over IRC. I have installed OS X 10.4 reFit (some older version which I installed some time ago to make the system reasonably multibotable). I could not get the PC

Re: GRUB2 on efi32 - Apple Mac Mini

2008-12-10 Thread Michal Suchanek
2008/12/10 peter cros <[EMAIL PROTECTED]>: > My current preferred bootloader is SVN version 1913 grub2.efi here on an > Apple MacBook2,1. running Macosx10.4 and Ubuntu810 i386 32bit kernel (2.6.27 > kernel), together with rEFIt 0.12 (but also used standalone). > > The amd64 kernel loaded but failed

Re: EFI Boot on MacPro

2009-01-12 Thread Michal Suchanek
2009/1/8 peter cros : > Successfully booting linux 2.6.27 on MacBook2,1 - details. > > i386 grub.efi, SVN version 1913. > > ubuntu 810, kernel version 2.6.27-7-generic (installed today). >2244272 2008-10-24 19:29 vmlinuz-2.6.27-7-generic >8177710 2009-01-08 16:48 initrd.img-2.6.27-7-generi

Re: grub.efi x86_64 on Apple 64bit efi models - status of testing

2009-02-09 Thread Michal Suchanek
2009/2/9 Robert Millan : > On Mon, Feb 09, 2009 at 03:26:25PM +0100, step21 wrote: >> Mmm, I was under the impression I should test at_keyboard. > > That'd be because I told you to test at_keyboard ;-) > > But I was wrong, as Vesa pointed out the keyboard on Mac hardware is wired > to the USB contr

Re: A _good_ and valid use for TPM

2009-02-19 Thread Michal Suchanek
2009/2/19 phcoder : > First of all your system is still totally vulnerable to emanation and power > analysis or hw tampering. By reflashing bios one can bypass all tpm > protections (don't say it's difficult because it's closed source and so on. > Look at all closed source obfuscations/pseudo-prote

Re: A _good_ and valid use for TPM

2009-02-22 Thread Michal Suchanek
On 22/02/2009, phcoder wrote: > > > > > In any case, if your attacker is that much determined to archieve their > goal, > > > reverse engineering a small chip isn't going to stop them. > > > > > Reverse engineering the TPM chip is very costly. And I'm not going to try > to protect data from NSA or

Re: A _good_ and valid use for TPM

2009-02-23 Thread Michal Suchanek
2009/2/23 step21 : > This whole debate made read up a little bit on TPM, for example I > checked http://www.osxbook.com/book/bonus/chapter10/tpm/ > (osx book is a very nice resource for mac/os x system internals) > regarding tpms on apple hardware. > Now contrary to what some outdated resources/rum

Re: Some ideas about new features of grub

2009-07-11 Thread Michal Suchanek
2009/7/11 Bean : > On Sat, Jul 11, 2009 at 5:27 AM, BandiPat wrote: >> Actually Zenwalk provides os-prober as well.  The gentleman that provides >> the installer of our Grub2 uses os-prober to detect all OS's installed, so >> they may be added to the original grub.cfg.  Works very well, although no

Rotated menu on EFI?

2009-07-24 Thread Michal Suchanek
Hello Is there some chance that the grub menu could be drawn rotated on graphical devices like the efi graphics interface? Thanks Michal ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: Rotated menu on EFI?

2009-07-25 Thread Michal Suchanek
2009/7/25 Robert Millan : > On Fri, Jul 24, 2009 at 09:33:45PM +0200, Michal Suchanek wrote: >> Hello >> >> Is there some chance that the grub menu could be drawn rotated on >> graphical devices like the efi graphics interface? > > I'm not sure what you mean

Re: Rotated menu on EFI?

2009-07-25 Thread Michal Suchanek
2009/7/25 Vladimir 'phcoder' Serbinenko : >> >> >> No, I mean that the arrow keys work normally but the menu is drawn >> rotated to match the screen orientation. > This would require > (a) video support for EFI. This is simple to implement once > framebuffer split is in > (b) rotation support in gf

Re: [PATCH] Faster text rendering by optimizing font glyph lookup

2009-07-26 Thread Michal Suchanek
On 25/07/2009, Felix Zielcke wrote: > Am Samstag, den 25.07.2009, 18:04 +0200 schrieb Robert Millan: > > > On Fri, Jul 24, 2009 at 11:17:59PM +0200, Felix Zielcke wrote: > > > > > > So if there still won't come up objections against this, then I'll do > > > the change, then at least an Ubuntu b

Re: Rotated menu on EFI?

2009-07-28 Thread Michal Suchanek
2009/7/28 Robert Millan : > On Sat, Jul 25, 2009 at 10:03:50PM +0200, Michal Suchanek wrote: >> 2009/7/25 Robert Millan : >> > On Fri, Jul 24, 2009 at 09:33:45PM +0200, Michal Suchanek wrote: >> >> Hello >> >> >> >> Is there some chance that t

Re: Rotated menu on EFI?

2009-07-29 Thread Michal Suchanek
2009/7/28 Vladimir 'phcoder' Serbinenko : > On Tue, Jul 28, 2009 at 7:57 PM, Robert Millan wrote: >> On Sat, Jul 25, 2009 at 10:03:50PM +0200, Michal Suchanek wrote: >>> 2009/7/25 Robert Millan : >>> > On Fri, Jul 24, 2009 at 09:33:45PM +0200, Michal Sucha

Re: Fwd: [PATCH 1/2] Framebuffer split

2009-08-01 Thread Michal Suchanek
2009/8/1 Robert Millan : > On Fri, Jul 31, 2009 at 10:31:07PM +0200, Vladimir 'phcoder' Serbinenko wrote: >> > Well, that fits the definition of backend. >> > >> But there are other backends too - network backend, opengl backend, ... >> Framebuffer is a term often used to designated memory ranged w

Re: Fwd: [PATCH 1/2] Framebuffer split

2009-08-01 Thread Michal Suchanek
2009/8/1 Robert Millan : > On Mon, Jul 27, 2009 at 12:06:17AM +0200, Vladimir 'phcoder' Serbinenko wrote: >>    grub_err_t (*get_info) (struct grub_video_mode_info *mode_info); >> >> +  grub_err_t (*get_info_and_fini) (struct grub_video_mode_info *mode_info, >> +                                void

Re: Fwd: [PATCH 1/2] Framebuffer split

2009-08-01 Thread Michal Suchanek
2009/8/1 Vladimir 'phcoder' Serbinenko : > On Sat, Aug 1, 2009 at 5:14 PM, Michal Suchanek wrote: >> 2009/8/1 Robert Millan : >> I guess the current initialization is somewhat fishy. I haven't looked >> at the code so far but the way it works is odd. W

Re: Apple Xserve running Fedora

2009-08-03 Thread Michal Suchanek
2009/8/3 drew rosen : > Hi Guys. > > We're under a deadline to get our Xserve's running fedora. Looking forward > to signing into the IRC to get some help pushing thru the EFI issues. > > Does anyone have any fresh tips / newest file we should use? Yes. If you can get some usable hardware ;-) Oth

Re: [PATCH] ntldr support

2009-08-07 Thread Michal Suchanek
2009/8/7 Robert Millan : > On Wed, Aug 05, 2009 at 07:35:32AM +0200, Christian Franke wrote: >> Vladimir 'phcoder' Serbinenko wrote: >>> On Tue, Aug 4, 2009 at 9:27 PM, Robert Millan<...> wrote: >>> After thinking a bit about this, I don't think we want this command in its current form. >

Re: [PATCH] ntldr support

2009-08-07 Thread Michal Suchanek
2009/8/7 Robert Millan : > On Fri, Aug 07, 2009 at 01:17:30PM +0200, Michal Suchanek wrote: >> >> ntldr is a boot loader like any other and it needs its configuration >> and support files to work. Without them it fails (not sure how) but >> that is not unexpected. >

Re: Fwd: [PATCH 1/2] Framebuffer split

2009-08-08 Thread Michal Suchanek
Hello I cannot get any sense of these patches "with moving code around omitted" so I tried the git repository in Vladimir's signature. Maybe I am missing something but the function of this code escapes me: static grub_err_t grub_video_vbe_set_viewport (unsigned int x, unsigned int y,

Re: Fwd: [PATCH 1/2] Framebuffer split

2009-08-08 Thread Michal Suchanek
2009/8/8 Michal Suchanek : > Hello > > I cannot get any sense of these patches "with moving code around > omitted" so I tried the git repository in Vladimir's signature. > > Maybe I am missing something but the function of this code escapes me: > > static g

Re: Fwd: [PATCH 1/2] Framebuffer split

2009-08-09 Thread Michal Suchanek
Hello, both in the previous complete patch and Vladimir's git repository introduce a grub_video_rect_t type. Is there some intention to change the interface to use this structure? I was looking at the the various places that use points and rectangles. It's quite inconsistent and unclear now. Th

Re: Fwd: [PATCH 1/2] Framebuffer split

2009-08-10 Thread Michal Suchanek
2009/8/10 Vladimir 'phcoder' Serbinenko : > On Sun, Aug 9, 2009 at 1:55 PM, Michal Suchanek wrote: >> Hello, >> >> both in the previous complete patch and Vladimir's git repository >> introduce a grub_video_rect_t type. > This is from Collin's

Re: Fwd: [PATCH 1/2] Framebuffer split

2009-08-10 Thread Michal Suchanek
2009/8/10 Vladimir 'phcoder' Serbinenko : >> >> >> 2009/8/10 Vladimir 'phcoder' Serbinenko : As I understand it the code checks the bounds against the active videomode and then sets the viewport on the active render target. Since the active render target can be arbitrarily set b

Re: RFC: 1.97 roadmap

2009-08-10 Thread Michal Suchanek
2009/8/10 Robert Millan : > > Hi, > > I think it's time we begin the discussion on GRUB 1.97.  What do we want to > see in it, and a rough schedule.  1.97 is meant to be a point release, without > any major changes (I mean, except for those we already have ;-)), and it > should > happen soon (like

Re: Fwd: [PATCH 1/2] Framebuffer split

2009-08-10 Thread Michal Suchanek
2009/8/10 Vladimir 'phcoder' Serbinenko : > On Mon, Aug 10, 2009 at 4:38 PM, Michal Suchanek wrote: >> Yes, but set_viewport works on the active target. You create an >> offscreen target and set it as the active target and want to set the >> viewport on it. Depe

Re: [RFT,PATCH] Move embedding to appropriate partmap files

2009-08-12 Thread Michal Suchanek
2009/8/12 Robert Millan : > On Tue, Aug 11, 2009 at 03:33:13PM +0200, Vladimir 'phcoder' Serbinenko wrote: >> Hello. A bug was filed that embedding code in grub-setup.c was >> ignoring partmap metadata which could cause its overwriting. To avoid >> usage of metadata and because of upcoming sunpc em

Re: RFC: 1.97 roadmap

2009-08-12 Thread Michal Suchanek
2009/8/10 Vladimir 'phcoder' Serbinenko : >> >> What is the state of graphics on EFI? > in efi/linux.c there is a stub with a mixture of UGA and direct > access. I would prefer to switch to own drivers since EFI tries to > "abstract" video. Bean has GOP patch but only few mobos support it. I have

Re: Fwd: [PATCH 1/2] Framebuffer split

2009-08-12 Thread Michal Suchanek
2009/8/10 Vladimir 'phcoder' Serbinenko : > On Mon, Aug 10, 2009 at 4:38 PM, Michal Suchanek wrote: >> Yes, but set_viewport works on the active target. You create an >> offscreen target and set it as the active target and want to set the >> viewport on it. Depe

Re: Fwd: [PATCH 1/2] Framebuffer split

2009-08-12 Thread Michal Suchanek
2009/8/10 Vladimir 'phcoder' Serbinenko : >> I would like a video_fb function like >> grub_video_fb_create_render_target_from_buffer(void * buffer, int >> allocated, const grub_video_mode_info_t * mode_info) > Well this is pretty much what we do directly. New fields can be added > to fbrender_targe

Re: Fwd: [PATCH 1/2] Framebuffer split

2009-08-12 Thread Michal Suchanek
2009/8/12 Vladimir 'phcoder' Serbinenko : > On Wed, Aug 12, 2009 at 3:08 PM, Michal Suchanek wrote: >> 2009/8/10 Vladimir 'phcoder' Serbinenko : >>> On Mon, Aug 10, 2009 at 4:38 PM, Michal Suchanek wrote: >>>> Yes, but set_viewport works on the

Re: Fwd: [PATCH 1/2] Framebuffer split

2009-08-13 Thread Michal Suchanek
2009/8/13 Vladimir 'phcoder' Serbinenko : >> Considering that vbe.c and sdl.c currently aren't affected a lot >> whether there is or there isn't encapsulation in place, I'm ok tih >> encapsulating it but if any driver needs the breach of encapsulation >> it will be broken and I'll post no oppositio

Re: Fwd: [PATCH 1/2] Framebuffer split

2009-08-14 Thread Michal Suchanek
2009/8/14 Michal Suchanek : > 2009/8/13 Vladimir 'phcoder' Serbinenko : >>> Considering that vbe.c and sdl.c currently aren't affected a lot >>> whether there is or there isn't encapsulation in place, I'm ok tih >>> encapsulating it but if a

Re: Fwd: [PATCH 1/2] Framebuffer split

2009-08-14 Thread Michal Suchanek
2009/8/14 Vladimir 'phcoder' Serbinenko : > On Fri, Aug 14, 2009 at 2:13 AM, Michal Suchanek wrote: >> 2009/8/13 Vladimir 'phcoder' Serbinenko : >>>> Considering that vbe.c and sdl.c currently aren't affected a lot >>>> whether

Minor framebuffer cleanup patches

2009-08-14 Thread Michal Suchanek
Hello I am sending the rest of framebuffer patches that were not included in the split by Vladimir. remove-dup-function.patch * video_fb.c: remove grub_video_fb_get_video_ptr which is duplicated in fbutil.c * fbutil.c: copy the note from fbfill.c rename-var.patch vbe.c: grub_video_vbe_setup re

Re: Minor framebuffer cleanup patches

2009-08-14 Thread Michal Suchanek
2009/8/14 Vladimir 'phcoder' Serbinenko : > On Fri, Aug 14, 2009 at 4:04 PM, Michal Suchanek wrote: >> Hello >> >> I am sending the rest of framebuffer patches that were not included in >> the split by Vladimir. >> >> remove-dup-function.patch >&

Re: Minor framebuffer cleanup patches

2009-08-16 Thread Michal Suchanek
2009/8/16 Vladimir 'phcoder' Serbinenko : > I comitted three patches to branches michal[123] on my git. If > maintainer confirms it's ok for inclusion (legal reasons) I'll commit > to mainstream. You can see on my git how Changelog entries for you > changes should look like Looking at these chang

Re: grub-mkconfig fails on every non i386-pc because of gfxterm/vbe

2009-08-18 Thread Michal Suchanek
2009/8/18 Felix Zielcke : > Am Dienstag, den 18.08.2009, 13:58 -0400 schrieb Pavel Roskin: >> On Fri, 2009-08-14 at 08:44 +0200, Felix Zielcke wrote: >> > Am Donnerstag, den 11.06.2009, 21:09 -0400 schrieb Pavel Roskin: >> > > Quoting Felix Zielcke : >> > > >> > > >> So you would prefer something l

Re: [PATCH] prevent duplicated entries due to symlinks

2009-08-18 Thread Michal Suchanek
2009/5/4 Andreas : > > You have a symlink named /boot/vmlinuz which points at the current kernel > version. Now you could of course find out which kernel version it's pointing > at but that version could change anytime. /boot/vmlinu[zx] and /vmlinu[zx Both are typically present on x86 and x86_64

Re: [RFC] Redesign of the menu system

2009-08-19 Thread Michal Suchanek
2009/8/19 Vladimir 'phcoder' Serbinenko : > On Wed, Aug 19, 2009 at 11:05 AM, Bean wrote: >> Hi, >> >> Currently, the menu system is a little unorganized and difficult to >> extend. My goal of the redesign are: >> >> Modular >> Split code into small modules, each module implement a specific >> func

Re: [RFC] Redesign of the menu system

2009-08-19 Thread Michal Suchanek
2009/8/19 Vladimir 'phcoder' Serbinenko : >>> To have level or tree-like model you can use '.' as a name separator >>> it will make the system uniform with current FreeBSD booting. >> >> XML/CSS is not the easiest format to work with but a bunch of >> variables which represent a tree is not nice ei

Re: [RFC] Redesign of the menu system

2009-08-19 Thread Michal Suchanek
2009/8/19 Bean : > On Wed, Aug 19, 2009 at 10:30 PM, Vladimir 'phcoder' > Serbinenko wrote: >> On Wed, Aug 19, 2009 at 4:22 PM, Bean wrote: >>> Hi, >>> >>> Some clarification about the XML/CSS format: >>> >>> First of all, the internal representation of component is tree-like >>> structure, which i

Re: TPM support status ?

2009-08-19 Thread Michal Suchanek
2009/8/19 Vladimir 'phcoder' Serbinenko : > On Wed, Aug 19, 2009 at 8:13 PM, Duboucher Thomas wrote: >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> >> Vladimir 'phcoder' Serbinenko a écrit : > 2) Ethical Aspects > == > Every technology has its evil uses, so

Re: TPM support status ?

2009-08-19 Thread Michal Suchanek
2009/8/19 Duboucher Thomas : > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Vladimir 'phcoder' Serbinenko a écrit : >> Without threat model we're speaking placebo. >> > > Stoned Bootkit? Coreboot can prevent that as well as TPM can. Any threat model which shows the advantage of TPM? Than

Re: TPM support status ?

2009-08-19 Thread Michal Suchanek
2009/8/19 Vladimir 'phcoder' Serbinenko : > On Wed, Aug 19, 2009 at 10:57 PM, Duboucher Thomas wrote: >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> >> Michal Suchanek a écrit : >>>>> Without threat model we're speaking placebo. >

Re: TPM support status ?

2009-08-20 Thread Michal Suchanek
2009/8/20 Michael Gorven : > On Wednesday 19 August 2009 21:21:28 Michal Suchanek wrote: >> Tell me one technical benefit of TPM over coreboot. > > Coreboot doesn't provide protected storage of secrets (e.g. harddrive > decryption keys). TPM does not either at the

Re: TPM support status ?

2009-08-20 Thread Michal Suchanek
2009/8/20 Michael Gorven : > On Thursday 20 August 2009 09:49:06 Michal Suchanek wrote: >> 2009/8/20 Michael Gorven : >> > On Wednesday 19 August 2009 21:21:28 Michal Suchanek wrote: >> >> Tell me one technical benefit of TPM over coreboot. >> > >> &g

Re: TPM support status ?

2009-08-20 Thread Michal Suchanek
2009/8/20 Michael Gorven : > On Thursday 20 August 2009 09:59:42 Michal Suchanek wrote: >> 2009/8/20 Michael Gorven : >> > On Thursday 20 August 2009 09:49:06 Michal Suchanek wrote: >> >> 2009/8/20 Michael Gorven : >> >> > On Wednesday 19 August 2009

Re: TPM support status ?

2009-08-20 Thread Michal Suchanek
2009/8/20 Michael Gorven : > On Thursday 20 August 2009 10:20:02 Michal Suchanek wrote: >> 2009/8/20 Michael Gorven : >> > On Thursday 20 August 2009 09:59:42 Michal Suchanek wrote: >> >> 2009/8/20 Michael Gorven : >> >> > On Thursday 20 August 2009 09

Re: TPM support status ?

2009-08-20 Thread Michal Suchanek
2009/8/20 Vladimir 'phcoder' Serbinenko : > On Thu, Aug 20, 2009 at 1:15 PM, Michael Gorven wrote: >> On Thursday 20 August 2009 12:58:50 Michal Suchanek wrote: >>> How does TPM protest your machine from physical access? I thought it's >>> a small chi

Re: grub-mkconfig fails on every non i386-pc because of gfxterm/vbe

2009-08-21 Thread Michal Suchanek
2009/8/21 Vladimir 'phcoder' Serbinenko : > On Fri, Aug 21, 2009 at 12:18 AM, Pavel Roskin wrote: >> On Wed, 2009-08-19 at 17:18 +0200, Robert Millan wrote: >> >>> The eye candy is nice but not so important.  For me, gfxterm should be >>> default on platforms where it's available, because it implem

Re: TPM support status ?

2009-08-21 Thread Michal Suchanek
2009/8/20 Duboucher Thomas : > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Seems that my smtp was down :| > > Michal Suchanek a écrit : >> 2009/8/20 Michael Gorven : >>> On Thursday 20 August 2009 10:20:02 Michal Suchanek wrote: >>>> 2009/8/20

Re: [PATCH] Detect key modifier status in 'sleep --interruptible'

2009-08-24 Thread Michal Suchanek
2009/8/24 Robert Millan : > On Mon, Aug 24, 2009 at 10:11:10AM +0100, Colin Watson wrote: >> > But in at_keyboard it's definitely possible (check how we handle e.g. CTRL >> > or SHIFT keys). >> >> No, that code only spots make scan codes arriving after GRUB's terminal >> starts up. AFAICS it has no

Re: [PATCH] Optimised 1bit blitters

2009-08-25 Thread Michal Suchanek
2009/8/23 Robert Millan : > On Fri, Aug 21, 2009 at 05:33:30PM +0200, Vladimir 'phcoder' Serbinenko wrote: >> +  for (j = 0; j < height; j++) >> +    { >> +      for (i = 0; i < width; i++) >> +        { > > It's a bit odd, but GCC doesn't seem to optimize those in a single loop.   > Could > you us

Re: Re[2]: 'password' command in GRUB 2?

2009-08-25 Thread Michal Suchanek
2009/8/25 Vladimir 'phcoder' Serbinenko : >> Does it has the same problem as CVE-2008-3896 published for grub-legacy? > It's completely different concern. Actually BIOS keyboard buffer > shouldn't be a problem since only root can read raw memory and if user > is a root he can just kexec any kernel

Re: Re[2]: 'password' command in GRUB 2?

2009-08-26 Thread Michal Suchanek
2009/8/25 Vladimir 'phcoder' Serbinenko : >> However, that CVE is about grub leaving its passwords in memory. >> Wiping memory used by grub should be fast - orders of magnitude faster >> than loading the OS kernel for example. > Actually this specific report is about BIOS leaving its keyboard > buf

Re: [RFC] Don't pass filename in multiboot command line

2009-08-27 Thread Michal Suchanek
2009/8/27 Seth Goldberg : > Hi, > >  Any chance of having a 'multiboot1' module that can continue to pass the > multiboot filename as arg0 ? > >From the previous discussion of this feature I guess you can pass it as the first argument manually. HTH Michal __

Re: [PATCH] bless command

2009-08-28 Thread Michal Suchanek
Hello the bless command is nice. 2009/4/19 Vladimir Serbinenko : > Thank you for the testing and info. >> >> Redundant info - >> I checked the OSX bless utility, it requires both folder and file, or it >> will not agree to bless the file. > > I'm nearly sure now that folder blessing (+tbxi attrib

Re: [PATCH] bless command

2009-08-29 Thread Michal Suchanek
2009/8/29 Bean : > On Sat, Aug 29, 2009 at 2:27 PM, Vladimir 'phcoder' > Serbinenko wrote: >>> Actually, I think the correct handling is to first bless a boot >>> directory (storing the directory id in header), then bless a boot file >>> (add +tbxi attribute), that's why the bless command in OSX ne

Re: [PATCH] bless command

2009-08-29 Thread Michal Suchanek
2009/8/29 Bean : > On Sat, Aug 29, 2009 at 3:58 PM, Michal Suchanek wrote: >> 2009/8/29 Bean : >>> On Sat, Aug 29, 2009 at 2:27 PM, Vladimir 'phcoder' >>> Serbinenko wrote: >>>>> Actually, I think the correct handling is to first bless a boot

Re: [PATCH] SDL

2009-08-31 Thread Michal Suchanek
2009/8/30 Vladimir 'phcoder' Serbinenko : > Rediffed SDL patch. On top of my videomask, autogfx and doublebuf > patches. HTH for debugging before making release > Does SDL support rotation/mirroring of the graphical output? It would be nice if we could test that in SDL as well. Thanks Michal _

Re: Announcing GNU GRUB 1.97 beta1

2009-08-31 Thread Michal Suchanek
Hello With 1.97 beta1 I cannot use config files like the one attached. The message is 'You need to load the kernel first.' I did not try with 1.97 beta1 yet but with recent trunk I could not use the config file but I still could boot using these commands. linux /boot/vmlinuz-... root=/dev/sda7

Re: [GITGRUB] New menu interface

2009-09-02 Thread Michal Suchanek
Hello 2009/9/2 Bean : ... >  + box { >    + screen { >      bgimage = "splash.png" >    } >  } > } Where would this image get displayed? It's highly unlikely it would have the same resolution as the screen box. > > + screen { >  + text { >    class = "header" >    x = 10 >    y = 10 >    text =

Re: [GITGRUB] New menu interface

2009-09-02 Thread Michal Suchanek
2009/9/2 Bean : > On Wed, Sep 2, 2009 at 7:07 PM, Michal Suchanek wrote: >> Hello >> >> 2009/9/2 Bean : >> ... >>>  + box { >>>    + screen { >>>      bgimage = "splash.png" >>>    } >>>  } >>> } >> &

Re: [GITGRUB] New menu interface

2009-09-02 Thread Michal Suchanek
2009/9/2 Bean : > On Wed, Sep 2, 2009 at 11:27 PM, Michal Suchanek wrote: >> How will it fit screen? What if the image is 4:3 and  the screen is >> 5:4 or widescreen? > > It'd scale to fit the new proportion, although the image perhaps won't > look nice in thi

Re: [GITGRUB] New menu interface

2009-09-02 Thread Michal Suchanek
2009/9/2 Bean : > On Thu, Sep 3, 2009 at 1:25 AM, Michal Suchanek wrote: >> 2009/9/2 Bean : >>> On Wed, Sep 2, 2009 at 11:27 PM, Michal Suchanek wrote: >>>> How will it fit screen? What if the image is 4:3 and  the screen is >>>> 5:4 or widescreen? &g

Re: [GITGRUB] New menu interface

2009-09-03 Thread Michal Suchanek
2009/9/3 Bean : > On Thu, Sep 3, 2009 at 3:43 AM, Michal Suchanek wrote: >> 2009/9/2 Bean : >>> On Thu, Sep 3, 2009 at 1:25 AM, Michal Suchanek wrote: >>>> 2009/9/2 Bean : >>>>> On Wed, Sep 2, 2009 at 11:27 PM, Michal Suchanek >>>>> wr

Re: [GITGRUB] New menu interface

2009-09-03 Thread Michal Suchanek
2009/9/3 Bean : > On Thu, Sep 3, 2009 at 4:41 PM, Michal >> And how would you place the menu items then? At random? > > Hi, > > First we can implement the classic menu, which is basically multi-line > text box, one item per line. Later we could add more style, perhaps by > inserting a panel compone

Re: Report: compil error on OSX for target=i386

2009-09-05 Thread Michal Suchanek
2009/9/4 Robert Millan : > On Thu, Sep 03, 2009 at 11:33:51PM +0200, Vladimir 'phcoder' Serbinenko wrote: >> > It's much easier to make official GCC a build requirement.  People hacking >> > on GRUB source, or distributors (e.g. Fink) should have no problem with a >> > dependency on GCC. >> > >> It

Re: Mad idea: grub-fuse

2009-09-07 Thread Michal Suchanek
2009/9/7 Colin Watson : > On Mon, Sep 07, 2009 at 06:39:13PM +0800, Bean wrote: >> On Mon, Sep 7, 2009 at 6:18 PM, Colin Watson wrote: >> > The level of functionality provided by the existing filesystem modules >> > would be quite sufficient. >> >> Oh I see, you mean the other way around, using th

Re: Mad idea: grub-fuse

2009-09-07 Thread Michal Suchanek
2009/9/7 Vladimir 'phcoder' Serbinenko : > On Mon, Sep 7, 2009 at 11:30 AM, Colin Watson wrote: >> os-prober mounts filesystems using Linux's filesystem drivers. This of >> course means that we have to go to special lengths to avoid replaying >> journals (we don't yet, but we should), we have to lo

Re: [GITGRUB] New menu interface (second draft)

2009-09-08 Thread Michal Suchanek
2009/9/7 Bean : > Hi, > > After considering the discussion of first post, I come up with the > second draft for new menu interface implementation. > > First, the basic drawing unit is now region, there are four types: > > text > Single line of text, have alignment attribute. > > image > An image, h

Re: [GITGRUB] New menu interface (second draft)

2009-09-09 Thread Michal Suchanek
2009/9/8 Bean : > Hi, > > After more consideration, perhaps we should use the following > component structure: > > frame - window border > panel - layout manager with scroll bar support > window - frame + panel What has window that frame+panel does no have? I think it is reasonable to just put tw

Re: [GITGRUB] New menu interface (second draft)

2009-09-09 Thread Michal Suchanek
2009/9/8 Bean : > Hi, > > After more consideration, perhaps we should use the following > component structure: > > frame - window border > panel - layout manager with scroll bar support > window - frame + panel > label - text > image - image > button - button > list - list box > edit - multi-line e

Re: PXEgrub development on grub2

2009-09-09 Thread Michal Suchanek
HEllo 2009/9/9 Felix Zielcke : > Am Mittwoch, den 09.09.2009, 17:07 +0300 schrieb Lars Nooden: >> I see that all new work is on Grub2.  What timeline is there for >> bringing the pxegrub functionality forward to grub2 from legacy grub? >> >> Regards >> -Lars >> > > I don't know what pxegrub can do

Re: [GITGRUB] New menu interface (second draft)

2009-09-09 Thread Michal Suchanek
hello 2009/9/9 Bean : > On Wed, Sep 9, 2009 at 6:53 PM, Michal Suchanek wrote: >> 2009/9/8 Bean : >>> Hi, >>> >>> After more consideration, perhaps we should use the following >>> component structure: >>> >>> frame - window borde

Re: [GITGRUB] New menu interface (second draft)

2009-09-10 Thread Michal Suchanek
2009/9/10 Bean : > On Thu, Sep 10, 2009 at 8:38 AM, Michal Suchanek wrote: >> hello >> >> 2009/9/9 Bean : >>> On Wed, Sep 9, 2009 at 6:53 PM, Michal Suchanek wrote: >>>> 2009/9/8 Bean : >>>>> Hi, >>>>> >>>>>

Re: [GITGRUB] New menu interface (second draft)

2009-09-10 Thread Michal Suchanek
2009/9/10 Bean : > On Thu, Sep 10, 2009 at 3:26 PM, Michal Suchanek wrote: >> I don't know why you would move or resize a window. If there is only >> one window displayed it should get sized and placed reasonably from >> the start. Since grub has no threading you cannot

Re: PXEgrub development on grub2

2009-09-10 Thread Michal Suchanek
2009/9/9 Seth Goldberg : > > > Quoting Michal Suchanek, who wrote the following on Wed, 9 Sep 2009: > >> HEllo >> >> 2009/9/9 Felix Zielcke : >>> >>> Am Mittwoch, den 09.09.2009, 17:07 +0300 schrieb Lars Nooden: >>>> >>&

Re: PXEgrub development on grub2

2009-09-11 Thread Michal Suchanek
2009/9/11 Seth Goldberg : > Hi, > > Quoting Robert Millan, who wrote the following on Fri, 11 Sep 2009: > >> On Thu, Sep 10, 2009 at 02:17:56PM -0700, Seth Goldberg wrote: >>> > It sounds good. Looks like gPXE should work on EFI. > > I will try to build an image. > Though

Re: grub-mkconfig fails on every non i386-pc because of gfxterm/vbe

2009-09-12 Thread Michal Suchanek
Hello 2009/9/12 Felix Zielcke : > Am Samstag, den 12.09.2009, 14:58 +0200 schrieb Robert Millan: >> On Fri, Sep 11, 2009 at 05:54:19PM -0400, Pavel Roskin wrote: >> > On Sun, 2009-08-23 at 13:03 +0200, Robert Millan wrote: >> > >> > > Pavel, if you could confirm that you're ok with checking for mo

Re: [GITGRUB] New menu interface (second draft)

2009-09-13 Thread Michal Suchanek
Hello I hope this long discussion has not put you off. I personally would probably go with leaving gfxterm in place until a better menu is really needed but having a nice customizable menu is nice and will surely attract more potential grub users. I want the new menu system to be as simple and e

Re: Announcing GNU GRUB 1.97 beta1

2009-09-13 Thread Michal Suchanek
2009/9/1 Michal Suchanek : > Hello > > With 1.97 beta1 I cannot use config files like the one attached. > > The message is 'You need to load the kernel first.' > > I did not try with 1.97 beta1 yet but with recent trunk I could not > use the config file but I sti

Re: [GITGRUB] New menu interface (second draft)

2009-09-14 Thread Michal Suchanek
2009/9/14 Bean : >Hi, > >Thanks a lot for your advice, most of them looks good, although some >details may need adjustment. Thank you for working on the new menu system. Of course, this discussion is here to select the best ways to implement the menu we can think of and refine them so that we can

Re: [GITGRUB] New menu interface (second draft)

2009-09-14 Thread Michal Suchanek
2009/9/14 Bean : > On Mon, Sep 14, 2009 at 5:56 PM, Michal Suchanek wrote: >> 2009/9/14 Bean : >>> >>> About edit boxes, I'd prefer to use a command like popup to open a new >>> window, perhaps something like: >>> >>> popup "+ term

Re: About firmware facilities

2009-09-14 Thread Michal Suchanek
2009/9/14 Brendan Trotter : > Hi, > > On Tue, Sep 15, 2009 at 4:41 AM, Pavel Roskin wrote: >> On Tue, 2009-09-15 at 04:27 +0930, Brendan Trotter wrote: >>> Hi, >>> >>> On Tue, Sep 15, 2009 at 1:02 AM, Robert Millan wrote: >>> > Well, you have the freedom to disagree with anything we do and bring

Re: [GITGRUB] New menu interface (second draft)

2009-09-15 Thread Michal Suchanek
2009/9/15 Bean : > On Tue, Sep 15, 2009 at 2:14 AM, Michal Suchanek wrote: >> 2009/9/14 Bean : >>> On Mon, Sep 14, 2009 at 5:56 PM, Michal Suchanek >>> wrote: >>>> 2009/9/14 Bean : >> >>>>> >>>>> About edit boxes,

Re: [GITGRUB] New menu interface (implementation)

2009-09-19 Thread Michal Suchanek
Hello 2009/9/16 Bean : > set gfxmode="640x480" > loadfont /unifont.pf2 > ismod vbe > insmod png > menutest > > It runs four tests, it would pause after each test, press any key to continue. > > 1, It starts with text mode with three rects, the second rect have 3 > texts, but the last one is outsi

Re: [GITGRUB] New menu interface (implementation)

2009-09-19 Thread Michal Suchanek
Hello why does the menu system have a glyph drawing function? Is the one in font.c not suitable? Why are there two methods for returning text width and height, one in gfx_region in pixels, the other in text_region in characters? Does size in characters make any sense? There might be proportional

Re: [GITGRUB] New menu interface (implementation)

2009-09-20 Thread Michal Suchanek
2009/9/19 Bean : > On Sat, Sep 19, 2009 at 10:38 PM, Michal Suchanek wrote: >> Hello >> >> 2009/9/16 Bean : >> >>> set gfxmode="640x480" >>> loadfont /unifont.pf2 >>> ismod vbe >>> insmod png >>> menutest >>

Re: [GITGRUB] New menu interface (implementation)

2009-09-20 Thread Michal Suchanek
2009/9/19 Bean : > On Sat, Sep 19, 2009 at 10:38 PM, Michal Suchanek wrote: >> Hello >> >> 2009/9/16 Bean : >> >>> set gfxmode="640x480" >>> loadfont /unifont.pf2 >>> ismod vbe >>> insmod png >>> menutest >>

Re: [GITGRUB] New menu interface (implementation)

2009-09-20 Thread Michal Suchanek
2009/9/19 richardvo...@gmail.com : > On Sat, Sep 19, 2009 at 1:45 PM, Michal Suchanek wrote: >> Hello >> >> why does the menu system have a glyph drawing function? >> >> Is the one in font.c not suitable? >> >> Why are there two methods for returning t

Re: [GITGRUB] New menu interface (implementation)

2009-09-21 Thread Michal Suchanek
2009/9/20 Bean : > On Sun, Sep 20, 2009 at 4:30 PM, Michal Suchanek wrote: >> >> So the text region is intended for drawing on text screen and the >> graphics region on graphics screen. I assume the check for pure text >> mode is there to choose which one is used. &

Re: [GITGRUB] New menu interface (implementation)

2009-09-21 Thread Michal Suchanek
2009/9/20 richardvo...@gmail.com : > On Sun, Sep 20, 2009 at 3:31 AM, Michal Suchanek wrote: >> 2009/9/19 richardvo...@gmail.com : >>> On Sat, Sep 19, 2009 at 1:45 PM, Michal Suchanek >>> wrote: >>>> Hello >>>> >>>> why does the men

Re: Grub2 and Efi (MacBook 5,1)

2009-09-22 Thread Michal Suchanek
2009/9/21 Stefan Bienert : >> This is my grub-mkimage line: >> grub-mkimage -o grub.efi part_gpt hfsplus fat ext2 normal chain boot >> configfile part_apple appleldr >> >> Next I try to include all modules. >> >> greetings, >> >> Stefan > > OK, now I've included ALL modules BUT kernel in yesterdays

Re: Grub2 and Efi (MacBook 5,1)

2009-09-22 Thread Michal Suchanek
2009/9/22 Stefan Bienert : This is my grub-mkimage line: grub-mkimage -o grub.efi part_gpt hfsplus fat ext2 normal chain boot configfile part_apple appleldr Next I try to include all modules. greetings, Stefan >>> OK, now I've included ALL modules BUT ke

Re: Grub2 and Efi (MacBook 5,1)

2009-09-22 Thread Michal Suchanek
2009/9/22 Stefan Bienert :  timeout=10 menuentry "Gentoo Linux 3 NOAGB NOEFI" {     root=(hd1,3)     loadbios /boot/vbios.bin /boot/int10.bin     linux /boot/kernel-2.6.27-gentoo-r8-n root=/dev/sda4 video=efifb agp=off noefi } menuentry "MacOSX" { >

Re: [GITGRUB] New menu interface (implementation)

2009-09-23 Thread Michal Suchanek
2009/9/21 Bean : > On Mon, Sep 21, 2009 at 5:16 PM, Michal Suchanek wrote: >> 2009/9/20 Bean : >>> On Sun, Sep 20, 2009 at 4:30 PM, Michal Suchanek >>> wrote: >>>> >>>> So the text region is intended for drawing on text screen and the >>

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

  1   2   3   >