Added Netdata to selfhosting. Warning notice on formatting commands
This commit is contained in:
@ -1,23 +1,29 @@
|
|||||||
---
|
---
|
||||||
# Documentation: https://wowchemy.com/docs/managing-content/
|
|
||||||
|
|
||||||
title: "GRUB Trampoline"
|
title: "GRUB Trampoline"
|
||||||
subtitle: "Install GRUB on a spare drive"
|
subtitle: "Install GRUB on a spare drive"
|
||||||
summary: "Using a spare drive to act as a trampoline during the boot process."
|
summary: "Using a spare drive to act as a trampoline during the boot process."
|
||||||
date: 2021-05-03T15:28:14+02:00
|
date: 2021-05-03T15:28:14+02:00
|
||||||
lastmod: 2021-05-03T15:28:14+02:00
|
lastmod: 2021-05-17T15:28:14+02:00
|
||||||
highlight: true
|
|
||||||
---
|
---
|
||||||
# Background
|
# Background
|
||||||
|
|
||||||
Due to a BIOS bug in my HP MicroServer I have applied this workaround. The MicroServer Gen8 has a bug that prevents the use of the 5th SATA port as the primary boot device. It will automatically attempt to boot from SATA port 1 if a drive is inserted, then port 2 and so forth. By removing all the fixed drives it is possible to make the system boot from port 5.
|
Due to a BIOS bug in my HP MicroServer I have been forced to applied a workaround.
|
||||||
|
|
||||||
It is however possible to boot from the internal USB port or the internal MicroSD slot. So to solve this issue we are going to install GRUB onto a spare MicroSD card or a USB stick. The size or quality of the drive should not matter since we only need it for GRUB to jump to the drive present on the 5th SATA port.
|
The MicroServer Gen8 has a bug that prevents the use of the 5th SATA port as the primary boot device. It will automatically attempt to boot from SATA port 1 if a drive is inserted, then port 2 and so forth. By removing all the fixed drives it is possible to make the system boot from port 5.
|
||||||
|
|
||||||
|
It is however possible to boot from the internal USB port or the internal MicroSD slot by default. So to solve this issue we are going to install GRUB onto a spare MicroSD card or a USB stick. The size or quality of the drive should not matter since it is only needed for GRUB to jump to the drive present on the 5th SATA port.
|
||||||
|
|
||||||
# Steps
|
# Steps
|
||||||
## Format the USB/SD Card
|
## Format the USB/SD Card
|
||||||
|
First we need to correctly format the new disk as a bootable FAT drive.
|
||||||
|
|
||||||
|
{{% callout warning %}}
|
||||||
|
Be very cautious when formatting storage drives. Executing a command on the wrong drive could have disastrous consequences.
|
||||||
|
{{% /callout %}}
|
||||||
|
|
||||||
Find the correct device identifier.
|
Find the correct device identifier.
|
||||||
|
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
lsblk
|
lsblk
|
||||||
```
|
```
|
||||||
@ -53,7 +59,7 @@ Create a mount point
|
|||||||
mkdir /tmp/mysub
|
mkdir /tmp/mysub
|
||||||
```
|
```
|
||||||
|
|
||||||
Mount the new parition
|
Mount the new partition
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
sudo mount /dev/sdX1 /tmp/myusb
|
sudo mount /dev/sdX1 /tmp/myusb
|
||||||
|
15
content/selfhosted/stats.md
Normal file
15
content/selfhosted/stats.md
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
---
|
||||||
|
widget: hero
|
||||||
|
headless: true
|
||||||
|
cta:
|
||||||
|
url: 'https://stats.jcktrue.dk'
|
||||||
|
label: Statistics
|
||||||
|
icon_pack: fas
|
||||||
|
icon: chart-line
|
||||||
|
cta_alt:
|
||||||
|
url: 'https://www.netdata.cloud/'
|
||||||
|
label: Netdata
|
||||||
|
cta_note:
|
||||||
|
label: 'Troubleshoot slowdowns and anomalies in your infrastructure with thousands of per-second metrics, meaningful visualizations, and insightful health alarms with zero configuration.'
|
||||||
|
---
|
||||||
|
System statistics for monitoring performance so issues can be resolved before they become problems.
|
2
go.mod
2
go.mod
@ -3,6 +3,6 @@ module code.jcktrue.dk/jct/jcktrue.dk
|
|||||||
go 1.15
|
go 1.15
|
||||||
|
|
||||||
require (
|
require (
|
||||||
github.com/wowchemy/wowchemy-hugo-modules/wowchemy v0.0.0-20210425191248-0afcc81296de // indirect
|
github.com/wowchemy/wowchemy-hugo-modules/wowchemy v0.0.0-20210516101231-84e462a5a149 // indirect
|
||||||
github.com/wowchemy/wowchemy-hugo-modules/wowchemy-cms v0.0.0-20210425191248-0afcc81296de // indirect
|
github.com/wowchemy/wowchemy-hugo-modules/wowchemy-cms v0.0.0-20210425191248-0afcc81296de // indirect
|
||||||
)
|
)
|
||||||
|
2
go.sum
2
go.sum
@ -34,5 +34,7 @@ github.com/wowchemy/wowchemy-hugo-modules/wowchemy v0.0.0-20210422192724-bfa3808
|
|||||||
github.com/wowchemy/wowchemy-hugo-modules/wowchemy v0.0.0-20210422192724-bfa3808cb6ec/go.mod h1:H22qfH9qj3FWwsk7+bAZpmT24yRGNQURah2/IRwjbn8=
|
github.com/wowchemy/wowchemy-hugo-modules/wowchemy v0.0.0-20210422192724-bfa3808cb6ec/go.mod h1:H22qfH9qj3FWwsk7+bAZpmT24yRGNQURah2/IRwjbn8=
|
||||||
github.com/wowchemy/wowchemy-hugo-modules/wowchemy v0.0.0-20210425191248-0afcc81296de h1:mHQIJmHZXFEqPmH4cUCFfNVUds1hBPUtTHVMMYeopn0=
|
github.com/wowchemy/wowchemy-hugo-modules/wowchemy v0.0.0-20210425191248-0afcc81296de h1:mHQIJmHZXFEqPmH4cUCFfNVUds1hBPUtTHVMMYeopn0=
|
||||||
github.com/wowchemy/wowchemy-hugo-modules/wowchemy v0.0.0-20210425191248-0afcc81296de/go.mod h1:H22qfH9qj3FWwsk7+bAZpmT24yRGNQURah2/IRwjbn8=
|
github.com/wowchemy/wowchemy-hugo-modules/wowchemy v0.0.0-20210425191248-0afcc81296de/go.mod h1:H22qfH9qj3FWwsk7+bAZpmT24yRGNQURah2/IRwjbn8=
|
||||||
|
github.com/wowchemy/wowchemy-hugo-modules/wowchemy v0.0.0-20210516101231-84e462a5a149 h1:yyRK2E6tQ4LZ0PMpzBv3GhKZ/tEF8OBBhsXCSN0AIhQ=
|
||||||
|
github.com/wowchemy/wowchemy-hugo-modules/wowchemy v0.0.0-20210516101231-84e462a5a149/go.mod h1:H22qfH9qj3FWwsk7+bAZpmT24yRGNQURah2/IRwjbn8=
|
||||||
github.com/wowchemy/wowchemy-hugo-modules/wowchemy-cms v0.0.0-20210425191248-0afcc81296de h1:J7MkieFVezVdQHtAvCOvAAaUv83oVMRqWzt7qkkUlPw=
|
github.com/wowchemy/wowchemy-hugo-modules/wowchemy-cms v0.0.0-20210425191248-0afcc81296de h1:J7MkieFVezVdQHtAvCOvAAaUv83oVMRqWzt7qkkUlPw=
|
||||||
github.com/wowchemy/wowchemy-hugo-modules/wowchemy-cms v0.0.0-20210425191248-0afcc81296de/go.mod h1:AKpYbqUVlj0VYsc7Jsxe1o8Ko2yV31A5ZPdfpACcXJw=
|
github.com/wowchemy/wowchemy-hugo-modules/wowchemy-cms v0.0.0-20210425191248-0afcc81296de/go.mod h1:AKpYbqUVlj0VYsc7Jsxe1o8Ko2yV31A5ZPdfpACcXJw=
|
||||||
|
Reference in New Issue
Block a user