Note

The Funtoo Linux project has transitioned to "Hobby Mode" and this wiki is now read-only.

Difference between revisions of "UEFI update"

From Funtoo
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 3: Line 3:


== Format USB drive ==
== Format USB drive ==
Create partition and format it to FAT-32. Check dmesg to find out the USB flash drive device node (/dev/sdb in this guide).
Create partition and format it to FAT-32. Check dmesg to find out the USB flash drive device node (<code>/dev/sdb</code> in this guide).
<console>
<console>
# cfdisk /dev/sdb
###i## cfdisk /dev/sdb
# mkfs.vfat -F 32 /dev/sdb1
###i## mkfs.vfat -F 32 /dev/sdb1
</console>
</console>


== Install grub4dos to USB drive ==
== Install grub4dos to USB drive ==
<console>
<console>
$ wget http://download.gna.org/grub4dos/grub4dos-0.4.4.zip
$##bl## wget http://download.gna.org/grub4dos/grub4dos-0.4.4.zip
$ unzip grub4dos-0.4.4.zip
$##bl## unzip grub4dos-0.4.4.zip
$ cd grub4dos-0.4.4
$##bl## cd grub4dos-0.4.4
# ./bootlace.com /dev/sdb
###i## ./bootlace.com /dev/sdb
# mount /dev/sdb1 /mnt/usb
###i## mount /dev/sdb1 /mnt/usb
# cp grldr menu.lst /mnt/usb/
###i## cp grldr menu.lst /mnt/usb/
</console>
</console>


== Copy bootable UEFI update CD image to USB drive ==
== Copy bootable UEFI update CD image to USB drive ==
<console>
<console>
# cp ~/Downloads/1yuj18us.iso /mnt/usb/
###i## cp ~/Downloads/1yuj18us.iso /mnt/usb/
</console>
</console>


== Configure grub4dos ==
== Configure grub4dos ==
<console>
Add thinkpad-bios entry to grub4dos.
# nano /mnt/usb/menu.lst
{{file|name=/mnt/usb/menu.lst|desc=Menu entry|body=
<pre>
title thinkpad-bios
title thinkpad-bios
map (hd0,0)/1yuj18us.iso (hd32)
map (hd0,0)/1yuj18us.iso (hd32)
Line 33: Line 32:
chainloader (hd32)
chainloader (hd32)
boot
boot
</pre>
}}
</console>


== Unmount and reboot ==
== Unmount and reboot ==
Now you are ready to reboot and update your UEFI.
<console>
<console>
# umount /mnt/usb
###i## umount /mnt/usb
# reboot
###i## reboot
</console>
</console>


[[Category:HOWTO]]
[[Category:HOWTO]]

Latest revision as of 19:39, September 27, 2014

Introduction

This guide shows how to update the latest UEFI for your motherboard. You will need bootable UEFI update CD image and USB flash drive.

Format USB drive

Create partition and format it to FAT-32. Check dmesg to find out the USB flash drive device node (/dev/sdb in this guide).

root # cfdisk /dev/sdb
root # mkfs.vfat -F 32 /dev/sdb1

Install grub4dos to USB drive

user $ wget http://download.gna.org/grub4dos/grub4dos-0.4.4.zip
user $ unzip grub4dos-0.4.4.zip
user $ cd grub4dos-0.4.4
root # ./bootlace.com /dev/sdb
root # mount /dev/sdb1 /mnt/usb
root # cp grldr menu.lst /mnt/usb/

Copy bootable UEFI update CD image to USB drive

root # cp ~/Downloads/1yuj18us.iso /mnt/usb/

Configure grub4dos

Add thinkpad-bios entry to grub4dos.

   /mnt/usb/menu.lst - Menu entry
title thinkpad-bios
map (hd0,0)/1yuj18us.iso (hd32)
map --hook
chainloader (hd32)
boot

Unmount and reboot

Now you are ready to reboot and update your UEFI.

root # umount /mnt/usb
root # reboot