mirror of
https://github.com/vale981/website
synced 2025-03-04 17:11:40 -05:00
removing legacy boot blog post
This commit is contained in:
parent
34983f9397
commit
6f74ce8a89
2 changed files with 51 additions and 0 deletions
25
content.org
25
content.org
|
@ -2920,6 +2920,31 @@ Ein wenig python verwandelte das Ganze in das neue Blog format.
|
|||
|
||||
Und damit koennt ihr nun unter [[/categories/neuseeland][Neuseeland]] die alten posts lesen.
|
||||
[fn:5] =ctime=, creation time
|
||||
|
||||
|
||||
*** DONE Removing legacy boot from a Linux live stick.
|
||||
CLOSED: [2021-11-19 Fri 13:48]
|
||||
:PROPERTIES:
|
||||
:EXPORT_FILE_NAME: removing-legacy-boot-from-a-linux-live-stick-dot
|
||||
:END:
|
||||
I got my ThinkPad used for a bargain price but with locked
|
||||
bios/uefi-setup. Annyingly, it defaults to legacy boot and there is no
|
||||
way to change that.
|
||||
|
||||
My previous workaround was rather involved and is documented in the
|
||||
[[https://wiki.archlinux.org/title/Lenovo_ThinkPad_T470#UEFI_boot][Arch wiki]]. Today however I bricked my system at work and had to
|
||||
restore it in a hurry.
|
||||
|
||||
It turns out that you can nuke the =MBR= of the live stick to remove
|
||||
the legacy boot.
|
||||
|
||||
**Make sure you know what the device path of the USB stick is. You
|
||||
don't want to nuke some innocent hard drive :)!**
|
||||
|
||||
Over at [[https://askubuntu.com/questions/1100086/removing-extra-option-from-boot-manager-in-legacy-mode-after-deleting-ubuntu][stack exchange]] someone had a similar problem and one proposed
|
||||
solution was to overwrite the first ~446~ Byte of the =MBR= with
|
||||
zeros. Find the device path of the live stick with ~lsblk~ and then
|
||||
~dd if=/dev/zero of=/dev/sdx bs=446 count=1~ as root and you're set.
|
||||
* Local Vars
|
||||
# Local Variables:
|
||||
# eval: (org-hugo-auto-export-mode)
|
||||
|
|
|
@ -0,0 +1,26 @@
|
|||
+++
|
||||
title = "Removing legacy boot from a Linux live stick."
|
||||
author = ["Valentin Boettcher"]
|
||||
date = 2021-11-19T13:48:00+01:00
|
||||
categories = ["Uncategorized"]
|
||||
draft = false
|
||||
+++
|
||||
|
||||
I got my ThinkPad used for a bargain price but with locked
|
||||
bios/uefi-setup. Annyingly, it defaults to legacy boot and there is no
|
||||
way to change that.
|
||||
|
||||
My previous workaround was rather involved and is documented in the
|
||||
[Arch wiki](https://wiki.archlinux.org/title/Lenovo%5FThinkPad%5FT470#UEFI%5Fboot). Today however I bricked my system at work and had to
|
||||
restore it in a hurry.
|
||||
|
||||
It turns out that you can nuke the `MBR` of the live stick to remove
|
||||
the legacy boot.
|
||||
|
||||
****Make sure you know what the device path of the USB stick is. You
|
||||
don't want to nuke some innocent hard drive :)!****
|
||||
|
||||
Over at [stack exchange](https://askubuntu.com/questions/1100086/removing-extra-option-from-boot-manager-in-legacy-mode-after-deleting-ubuntu) someone had a similar problem and one proposed
|
||||
solution was to overwrite the first `446` Byte of the `MBR` with
|
||||
zeros. Find the device path of the live stick with `lsblk` and then
|
||||
`dd if=/dev/zero of=/dev/sdx bs=446 count=1` as root and you're set.
|
Loading…
Add table
Reference in a new issue