Jump to content











Photo
- - - - -

grub4dos -- "set" command is unknown

wenv multiboot kernel

  • Please log in to reply
5 replies to this topic

#1 bobjunga

bobjunga

    Newbie

  • Members
  • 11 posts
  •  
    United States

Posted 05 November 2013 - 09:14 PM

My grub4dos USB stick does not recognize the "set" command. i.e. "set foo="hi"" results in "error 27: Unrecognized  command" error.

 

Maybe I just need to get a later version. The download page shows 0.4.4 deing the latest but that is from 2009. I could not get the latest from git to configure on my ubuntu precise machine.

 

I have a 0.4.4 grub.exe I got from a MultiBootUSB 4.7 disk. My usb stick uses grub2 in its MBR. I use "linux /grub.exe --config-file=mymenu.lst" to pass controll to grub4dos. When I run a menuitem that uses "set" I get the error.

 

I have reasearched and believe that the "set" command comes from wenv from grubutils. My grub4dos does not have "insmod" but it has "module". When I try "module /wenv" it complains "error 20: Multiboot kernel must be loaded before modlues". I can not find any information on the multiboot kernel.

 

I have also tried compliling the latest from git but after hitting the 3rd .configure error, I gave up.

 

Can someone give me some advice on the most straght forward route to gettting a recent version of grub4dos that I can laod from grub2 that has all the modern features enbaled?

 

Thanks,

 

--BobG

 

 



#2 steve6375

steve6375

    Platinum Member

  • Developer
  • 6996 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films,guitars, www.easy2boot.com
  •  
    United Kingdom

Posted 05 November 2013 - 09:40 PM

Use RMPrepUSB to install grub4dos - it has a very recent version.

chenall is maintaining the latest versions - https://code.google..../downloads/list



#3 bobjunga

bobjunga

    Newbie

  • Members
  • 11 posts
  •  
    United States

Posted 05 November 2013 - 11:42 PM

I don't have a windows machine at the moment.  I use linux.

 

I think that rmprepusb is only an exe runs in windows and creates a bootable usb stick. Is that true?  Is there a way to extract the latest grub4dos from the rmprepusb download in linux?

 

Update: I see that the link you provided was not to rmprepusb downloads but to grub4dos downloads. Thanks. I am trying it now.

 

--BobG


Edited by bobjunga, 06 November 2013 - 12:07 AM.


#4 bobjunga

bobjunga

    Newbie

  • Members
  • 11 posts
  •  
    United States

Posted 05 November 2013 - 11:52 PM

Also, I would like to understand how it works.

 

Is 0.4.4 an old version or not? Why where there many binary downloads up to 0.4.4 but none after that (since 2009).

 

Are all of these things because 0.4.4 is old? Or am I not seting it up right?

 

Is it true that wenv is the module that provides the "set" command?

 

Whats the "multiboot kernel" refered to in the error messge?

 

--BobG



#5 tinybit

tinybit

    Gold Member

  • Developer
  • 1130 posts
  •  
    China

Posted 06 November 2013 - 01:07 AM

The current "chief" maintainer is chenall, and the project's main site is at http://code.google.c...ub4dos-chenall/

 

Once grub4dos releases a formal version, all project sites of grub4dos will update in the mean time.

 

According to chenall, WENV is obsolete.

 

"set" is a builtin command of version 0.4.5c and later.

 

Under Linux, you can install grub4dos' boot record to your hard drives or USB storage devices by using bootlace.com, which is inside the release package. See details in the readme file.



#6 Wonko the Sane

Wonko the Sane

    The Finder

  • Advanced user
  • 14819 posts
  • Location:The Outside of the Asylum (gate is closed)
  •  
    Italy

Posted 06 November 2013 - 10:22 AM

Also, I would like to understand how it works.

 

Is 0.4.4 an old version or not? Why where there many binary downloads up to 0.4.4 but none after that (since 2009).

 

Are all of these things because 0.4.4 is old? Or am I not seting it up right?

 

Is it true that wenv is the module that provides the "set" command?

 

Whats the "multiboot kernel" refered to in the error messge?

 

--BobG

On half this board it is written (mainly by me) where to find the latest versions of grub4dos and which version to use.

It is in the stickies:

http://reboot.pro/topic/14-grub4dos/

it is in every other thread, the other half mention, one way or the oher, the RMPREPUSB tool or a related tutorial, where the same info can be found and a very recent, often more recent than what it would be advisable, version of grub4dos is included in the tool/installed by it.

Normally you want to go here:

http://code.google.c.../downloads/list

and unless expressly told to get another version or for experiments, get the latest file marked as "featured", currently:

http://code.google.c...-03.7z&can=2&q=

 

:cheers:

Wonko






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users