On Thu, Jan 03, 2008 at 01:11:56AM -0000, 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 

You can do this with GRUB, the syntax I don't recall exactly but it is
bash-like.

> 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.

GRUB 2 only.

-- 
Robert Millan

<GPLv2> I know my rights; I want my phone call!
<DRM> What use is a phone call, if you are unable to speak?
(as seen on /.)


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

Reply via email to