Downloads:

1,278

Downloads of v 1.0.5.8:

434

Last Update:

8/31/2018

Package Maintainer(s):

Software Author(s):

  • Dave Pickens

Tags:

grub2win grub boot notsilent admin

Grub2Win (Install)

1.0.5.8 | Updated: 8/31/2018

Downloads:

1,278

Downloads of v 1.0.5.8:

434

Maintainer(s):

Software Author(s):

  • Dave Pickens

Grub2Win (Install) 1.0.5.8

Some Checks Have Failed or Are Not Yet Complete

1 Test Passing and 1 Failing Test


Validation Testing Passed


Verification Testing Failed

Details

To install Grub2Win (Install), run the following command from the command line or from PowerShell:

>

To upgrade Grub2Win (Install), run the following command from the command line or from PowerShell:

>

To uninstall Grub2Win (Install), run the following command from the command line or from PowerShell:

>

NOTE: This applies to both open source and commercial editions of Chocolatey.

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

  • Open Source or Commercial:
    • Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to https://chocolatey.org/api/v2. Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
    • You can also just download the package and push it to a repository Download

3. Enter your internal repository url

(this should look similar to https://chocolatey.org/api/v2)

4. Choose your deployment method:


choco upgrade grub2win -y --source="'STEP 3 URL'" [other options]

See options you can pass to upgrade.

See best practices for scripting.

Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.

If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:


choco upgrade grub2win -y --source="'STEP 3 URL'" 
$exitCode = $LASTEXITCODE

Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
  Exit 0
}

Exit $exitCode

- name: Ensure grub2win installed
  win_chocolatey:
    name: grub2win
    state: present
    version: 1.0.5.8
    source: STEP 3 URL

See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.

Coming early 2020! Central Managment Reporting available now! More information...


chocolatey_package 'grub2win' do
  action    :install
  version  '1.0.5.8'
  source   'STEP 3 URL'
end

See docs at https://docs.chef.io/resource_chocolatey_package.html.


Chocolatey::Ensure-Package
(
    Name: grub2win,
    Version: 1.0.5.8,
    Source: STEP 3 URL
);

Requires Otter Chocolatey Extension. See docs at https://inedo.com/den/otter/chocolatey.


cChocoPackageInstaller grub2win
{
   Name     = 'grub2win'
   Ensure   = 'Present'
   Version  = '1.0.5.8'
   Source   = 'STEP 3 URL'
}

Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.


package { 'grub2win':
  provider => 'chocolatey',
  ensure   => '1.0.5.8',
  source   => 'STEP 3 URL',
}

Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.


salt '*' chocolatey.install grub2win version="1.0.5.8" source="STEP 3 URL"

See docs at https://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.chocolatey.html.

5. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

Private CDN cached downloads available for licensed customers. Never experience 404 breakages again! Learn more...

This package was approved by moderator gep13 on 8/31/2018.

Description

Screenshot of Grub2Win

* All Executables are SSL Signed for your protection *

Grub2Win supports 64 and 32 bit EFI and BIOS on Windows 10, 8, 7 and XP.

Safely dual boot Windows and Linux from GPT or MBR disks.

Grub2Win boots native GNU Grub version 2 code. Everything is contained in a single 18 MB directory on your Windows C: drive. On EFI systems 4 small modules are installed to your EFI partition.

Using the simple Windows GUI and instructions you can install Grub2Win quickly and safely.

Select from many OS choices. Samples for Remix, Android, Ubuntu, Debian, Suse, Fedora, Mint and Windows are included. ISO files can also be booted.

You can enter your own custom commands for each menu entry.

Grub2Win began in 2010. It is now used in 180 countries worldwide and has been downloaded more than 350,000 times.

If you find Grub2Win useful, please consider making a small donation to be used for hardware and testing

Features

  • Supports 64 and 32 bit EFI as well as BIOS firmware.
  • Installs to Windows 10, 8, 7 and XP.
  • Requires just one directory on the Windows C: drive, about 18 MB disk space.
  • Works with all languages. Boot time help is available in 31 languages.
  • Simple Windows GUI easily sets up Grub2Win in seconds
  • Lets you set your EFI firmware boot order from within Windows
  • Preview and customize the 9 included graphic background themes.
  • Works with all filesystems including Mac hfs and Btrfs.
  • Can search for and boot a partition by it's label. Supports advanced scripting
  • Works with both MBR and GPT disks - up to 128 primary partitions per drive
  • Supports extremely large (over 40 TB) disks and partitions
  • No registry changes
  • Safely multiboot Windows, Remix, Android, Ubuntu, Debian, Suse, Fedora, Mint and more
  • Grub customization is done from Windows - Configuration in Linux is not required
  • Runs open source GNU Grub 2.02 code. Frequent releases and enhancements
  • Digitally signed code. No adware or spyware - No hassles... It just works.

PACKAGE NOTES


Click here to Patreon-ize the package maintainer.



tools\ChocolateyInstall.ps1
$ErrorActionPreference = 'Stop'
$packageName    = 'grub2win' 
$toolsDir       = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$url            = 'https://downloads.sourceforge.net/project/grub2win/grub2win.zip'
$checksum       = 'E76BD8DC8FFB716149210E41A74B8977921353D480CCEE2D36F615A7C1BECC5A'
$fileLocation   = "$toolsDir\g2install.exe"
$ahkExe         = 'AutoHotKey'

if (Test-Path $env:SystemDrive\grub2){
     $ahkFile = "$toolsDir\G2Wupgrade.ahk"
	} else {
      $ahkFile = "$toolsDir\G2Winstall.ahk"
	 }

$packageArgs = @{
  packageName   = $packageName
  unzipLocation = $toolsDir
  fileType      = 'ZIP' 
  url           = $url
  checksum      = $checksum
  checksumType  = 'sha256'
}

Install-ChocolateyZipPackage @packageArgs "/$bootType"

Start-Process $ahkExe $ahkFile

$packageArgs = @{
  packageName   = $packageName
  fileType      = 'EXE'
  file          = $fileLocation
  silentArgs    = 'setup'
  validExitCodes= @(0)
  softwareName  = 'grub2win*'
}
 
Install-ChocolateyInstallPackage @packageArgs

Sleep 10
Remove-Item $filelocation | out-null
tools\G2Winstall.ahk
#NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.
SendMode Input  ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir%  ; Ensures a consistent starting directory.

WinWaitActive, Setup Grub2Win, , 1500
WinActivate
Send {Tab}
Send {Tab}
Send {Tab}
Send {Tab}
Send {Space}
Send {Shift}+{Tab}
Send {Shift}+{Tab}
Send {Shift}+{Tab}
Send {Shift}+{Tab}
Send {Space}
;ToolTip Please wait 10 seconds for window to close.
;WinWaitActive, Setup Grub2Win, The Grub2Win setup completed successfully! , 1000
;Sleep 30000
;WinWaitActive, EFI Update Log, , 1500
Sleep 30000
;Send {Tab}
Send {Space}
;Send {Enter} 
tools\G2Wupgrade.ahk
#NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.
SendMode Input  ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir%  ; Ensures a consistent starting directory.

WinWaitActive, Upgrade Grub2Win, , 10000
WinActivate
Send {Tab}
Send {Tab}
Send {Tab}
Send {Tab}
Send {Tab}
Send {Tab}
Send {Space}
Send {Tab}
Send {Space}
Sleep 40000
 If WinExist("EFI Update Log")
   {
    WinActivate
    Send {Tab}
	Send {Space}
   }
;WinWaitActive, Upgrade Grub2Win, Close The Setup Program , 6000
WinActivate
Send {Space}

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Version Downloads Last Updated Status
Grub2Win (Install) 1.0.5.3 131 Saturday, June 9, 2018 Approved
Grub2Win (Install) 1.0.0.9 306 Friday, November 24, 2017 Approved
Grub2Win (Install) 0.9.7.3 277 Wednesday, August 23, 2017 Approved
Discussion for the Grub2Win (Install) Package

Ground Rules:

  • This discussion is only about Grub2Win (Install) and the Grub2Win (Install) package. If you have feedback for Chocolatey, please contact the Google Group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or Grub2Win (Install), or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.
comments powered by Disqus