Skip to content

Commit

Permalink
Remove double lines
Browse files Browse the repository at this point in the history
  • Loading branch information
stuffo authored Dec 9, 2016
1 parent ee3abb1 commit a0b573e
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,13 @@ Arch Package for running standard Arch Kernels on Scaleway C1 instances
=======================================================================

## Preface
-------
Scaleway C1 instances have the root filesystem on NBD. Scaleway came up with
a custom kernel that has network and nbd drivers builtin and uses a custom
initrd to mount the root filesystem before handing over control to the normal
init system. So basically you are stuck with the Scaleway supplied kernels if
you don't want to bake a Scaleway-like initrd. As Arch supplies up-to-date
kernels for ARMv7 you can employ this systemd service to automatically patch
the original Scaleway initrd on bootup and kexec into Arch default kernels.
the original Scaleway initrd on bootup and boot into default Arch kernel.

All this happens by the magic of kexec which Scaleway supports in recent
initrds (aka bootscripts).
Expand All @@ -18,12 +17,10 @@ This project was greatly inspired by:
`https://github.com/gh2o/digitalocean-debian-to-arch/blob/debian7/install.sh`

## Requirments
-----------
* A Scaleway C1 instance with Arch Linux
* Kernel (bootscript) with KEXEC support (4.5.7-std-4 only for now, see Bugs below)

## Installation
------------
1. make sure your Arch system is up-to-date (`pacman -Syu`)
2. Install an ARMv7 Arch kernel (eg. `pacman -S linux-armv7`)
2. clone this (`git clone https://github.com/stuffo/scaleway-arch-kernel-kexec.git`)
Expand All @@ -37,7 +34,6 @@ image. You can see some debug output after bootup using:
`journalctl -u archkernel-load.service`

## How it works
------------
1. While booting check if Arch kernel is loaded and matches the initrd.
2. fetch U-Boot bootscript from Scaleway TFTP server
3. fetch Scaleway uInitrd mentioned in bootscript
Expand All @@ -51,7 +47,6 @@ image. You can see some debug output after bootup using:
10. Voila! The system is ready now.

## Bugs
----
There seems to be a kernel bug in kernels > 4.5 and the kernel will crash
on reboots while trying to disconnect nbd devices. You need to do a hard reset
via the Scaleway GUI when this happens as the system will hang afterwards. This
Expand Down

0 comments on commit a0b573e

Please # to comment.