https://github.com/speed2exe/linux_install_scripts
https://github.com/speed2exe/linux_install_scripts
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/speed2exe/linux_install_scripts
- Owner: speed2exe
- Created: 2022-01-31T03:04:12.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-06-26T15:13:27.000Z (almost 2 years ago)
- Last Synced: 2025-05-14T10:16:12.599Z (about 1 year ago)
- Language: Shell
- Size: 26.3 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# linux install scripts
- follow steps below
## On EFI boot
- make sure you have internet connection
- check: `ip -c a`
- for wireless connection: `iwctl`
## Partition
- check: `lsblk`
- require 2 Partition
- EFI System: 350M
- Linux filesystem: rest of disk space
- action: `cfdisk /dev/the_disk_to_be_partitioned`
## Run main.sh
- supply 2 arg
- 1: EFI System Partition
- 2: Linux Filesystem Partition
- e.g. `./main.sh /dev/sda1 /dev/sda2`
## Common problems
- Black screen after boot
- at the grub menu, press `e`
- find the line with starting word `linux`
- add `nomodeset` to the end that line
- after installation, add `nomodeset` to `GRUB_CMDLINE_LINUX_DEFAULT` and rebuild grub
- nvidia graphics card display issue
- do `sudo pacman -Syu nvidia` after installation
- USB ports not working during grub selection
- go to BIOS, disable `Fast Boot`
## Windows OS to appear in GRUB menu
- install `ntfs-3g`
- mount windows partition
- eg `sudo mount /dev/nvme0n1p3 /win`
- rerun `grub-mkconfig`
- `sudo grub-mkconfig -o /boot/grub/grub.cfg`