Re: Parted/GRUB joint-venture

2006-04-24 Thread adrian15

Hello,

  I am the representative of GNU Parted and am also interested in the
development of GRUB2 (I've been lurking on this list for some months).
  James from the GNU SoC team wrote me:
<

I do not know if okuji has talked to you directly.
Have you seen this?

http://www.gnu.org/software/grub/grub-soc.html
Parted integration
Integrate GNU Parted's library (libparted) with GRUB so that we can make 
use of the full power of the Parted's functionality at boot time.


Parted supports creation, deletion, resizing of partitions and 
filesystems. These features are extremely useful when you get troubled 
or have a complicated boot environment. Because libparted uses some 
external libraries, you will have to think how to make things run on the 
GRUB's environment, where you cannot use POSIX or Unix system calls.


This should be implemented as an optional dynamic module by using the 
module loading feature in GRUB 2.


adrian15


___
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel


SOC - SGD based on grub2 - Menu and scripting status

2006-04-24 Thread adrian15

I've reading the G'SOC document:

http://www.gnu.org/software/grub/grub-soc.html

and I've been tented to add a new proposal for grub2.

As you all should have guessed it would a Super Grub Disk ( 
http://adrian15.raulete.net/grub/ ) but not based on grub legacy but grub2.


	If I want the project to be feasible I need that the grub2 api relative 
to menues and scriptings is fixed. That means that the name of the 
commands and its behavior don't change since I begin the project to the 
end of it.


So here are some questions that have arised...

1) Marco Gerards: Do you think that commands/functions/variables related 
to menues files are going to change a lot?
But I don't mean RIGHT NOW. I mean in the beginnings of SOC... which I 
don't know... let's see... 23th May. (in one month time).


	If these commands are available where should I get a list of them and 
their behaviour?


2) Do you like the Super Grub2 CD name... or should it be Grub2 CD or 
Grub CD and that's all? Grub Rescue CD perhaps?


3) What features would you like to see apart from the ones that are 
already implemented in Super Grub Disk ( 
http://adrian15.raulete.net/grub/tiki-index.php?page=En )?


4) What is the best way for dealing with languages and translations when 
developing?


5) I need to define "something" (In my grub legacy fork is a menu.lst) 
that lets me choose the harddisk-partition which I want to work on. Can 
I make it easily?


Can Grub2 api write me in an array or a similar the partitions that can 
read in a given hard disk? So that if there are 3 partitions they are 
saved into an array of size 3?


adrian15


___
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel


Re: SOC - SGD based on grub2 - Menu and scripting status

2006-04-24 Thread Marco Gerards
adrian15 <[EMAIL PROTECTED]> writes:

Hi,

> As you all should have guessed it would a Super Grub Disk (
> http://adrian15.raulete.net/grub/ ) but not based on grub legacy but
> grub2.

Oh, nice/

>   If I want the project to be feasible I need that the grub2 api
> relative to menues and scriptings is fixed. That means that the name
> of the commands and its behavior don't change since I begin the
> project to the end of it.

I can not make such promise.  But I am open to feature suggestions as
far as I did not make any promises or so yet.

>   So here are some questions that have arised...
>
> 1) Marco Gerards: Do you think that commands/functions/variables
> related to menues files are going to change a lot?
> But I don't mean RIGHT NOW. I mean in the beginnings of SOC... which I
> don't know... let's see... 23th May. (in one month time).

The will keep changing, I think.

>   If these commands are available where should I get a list of
> them and their behaviour?

Not yet.  We still hope someone will write good user documentation.

> 2) Do you like the Super Grub2 CD name... or should it be Grub2 CD or
> Grub CD and that's all? Grub Rescue CD perhaps?

I personally do not have a strong opinion about this. :-)

> 4) What is the best way for dealing with languages and translations
> when developing?

We are thinking about i18n support.  This is something about this on
the wiki, I think.

> 5) I need to define "something" (In my grub legacy fork is a menu.lst)
> that lets me choose the harddisk-partition which I want to work
> on. Can I make it easily?

You mean as a variable?  That's possible.

> Can Grub2 api write me in an array or a similar the partitions that
> can read in a given hard disk? So that if there are 3 partitions they
> are saved into an array of size 3?

No, at least not yet.  Scripting is in continuous development ATM.

--
Marco



___
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel


Re: Parted/GRUB joint-venture

2006-04-24 Thread Yoshinori K. Okuji
On Monday 24 April 2006 10:03, adrian15 wrote:
> I do not know if okuji has talked to you directly.

Sorry. I talked with him privately, because I was not sure if it would be good 
to discuss it in public.

Okuji


___
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel


Re: SOC - SGD based on grub2 - Menu and scripting status

2006-04-24 Thread Yoshinori K. Okuji
On Monday 24 April 2006 18:49, Marco Gerards wrote:
> > 4) What is the best way for dealing with languages and translations
> > when developing?
>
> We are thinking about i18n support.  This is something about this on
> the wiki, I think.

I don't think this part is described well in the wiki. So I describe my idea 
here:

- GRUB needs to have a locale variable to determine a language.

- GRUB needs to have gettext or something similar to translate messages.

- GRUB needs to be able to generate .po files compatible with gettext.

- GRUB needs to support message translations by scripting as well as by C 
code.

These are not implemented at all yet, but not difficult. I expect that this 
would take 2 weeks, if one works in full time.

Okuji


___
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel


Re: SOC - SGD based on grub2 - Menu and scripting status

2006-04-24 Thread Marco Gerards
"Yoshinori K. Okuji" <[EMAIL PROTECTED]> writes:

> On Monday 24 April 2006 18:49, Marco Gerards wrote:
>> > 4) What is the best way for dealing with languages and translations
>> > when developing?
>>
>> We are thinking about i18n support.  This is something about this on
>> the wiki, I think.
>
> I don't think this part is described well in the wiki. So I describe my idea 
> here:
>
> - GRUB needs to have a locale variable to determine a language.
>
> - GRUB needs to have gettext or something similar to translate messages.
>
> - GRUB needs to be able to generate .po files compatible with gettext.

Will this mean Adrian can use it for menu entries as well?  I think
that is what he wants to do.

--
Marco



___
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel


Re: SOC - SGD based on grub2 - Menu and scripting status

2006-04-24 Thread Yoshinori K. Okuji
On Monday 24 April 2006 20:36, Marco Gerards wrote:
> Will this mean Adrian can use it for menu entries as well?  I think
> that is what he wants to do.

In my idea, yes. I can say anything before implementing. ;)

Okuji


___
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel