From a904644c32fb78c460fe6943fe27c56cc2e07fc6 Mon Sep 17 00:00:00 2001 From: Joaquin Date: Sat, 15 Apr 2023 17:02:15 +0300 Subject: [PATCH] [docs] Fix typos and clean up docs --- README.md | 13 +++++++------ pi.is | 2 +- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 688b3e2..acf05e4 100644 --- a/README.md +++ b/README.md @@ -30,19 +30,20 @@ For anyone in need of offline installers, may be people with wifi driver problem # Making a koffe disk If you're using another distrbution create a chroot system (using the bootstrap image on the arch page), configure the repos, then simply install koffe from the aur either manually or with an aur helper. If you're on windows see if you can find arch in WSL or switch to a better OS. -## New: you can now also use koffe through docker for easy peasy use on Windows and macOS, just run the following Commands: -`git clone https://github.com/konickss/koffe` +# DOCKER INSTALLATION (for windows, macOS, non-arch linux, BSD) +`docker pull archlinux` +`git clone https://github.com/konickss/koffe` `cd koffe` - `sudo docker build -t koffe .` - (if prompted to import or update pgp keys, that means your docker archlinux img is heavily out of date, run `docker pull archlinux` to fix it. -`sudo docker run -v $PWD:/finalimage --privileged --rm koffe --pacs=base,linux` +## Then to run it: + +`docker run -v $PWD:/finalimage --privileged --rm koffe --pacs=base,linux` Note: On Windows, replace $PWD with an absolute path on your host, something like `c:\\Foo\\bar\\` -## Converting a standard Arch USB to koffe without any other OS (internet required): +# Converting a standard Arch USB to koffe without any other OS (internet required): In the grub boot menu, press tab on the menu entry you want to boot and add `copytoram` at the end of the kernel parameters, boot from that. Next, clone the koffe repo from the aur and install it (`git clone https://aur.archlinux.org/koffe ; chown -hR nobody koffe ; cd koffe ; sudo -u nobody makepkg -si`). Generate your iso using koffe (documentation @ koffe --help), then lsblk and identify your arch USB, wipe the file system `wipefs --all /dev/sdX` (make sure you're wiping the entire drive, not just a partition) then burn the koffe iso (`cat /root/*.iso > /dev/sdX`) once again, make sure you're doing it to the whole drive, not just a partition. diff --git a/pi.is b/pi.is index 14937fb..3fe6d87 100644 --- a/pi.is +++ b/pi.is @@ -33,7 +33,7 @@ echo "$myhostname" > /etc/hostname archit=$(whiptail --backtitle "Koffe" --title "Architecture selector" --menu "Choose the bit count of your x86 chip" 0 0 4 \ 64 "BIT" \ 32 "BIT" 3>&1 1>&2 2>&3 3>&-) - efiornot=$(whiptail --backtitle "Koffe" --title "Boot selector" --menu "Is your soon-to-be-arch computer legacy or EUFI?" 0 0 4 \ + efiornot=$(whiptail --backtitle "Koffe" --title "Boot selector" --menu "Is your soon-to-be-arch computer legacy or UEFI?" 0 0 4 \ 1 "Bios/Legacy" \ 2 "UEFI" 3>&1 1>&2 2>&3 3>&-) if [[ "$efiornot" == "2" ]]