bug-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #28642] GRUB2 1.97.1 - Strange behavior after using configfile comm


From: Alexey Loukianov
Subject: [bug #28642] GRUB2 1.97.1 - Strange behavior after using configfile command
Date: Mon, 18 Jan 2010 01:56:12 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; ru-RU; rv:1.9.1.7) Gecko/20091221 Firefox/3.5.7

Follow-up Comment #4, bug #28642 (project grub):

Figured it out!
Main point is that it looks like that:
a) "export" statement should be specified before the "set" statement for that
variable;
b) "export" statement should be supplied no matter is the variable set or not
in current configfile context.

So the following set of commands works normally:

sh:grub> export prefix
sh:grub> export root
sh:grub> set prefix=(hd0,5)/boot/grub
sh:grub> configfile (hd0,5)/boot/grub/grub.cfg
sh:grub> export prefix
sh:grub> export root
sh:grub> set prefix=(hd0,5)/boot/grub
sh:grub> configfile (hd0,5)/boot/grub/grub.cfg
sh:grub> export prefix
sh:grub> export root
sh:grub> set prefix=(hd0,5)/boot/grub
sh:grub> set root=(hd0,1)
sh:grub> chainloader +1
sh:grub> ls /
txtsetup.sif autorun.inf ...
sh:grub> boot 


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?28642>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]