Giter VIP home page Giter VIP logo

archinstallscript's Introduction

Hello. This is a note-taking file for MineRocker's arch installer.

$ How to know if CPU is AMD or Intel? Why would you even want to do that?

To install the microcode updates automatically, you need to know if the cpu is Intel or AMD. Here's how you do it. cat /proc/cpuinfo | grep -m 1 vendor_id | awk '{print $3}' This gives you either GenuineIntel or AuthenticAMD based on what CPU you have. Use this in an if and then install the microcode update accordingly.

$ How to know if system is BIOS or UEFI? Why would you even want to do that?

When installing grub, there's different "target"s for type of system. UEFI has x86_64-efi. BIOS has i386-pc. Here's how you do it. // This command is on the Installation Guide for Arch Wiki. -d "/sys/firmware/efi/efivars" This tells you whether the efivars directory exists on the system. If it's UEFI, the folder will exist. If it's BIOS, folder will not exist. Use this in an if and then change GRUB target accordingly.

$ How to uncomment the locale in locale.gen?

Since this is a personal script, I will be using en_US. You can change the code to your locale by checking it in /etc/locale.gen.

sed -i '/en_US.UTF-8 UTF-8/s/^#//g' locale.gen This will uncomment the line.

archinstallscript's People

Watchers

MineRock avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.