From a0b573e11a551205f7e728a92a34b2e834acf558 Mon Sep 17 00:00:00 2001 From: stuffo Date: Fri, 9 Dec 2016 21:27:58 +0200 Subject: [PATCH] Remove double lines --- README.md | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/README.md b/README.md index 88be0b1..5f60543 100644 --- a/README.md +++ b/README.md @@ -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). @@ -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`) @@ -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 @@ -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