aboutsummaryrefslogtreecommitdiff
path: root/content/notes/2023-05-11-fix-plan9-bootloader.md
blob: 69c4408c7c07705060705189b687ff26cafef98c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
---
title: Fix bootloader not being written in Plan9
url: /fix-plan9-bootloader.html
date: 2023-05-11T12:00:00+02:00
type: note
draft: false
---

If the bootloader is not being written to a disk when installing 9front on real
harware try clearing first sector of the disk with the following command.

```sh
dd if=/dev/zero of=/dev/sdX bs=512 count=1

# If command above doesn't work try this one, wait couple of seconds and
# press delete key to stop the command.
cat </dev/zero >/dev/sd*/data
```