1---
 2title: Fix bootloader not being written in Plan9
 3url: fix-plan9-bootloader.html
 4date: 2023-05-11T12:00:00+02:00
 5type: note
 6draft: false
 7tags: [plan9]
 8---
 9
10If the bootloader is not being written to a disk when installing 9front on real
11harware try clearing first sector of the disk with the following command.
12
13```sh
14dd if=/dev/zero of=/dev/sdX bs=512 count=1
15
16# If command above doesn't work try this one, wait couple of seconds and
17# press delete key to stop the command.
18cat </dev/zero >/dev/sd*/data
19```
20