Re: [RFC] Detect other software using embedding area

2010-09-05 Thread richardvo...@gmail.com
On Sun, Sep 5, 2010 at 10:14 AM, C. P. Ghost wrote: > On Tue, Aug 31, 2010 at 2:54 PM, Thomas Schmitt wrote: > > Maybe one should use external boot media of > > which GRUB can claim complete ownership. > > I.e. an USB stick or a CD which hosts GRUB and > > a custom configuration. > > This way, G

Re: [RFC] Detect other software using embedding area

2010-09-05 Thread C. P. Ghost
On Tue, Aug 31, 2010 at 2:54 PM, Thomas Schmitt wrote: > Maybe one should use external boot media of > which GRUB can claim complete ownership. > I.e. an USB stick or a CD which hosts GRUB and > a custom configuration. > This way, GRUB would have no shares in the > embattled area at all. This way

Re: [RFC] Detect other software using embedding area

2010-08-31 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 08/31/2010 05:36 PM, Brendan Trotter wrote: > Hi, > > On Tue, Aug 31, 2010 at 8:28 PM, Colin Watson wrote: > >> When I blogged about this recently (and rather unexpectedly ended up on >> Slashdot), several people followed up to say that GRUB shouldn't be >> using the embedding area because i

Re: [RFC] Detect other software using embedding area

2010-08-31 Thread Brendan Trotter
Hi, On Tue, Aug 31, 2010 at 8:28 PM, Colin Watson wrote: > When I blogged about this recently (and rather unexpectedly ended up on > Slashdot), several people followed up to say that GRUB shouldn't be > using the embedding area because it was never defined to be used for > anything in particular

Re: [RFC] Detect other software using embedding area

2010-08-31 Thread Colin Watson
On Tue, Aug 31, 2010 at 07:15:17PM +0530, BVK Chaitanya wrote: > On Tue, Aug 31, 2010 at 4:28 PM, Colin Watson wrote: > > +struct embed_signature > > +{ > > +  const char *signature; > > +  int signature_len; > > +}; > > It seems this cannot take care of cases where signature starts at some > byt

Re: [RFC] Detect other software using embedding area

2010-08-31 Thread BVK Chaitanya
On Tue, Aug 31, 2010 at 4:28 PM, Colin Watson wrote: > > +struct embed_signature > +{ > +  const char *signature; > +  int signature_len; > +}; > + It seems this cannot take care of cases where signature starts at some byte offset in a sector, isn't it? -- bvk.chaitanya

Re: [RFC] Detect other software using embedding area

2010-08-31 Thread Colin Watson
On Tue, Aug 31, 2010 at 02:54:58PM +0200, Thomas Schmitt wrote: > Colin Watson wrote: > > but grub-devel is not a filesystem development list and there's > > only so much we can fix). > > Maybe one should use external boot media of > which GRUB can claim complete ownership. Most people want the

Re: [RFC] Detect other software using embedding area

2010-08-31 Thread Thomas Schmitt
Hi, Colin Watson wrote: > [...] "embedding area" [...] > (setup): When embedding the core image in a post-MBR gap, [...] Aka "hidden blocks" ? > several people followed up to say that GRUB shouldn't be > using the embedding area because it was never defined to be used for > anything in particu

[RFC] Detect other software using embedding area

2010-08-31 Thread Colin Watson
Every so often people report that booting Windows renders GRUB unbootable. This is usually because some Windows application writes to a sector in the "embedding area" (or boot track), so that application and GRUB end up fighting with each other on alternate boots. I've begun to gather information