[docs] Fix typos and clean up docs

main
Joaquin 3 years ago
parent 8b0a131054
commit a904644c32
Signed by: puly
GPG Key ID: 9E9299CD96C65EC6
  1. 13
      README.md
  2. 2
      pi.is

@ -30,19 +30,20 @@ For anyone in need of offline installers, may be people with wifi driver problem
# Making a koffe disk # 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. 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: # DOCKER INSTALLATION (for windows, macOS, non-arch linux, BSD)
`git clone https://github.com/konickss/koffe`
`docker pull archlinux`
`git clone https://github.com/konickss/koffe`
`cd koffe` `cd koffe`
`sudo docker build -t 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. (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\\` 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. 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. 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.

@ -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 \ archit=$(whiptail --backtitle "Koffe" --title "Architecture selector" --menu "Choose the bit count of your x86 chip" 0 0 4 \
64 "BIT" \ 64 "BIT" \
32 "BIT" 3>&1 1>&2 2>&3 3>&-) 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" \ 1 "Bios/Legacy" \
2 "UEFI" 3>&1 1>&2 2>&3 3>&-) 2 "UEFI" 3>&1 1>&2 2>&3 3>&-)
if [[ "$efiornot" == "2" ]] if [[ "$efiornot" == "2" ]]

Loading…
Cancel
Save