mirror of
https://github.com/vale981/website
synced 2025-03-04 17:11:40 -05:00
refile under hacks
This commit is contained in:
parent
6f74ce8a89
commit
47211b6c41
2 changed files with 24 additions and 24 deletions
46
content.org
46
content.org
|
@ -2865,6 +2865,29 @@ over on [[https://github.com/vale981/KSP-30-Hack/][GitHub]].
|
|||
|
||||
Maybe this was of interest you. If not, then thanks for reading this
|
||||
far anyways :P.
|
||||
*** 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.
|
||||
** Uncategorized :@Uncategorized:
|
||||
*** Neuseeland Restauration
|
||||
CLOSED: [2021-08-03 Tue 14:53]
|
||||
|
@ -2922,29 +2945,6 @@ Und damit koennt ihr nun unter [[/categories/neuseeland][Neuseeland]] die alten
|
|||
[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)
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
title = "Removing legacy boot from a Linux live stick."
|
||||
author = ["Valentin Boettcher"]
|
||||
date = 2021-11-19T13:48:00+01:00
|
||||
categories = ["Uncategorized"]
|
||||
categories = ["Hacks"]
|
||||
draft = false
|
||||
+++
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue