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

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
```