Skip to content

Instantly share code, notes, and snippets.

@rsrchboy
Last active August 29, 2015 14:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rsrchboy/4392cb193452ab7bf9ac to your computer and use it in GitHub Desktop.
Save rsrchboy/4392cb193452ab7bf9ac to your computer and use it in GitHub Desktop.
grub-imageboot for thinkpad bios upgrades
tychon# apt-get install grub-imageboot
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
grub-imageboot
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/4,424 B of archives.
After this operation, 43.0 kB of additional disk space will be used.
[master 57ec2a2] saving uncommitted changes in /etc prior to apt run
Author: root@tychon.local <root@tychon.local>
4 files changed, 27 insertions(+), 2 deletions(-)
create mode 100644 polkit-1/localauthority.conf.d/50-com.ubuntu.enable-hibernate.pkla
Selecting previously unselected package grub-imageboot.
(Reading database ... 400061 files and directories currently installed.)
Preparing to unpack .../grub-imageboot_0.6_all.deb ...
Unpacking grub-imageboot (0.6) ...
Setting up grub-imageboot (0.6) ...
Copy syslinux memdisk to /boot/memdisk
[master 32ecc3d] committing changes in /etc after apt run
3 files changed, 84 insertions(+)
create mode 100644 default/grub-imageboot
create mode 100755 grub.d/60_grub-imageboot
tychon# cat /etc/default/grub-imageboot
# Where to find the iso/floppy images
IMAGES="/boot/images"
# You can override the boot options for iso/floppy images here
# see http://syslinux.zytor.com/wiki/index.php/MEMDISK for details
#IMAGEOPTS="rawimg"
#ISOOPTS="iso"
tychon# mkdir /boot/images
tychon# cp ~rsrchboy/Downloads/gluj11us.iso /boot/images
#!/bin/sh
#
# Basic tl;dr command summary
apt-get -y install grub-imageboot
mkdir /boot/images
cp <firmware>.iso /boot/images
update-grub2
# profit!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment