* config file
@ 2005-01-23 14:28 Yoshinori K. Okuji
2005-01-23 15:06 ` Serbinenko Vladimir
` (3 more replies)
0 siblings, 4 replies; 24+ messages in thread
From: Yoshinori K. Okuji @ 2005-01-23 14:28 UTC (permalink / raw)
To: grub-devel
I'd like to raise an issue about the config file.
In GRUB Legacy, the structure of menu.lst is ugly, because it has a
strange state when interpretting it. The semantics is that commands are
executed until the first "title" is encounterred. Afterwards, commands
are only "remembered" as boot entries. I think it would be more
straightforward if commands are always executed.
I'd like to redesign it in GRUB 2. One example is to write a boot entry
like this:
entry "GNU/Hurd" {
root=(hd0,0)
multiboot /boot/gnumach
module /boot/serverboot
...
}
This idea is to make a boot entry a kind of shell function.
What do you think?
Okuji
^ permalink raw reply [flat|nested] 24+ messages in thread* Re: config file
2005-01-23 14:28 config file Yoshinori K. Okuji
@ 2005-01-23 15:06 ` Serbinenko Vladimir
2005-01-23 15:26 ` Vincent Pelletier
2005-01-23 15:13 ` Marco Gerards
` (2 subsequent siblings)
3 siblings, 1 reply; 24+ messages in thread
From: Serbinenko Vladimir @ 2005-01-23 15:06 UTC (permalink / raw)
To: The development of GRUB 2
Yoshinori K. Okuji wrote:
>entry "GNU/Hurd" {
> root=(hd0,0)
> multiboot /boot/gnumach
> module /boot/serverboot
> ...
>}
>
>This idea is to make a boot entry a kind of shell function.
>
>What do you think?
>
>
>
>
I would like to integrate this with function handling in my scripting
engine and use the syntax like
register_menu_entry <name> { list; }
unregister_menu_entry <name>
and
clear_menu_entries
Let me please realise it as now I'm writing scripting and there is
nearly no difference between functions and menu entries
^ permalink raw reply [flat|nested] 24+ messages in thread* Re: config file
2005-01-23 15:06 ` Serbinenko Vladimir
@ 2005-01-23 15:26 ` Vincent Pelletier
0 siblings, 0 replies; 24+ messages in thread
From: Vincent Pelletier @ 2005-01-23 15:26 UTC (permalink / raw)
To: The development of GRUB 2
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Serbinenko Vladimir wrote:
| Let me please realise it as now I'm writing scripting and there is
| nearly no difference between functions and menu entries
Maybe menu entries could be "exported functions", like entry points in
modules, which could call "private" entries which would automate some
tasks and could be shared among entries.
Vincent Pelletier
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFB88IjFEQoKRQyjtURAiHMAJ0f4og5Zh7in8ejxOcPGac4m5CFCACgiLxS
ue7QpSYIuva0hS5Q/HBlaEA=
=gxBq
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: config file
2005-01-23 14:28 config file Yoshinori K. Okuji
2005-01-23 15:06 ` Serbinenko Vladimir
@ 2005-01-23 15:13 ` Marco Gerards
2005-01-23 16:09 ` Yoshinori K. Okuji
2005-01-23 16:44 ` config file chaac
2005-02-04 8:23 ` Nico -telmich- Schottelius
3 siblings, 1 reply; 24+ messages in thread
From: Marco Gerards @ 2005-01-23 15:13 UTC (permalink / raw)
To: The development of GRUB 2
"Yoshinori K. Okuji" <okuji@enbug.org> writes:
> In GRUB Legacy, the structure of menu.lst is ugly, because it has a
> strange state when interpretting it. The semantics is that commands are
> executed until the first "title" is encounterred. Afterwards, commands
> are only "remembered" as boot entries. I think it would be more
> straightforward if commands are always executed.
>
> I'd like to redesign it in GRUB 2. One example is to write a boot entry
> like this:
>
> entry "GNU/Hurd" {
> root=(hd0,0)
> multiboot /boot/gnumach
> module /boot/serverboot
> ...
> }
>
> This idea is to make a boot entry a kind of shell function.
It looks nice to me. How you you want to add the commands that should
be run before the menu is shown? Just the same as it is for GRUB
Legacy?
Thanks,
Marco
^ permalink raw reply [flat|nested] 24+ messages in thread* Re: config file
2005-01-23 14:28 config file Yoshinori K. Okuji
2005-01-23 15:06 ` Serbinenko Vladimir
2005-01-23 15:13 ` Marco Gerards
@ 2005-01-23 16:44 ` chaac
2005-01-23 16:55 ` Vincent Pelletier
2005-01-23 17:08 ` Marco Gerards
2005-02-04 8:23 ` Nico -telmich- Schottelius
3 siblings, 2 replies; 24+ messages in thread
From: chaac @ 2005-01-23 16:44 UTC (permalink / raw)
To: The development of GRUB 2
Yoshinori K. Okuji wrote:
> I'd like to redesign it in GRUB 2. One example is to write a boot entry
> like this:
>
> entry "GNU/Hurd" {
> root=(hd0,0)
> multiboot /boot/gnumach
> module /boot/serverboot
> ...
> }
>
> This idea is to make a boot entry a kind of shell function.
>
> What do you think?
I think it is good. Here is my idea how configuration files could be
used to define menus:
splashimage (hd0,0)/boot/mainmenu.png
entry "Entry in main menu" {
...
}
entry "Load another config and execute it" {
loadconfig (hd0,0)/boot/custom-config
}
menu "Linux kernels" {
splashimage (hd0,0)/boot/linuxmenu.png
entry "2.4 series" {
...
}
entry "2.6 series" {
...
}
menu "Network boot kernels" {
...
}
}
menu "Other devices" {
splashimage (hd0,0)/boot/devicemenu.png
entry "Boot from Floppy" {
...
}
entry "Boot from CD/DVD" {
...
}
menuback "Back to mainmenu"
}
When someone enters to menu item it will execute commands specified
there. Like loading a new splashimage or constructing new menu.
btw. is anyone working with that VESA support? :)... Last time there
were couple of people that stated that they would work on it so as I had
limited time then I didn't start.
I might be interested working on other GFX topics too.
Thanks,
Vesa Jääskeläinen
^ permalink raw reply [flat|nested] 24+ messages in thread* Re: config file
2005-01-23 16:44 ` config file chaac
@ 2005-01-23 16:55 ` Vincent Pelletier
2005-01-23 17:23 ` Marco Gerards
2005-01-23 18:12 ` Yoshinori K. Okuji
2005-01-23 17:08 ` Marco Gerards
1 sibling, 2 replies; 24+ messages in thread
From: Vincent Pelletier @ 2005-01-23 16:55 UTC (permalink / raw)
To: The development of GRUB 2
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
chaac wrote:
| menuback "Back to mainmenu"
Maybe that could be handled automaticaly (on each menu, add an entry to
go to the previous menu level) as we have a "nested" arg in menu
functions to know wether we are on root level or not.
Vincent Pelletier
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFB89b6FEQoKRQyjtURAjIwAKC3n5k1/xXFn7XWLifgn8z3KrrsGQCfcI6j
7Rpeu5zFeIwYL9nhZEfdkOs=
=8nKO
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: config file
2005-01-23 16:44 ` config file chaac
2005-01-23 16:55 ` Vincent Pelletier
@ 2005-01-23 17:08 ` Marco Gerards
2005-01-27 18:57 ` chaac
1 sibling, 1 reply; 24+ messages in thread
From: Marco Gerards @ 2005-01-23 17:08 UTC (permalink / raw)
To: The development of GRUB 2
chaac <chaac@nic.fi> writes:
> btw. is anyone working with that VESA support? :)... Last time there
> were couple of people that stated that they would work on it so as I
> had limited time then I didn't start.
I planned working on it, but feel free to work on it. Please tell me
if you do so.
> I might be interested working on other GFX topics too.
What do you have in mind?
Thanks,
Marco
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: config file
2005-01-23 17:08 ` Marco Gerards
@ 2005-01-27 18:57 ` chaac
2005-01-28 16:29 ` Marco Gerards
0 siblings, 1 reply; 24+ messages in thread
From: chaac @ 2005-01-27 18:57 UTC (permalink / raw)
To: The development of GRUB 2
Marco Gerards wrote:
> chaac <chaac@nic.fi> writes:
>
>>btw. is anyone working with that VESA support? :)... Last time there
>>were couple of people that stated that they would work on it so as I
>>had limited time then I didn't start.
>
> I planned working on it, but feel free to work on it. Please tell me
> if you do so.
>
>>I might be interested working on other GFX topics too.
>
> What do you have in mind?
I haven't checked recently a code base, but better Unicode font support
would be a nice idea. Maybe to add some kind of eye candy when
processing or waiting something. If you look at SuSE's modified version
of GRUB-legacy there are some animations on it and some menus to select
language and help. In help there are some sub help pages with selectable
links.
Thanks,
Vesa Jääskeläinen
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: config file
2005-01-27 18:57 ` chaac
@ 2005-01-28 16:29 ` Marco Gerards
0 siblings, 0 replies; 24+ messages in thread
From: Marco Gerards @ 2005-01-28 16:29 UTC (permalink / raw)
To: The development of GRUB 2
chaac <chaac@nic.fi> writes:
>>>I might be interested working on other GFX topics too.
>> What do you have in mind?
>
> I haven't checked recently a code base, but better Unicode font
> support would be a nice idea. Maybe to add some kind of eye candy when
> processing or waiting something. If you look at SuSE's modified
> version of GRUB-legacy there are some animations on it and some menus
> to select language and help. In help there are some sub help pages
> with selectable links.
Such things will be neat, of course. There is font support in GRUB 2,
I think it is unicode capable already, you could have a look at it.
Thanks,
Marco
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: config file
2005-01-23 14:28 config file Yoshinori K. Okuji
` (2 preceding siblings ...)
2005-01-23 16:44 ` config file chaac
@ 2005-02-04 8:23 ` Nico -telmich- Schottelius
2005-02-04 8:52 ` Yoshinori K. Okuji
3 siblings, 1 reply; 24+ messages in thread
From: Nico -telmich- Schottelius @ 2005-02-04 8:23 UTC (permalink / raw)
To: The development of GRUB 2
[-- Attachment #1: Type: text/plain, Size: 838 bytes --]
Yoshinori K. Okuji [Sun, Jan 23, 2005 at 03:28:59PM +0100]:
> [...]
> I'd like to redesign it in GRUB 2. One example is to write a boot entry
> like this:
>
> entry "GNU/Hurd" {
> root=(hd0,0)
> multiboot /boot/gnumach
> module /boot/serverboot
> ...
> }
Why re-invent the wheel?
I would propose the ini-samba-style:
----------------------------------------------------------------------
[global]
timeout = 10
hd0 = /dev/hda
[Linux 2.6]
root =
kernel = (hd0)/usr/src/linux/vmlinuz
kernel_args = root=/dev/hda12
password = my-sha1-hash
----------------------------------------------------------------------
Nico
--
Keep it simple & stupid, use what's available.
Please use pgp encryption: 8D0E 27A4 is my id.
http://nico.schotteli.us | http://linux.schottelius.org
[-- Attachment #2: Type: application/pgp-signature, Size: 827 bytes --]
^ permalink raw reply [flat|nested] 24+ messages in thread
* config file
@ 2005-04-20 16:00 Sriharsha Vardhan
0 siblings, 0 replies; 24+ messages in thread
From: Sriharsha Vardhan @ 2005-04-20 16:00 UTC (permalink / raw)
To: linuxppc-embedded
Hi
I checked your thread about 2.6.11-5 on 8xx @
http://ozlabs.org/pipermail/linuxppc-embedded/2005-March/017468.html.
I am working on 860 and I tried both 2.6.11-5 and 2.6.11-7. I get
struck up exactly at same error as you mentiond . i.e
Linux/PPC load: rw root=3D/dev/ram0
Uncompressing Linux...done.
Now booting the kernel
.....nothing after this..
I just want to cross check my config file. Can you please send me your
config file.
Have a nice day.
harsha
^ permalink raw reply [flat|nested] 24+ messages in thread
* Config file
@ 2007-10-01 11:33 Aurelien Jarno
0 siblings, 0 replies; 24+ messages in thread
From: Aurelien Jarno @ 2007-10-01 11:33 UTC (permalink / raw)
To: linux-mips
[-- Attachment #1: Type: text/plain, Size: 316 bytes --]
Please find attached the configuration file I used to test dyntick on
QEMU/Malta.
--
.''`. Aurelien Jarno | GPG: 1024D/F1BCDB73
: :' : Debian developer | Electrical Engineer
`. `' aurel32@debian.org | aurelien@aurel32.net
`- people.debian.org/~aurel32 | www.aurel32.net
[-- Attachment #2: config-mipsel-malta-r4k.gz --]
[-- Type: application/octet-stream, Size: 7310 bytes --]
^ permalink raw reply [flat|nested] 24+ messages in thread
* config file
@ 2016-07-26 5:55 nousi
2016-07-26 6:17 ` Mircea Gliga
2016-07-26 6:18 ` Nicolas Dechesne
0 siblings, 2 replies; 24+ messages in thread
From: nousi @ 2016-07-26 5:55 UTC (permalink / raw)
To: yocto
[-- Attachment #1: Type: text/plain, Size: 304 bytes --]
Hi,
I have downloaded the poky repo and it is clean.
I do not find any .config file in poky directory.
Please, point me to the location under poky tree to copy the .config file
from the external source so that bitbake can use .config file configuration.
--
*Thanks & Regards,B.Nousilal,*
[-- Attachment #2: Type: text/html, Size: 577 bytes --]
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: config file
2016-07-26 5:55 config file nousi
@ 2016-07-26 6:17 ` Mircea Gliga
2016-07-26 6:18 ` Nicolas Dechesne
1 sibling, 0 replies; 24+ messages in thread
From: Mircea Gliga @ 2016-07-26 6:17 UTC (permalink / raw)
To: yocto
[-- Attachment #1: Type: text/plain, Size: 808 bytes --]
Hi
This part of the documentation is of interest:
http://www.yoctoproject.org/docs/2.0.2/dev-manual/dev-manual.html#configuring-the-kernel
The idea is that the .config file is located in your Build Directory, in
the area where the specific kernel is built. Could be something like this:
poky/build/tmp/work/qemux86-poky-linux/linux-yocto-3.14.11+git1+84f...
...656ed30-r1/linux-qemux86-standard-build
BR
On 07/26/2016 08:55 AM, nousi wrote:
> Hi,
>
> I have downloaded the poky repo and it is clean.
> I do not find any .config file in poky directory.
> Please, point me to the location under poky tree to copy the .config
> file from the external source so that bitbake can use .config file
> configuration.
>
> --
> /Thanks & Regards,
> B.Nousilal,
> /
>
>
[-- Attachment #2: Type: text/html, Size: 1974 bytes --]
^ permalink raw reply [flat|nested] 24+ messages in thread* Re: config file
2016-07-26 5:55 config file nousi
2016-07-26 6:17 ` Mircea Gliga
@ 2016-07-26 6:18 ` Nicolas Dechesne
1 sibling, 0 replies; 24+ messages in thread
From: Nicolas Dechesne @ 2016-07-26 6:18 UTC (permalink / raw)
To: nousi; +Cc: Yocto list discussion
On Tue, Jul 26, 2016 at 9:55 AM, nousi <bnousilal@gmail.com> wrote:
> I have downloaded the poky repo and it is clean.
> I do not find any .config file in poky directory.
> Please, point me to the location under poky tree to copy the .config file
> from the external source so that bitbake can use .config file configuration.
there is no such .config file used/needed/required by bitbake. the
main configuration file which is loaded automatically by bitbake is
conf/bitbake.conf and it's in the 'meta' folder.
^ permalink raw reply [flat|nested] 24+ messages in thread
end of thread, other threads:[~2016-07-26 6:18 UTC | newest]
Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-23 14:28 config file Yoshinori K. Okuji
2005-01-23 15:06 ` Serbinenko Vladimir
2005-01-23 15:26 ` Vincent Pelletier
2005-01-23 15:13 ` Marco Gerards
2005-01-23 16:09 ` Yoshinori K. Okuji
2005-01-23 16:28 ` Vincent Pelletier
2005-01-23 17:02 ` Serbinenko Vladimir
2005-01-29 10:44 ` menu variable Serbinenko Vladimir
2005-01-29 13:37 ` Yoshinori K. Okuji
2005-01-29 14:34 ` Yoshinori K. Okuji
2005-01-23 16:44 ` config file chaac
2005-01-23 16:55 ` Vincent Pelletier
2005-01-23 17:23 ` Marco Gerards
2005-01-23 18:12 ` Yoshinori K. Okuji
2005-01-23 17:08 ` Marco Gerards
2005-01-27 18:57 ` chaac
2005-01-28 16:29 ` Marco Gerards
2005-02-04 8:23 ` Nico -telmich- Schottelius
2005-02-04 8:52 ` Yoshinori K. Okuji
-- strict thread matches above, loose matches on Subject: below --
2005-04-20 16:00 Sriharsha Vardhan
2007-10-01 11:33 Config file Aurelien Jarno
2016-07-26 5:55 config file nousi
2016-07-26 6:17 ` Mircea Gliga
2016-07-26 6:18 ` Nicolas Dechesne
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.