Skip to main content

All Questions

Tagged with
2 votes
1 answer
4k views

How to script in Windows Subsystem for Linux (WSL) and call it from a batch file?

Over on https://askubuntu.com/a/1108609/912537 I suggested a method to edit grub from windows. I have grub installed on /boot/efi/EFI/grub and have been trying to create a script which changes the &...
Jon T's user avatar
  • 31
0 votes
1 answer
708 views

How can I add lua support to grub2, or at least file copy functionality?

I am trying to add lua support to grub2 and having a devil of a time finding info on how to do that. The links provided in the answer to (String manipulation in Grub2) no longer have any lua ...
motech man's user avatar
3 votes
0 answers
3k views

Is it possible to copy files with grub2 scripting?

I am trying to work out a few details for a dual boot, public use (i.e. public library context) that runs Windows 7 and Linux. I am using Windows 7 and Linux Mint. Windows 7 runs on a VHD file (...
motech man's user avatar
3 votes
1 answer
2k views

Grub2 Function parameters

Grub2 allows for powerful scripting capabilities. if, while, function, etc all mean the language is pretty powerful (Turing complete?). However, I cannot figure out how to pass parameters in grub2. ...
deft_code's user avatar
  • 239
2 votes
2 answers
3k views

String manipulation in Grub2

One of the new features of Grub2 is scriptability. At my work we're using it to great affect. However, I recent stumbled on a terrible short coming. There isn't any string manipulation or ...
deft_code's user avatar
  • 239