From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1JAT05-00074J-JR for mharc-grub-devel@gnu.org; Thu, 03 Jan 2008 11:32:57 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JAT04-00072A-BN for grub-devel@gnu.org; Thu, 03 Jan 2008 11:32:56 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JAT03-0006zu-6R for grub-devel@gnu.org; Thu, 03 Jan 2008 11:32:55 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JAT02-0006zh-Ge for grub-devel@gnu.org; Thu, 03 Jan 2008 11:32:54 -0500 Received: from fed1rmmtao102.cox.net ([68.230.241.44]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JAT02-0001wH-4L for grub-devel@gnu.org; Thu, 03 Jan 2008 11:32:54 -0500 Received: from fed1rmimpo03.cox.net ([70.169.32.75]) by fed1rmmtao102.cox.net (InterMail vM.7.08.02.01 201-2186-121-102-20070209) with ESMTP id <20080103163251.BLJX24689.fed1rmmtao102.cox.net@fed1rmimpo03.cox.net> for ; Thu, 3 Jan 2008 11:32:51 -0500 Received: from Powertec1 ([72.197.44.198]) by fed1rmimpo03.cox.net with bizsmtp id YgYM1Y00K4GYhuG0000000; Thu, 03 Jan 2008 11:32:21 -0500 Message-ID: <021501c84e26$49116660$6401a8c0@Powertec1> From: "Antonio Dupont \(Moose Factory\)" To: "The development of GRUB 2" References: <200801030111.m031Bui8023593@mail.moosefactory.com> <18d205ed0801021900i6093f28k2acd8ca60c879e91@mail.gmail.com> Date: Thu, 3 Jan 2008 08:32:52 -0800 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.3138 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 X-detected-kernel: by monty-python.gnu.org: Solaris 10 (beta) Subject: Re: Conditional Statement in Grub 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, 03 Jan 2008 16:32:56 -0000 Thanks for the reply Gregg. I think 0.97 is the path I will explore further. One last question. Do you know where the legacy archives are. I couldn't find them. Regards, Antonio ----- Original Message ----- From: "Gregg Levine" To: "The development of GRUB 2" Sent: Wednesday, January 02, 2008 7:00 PM Subject: Re: Conditional Statement in Grub 2 > On Jan 2, 2008 8:11 PM, Antonio Dupont wrote: >> >> >> Hello, >> >> I apologize if this is the wrong list, but this is the list I have found >> through my searches. Please tell me where to go if this is not the >> proper place. >> >> I would like to have grub do a conditional statement similar to this: >> >> if file_name on /dev/cdrom matches file_name on /dev/sda1 (USB device) >> then >> boot Linux else boot Windows >> >> I've search through the Grub site and see there is some support for >> scripting, >> but I don't know how developed it is and if it can do what I'm asking. At >> the >> boot loader stage can it even see the cdrom or USB? >> >> I also saw in the older Grub archives .... >> >> "For scripting support, there are a lot of uses. For example booting a >> specific OS depending on the time. Some people requested that. If >> you look in the pupa-devel archives, you can find the examples Okuji >> gave." >> >> But, I can't find the pupa-devel archives, they seem to be off-line. >> >> I'm using CentOS 5.0 and if I can do it with Grub 0.97 that comes with >> the >> distro that would be great. I can also upgrade if needed. >> >> Any comments or direction would be much appreciated. >> >> Thanks and regards, >> >> Antonio >> >> >> >> >> _______________________________________________ >> Grub-devel mailing list >> Grub-devel@gnu.org >> http://lists.gnu.org/mailman/listinfo/grub-devel >> > Hello! > This is for the GRUB2 development efforts. Ideally you'd want the one > for Grub-Legacy. Oh and if your release of GRUB-0.97 was patched by > the Centos builders in some way we'll be able to advise you of course, > but your advised to bring the matter to them. > -- > Gregg C Levine gregg.drwho8@gmail.com > "This signature was once found posting rude > messages in English in the Moscow subway." > > > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel