From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1HwK13-00080f-3I for mharc-grub-devel@gnu.org; Thu, 07 Jun 2007 11:35:13 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HwK10-0007z0-St for grub-devel@gnu.org; Thu, 07 Jun 2007 11:35:10 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HwK0y-0007we-6w for grub-devel@gnu.org; Thu, 07 Jun 2007 11:35:10 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HwK0x-0007wK-St for grub-devel@gnu.org; Thu, 07 Jun 2007 11:35:07 -0400 Received: from 245.red-80-24-127.staticip.rima-tde.net ([80.24.127.245] helo=manazas.ensanjose.net) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1HwK0w-0003eK-SY for grub-devel@gnu.org; Thu, 07 Jun 2007 11:35:07 -0400 Received: from localhost (manazas.ensanjose.net [127.0.0.1]) by manazas.ensanjose.net (Postfix) with ESMTP id 103F3D444E for ; Thu, 7 Jun 2007 17:35:05 +0200 (CEST) Received: from manazas.ensanjose.net ([127.0.0.1]) by localhost (manazas.ensanjose.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 30239-04 for ; Thu, 7 Jun 2007 17:35:04 +0200 (CEST) Received: from [192.168.1.8] (162.Red-88-6-150.staticIP.rima-tde.net [88.6.150.162]) by manazas.ensanjose.net (Postfix) with ESMTP id AC158D444D for ; Thu, 7 Jun 2007 17:35:04 +0200 (CEST) Message-ID: <466825A6.5060104@raulete.net> Date: Thu, 07 Jun 2007 17:35:02 +0200 From: adrian15 User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: en-us, en MIME-Version: 1.0 To: grub-devel@gnu.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-detected-kernel: Linux 2.4-2.6 Subject: grub2 miscelanea questions #2 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Jun 2007 15:35:11 -0000 1) search command file not found: ===================================== If you search for an inexistant file like: search -f /boot/grub/und-video it complains: error: no such device Shouldn't it be: error: no such file /boot/grub/und-video I mean it has to talk about files not devices and it has also to prompt the file you have searched for... or maybe not, I do not know. I ask marco_g if I am going to be able to use this command inside an if statement. if `search -f /boot/grub/grub2.cfg` then 2) chainload a device ======================== It seems that if I run: chainloader (hd0)+1 boot It boots my hard disk installed bootloader. However chainloader help only prompts: chainloader [-f] FILE I think the help should be: chainloader [-f] FILE|DEVICE 3) DEVICE vs DEVICENAME ======================== If you check the loopback command help you will see that you can use a DEVICENAME as an argument. Should we choose DEVICE or DEVICENAME when talking about a DEVICE ? 4) About linux command ======================== I do not like the linux command too much. What happens with bsd and other kernels that are not multiboot? why don't we have something as: kernel --type linux whatever kernel --type bsd whateverelse ? Or maybe is better to have a bsd command or bsd will become at last a multiboot os? 5) windows command ======================= Can we add a windows command that does: chainloader (hd0,0)+1 boot A question for marco_g... which it is the best way so that a command can call other commands? Using grub_cmd_name where name is the name of the command or can I write a grub.cfg file on the fly and then send it to some cfg interpreter function? 6) boot command boots also boot loaders ===================================== If we can use chainloader for preparing to boot another boot loader... then boot help should read: Boot an operating system or another boot loader. instead of: Boot an operating system. adrian15