-
-
Notifications
You must be signed in to change notification settings - Fork 6
Advanced
Samuel edited this page Aug 7, 2024
·
3 revisions
archlinux-installer -OPTIONS or --OPTIONS=<arguments> ...
Options | Arguments | Description |
---|---|---|
-h or --help
|
N/A | Usage and Infomation of this Installation Tool. |
-d or --dev
|
N/A | Use latest dev version of this Installation Tool. |
-k or --kernel
|
<kernel_name> |
Create Arch Linux using default kernel option or specify a kernel option with the <kernel_name> argument. Currently available kernel options is rkbsp only. |
-i or --image
|
<image_name> |
Create a disk image with default image name at out folder or specify an image name with the <image_name> argument. |
-m or --mtimg
|
N/A | Skip partitioning and use an image instead. (When this argument is used, --image=<image_name> will become the image to be used). Notes: This is a workaround that allows you to put an empty partitioned image in --image and skip the formatting and partitioning process. |
-b or --bootpart
|
N/A | Create Arch Linux with a seperated boot partition. |
-c or --compress
|
N/A | Compress the Disk Image to .img.xz |
--size |
<image_size> |
Set disk image size (default is 4G). |
--disk |
<disk_path> |
Create Arch Linux on the specified disk path (or the image mount point when used with -i or --image which is /dev/loop1 by default). |
--bootpartstart |
<size> |
Set Boot/Config Partition Start Sector (default is 16MiB). |
--bootpartend |
<size> |
Set Boot/Config Partition End Sector (default is 500MiB for Config or 32MiB for Boot). |
Prompt for picking installation options (Same as Get the installer section).
bash <(curl -fsSL https://raw.githubusercontent.com/kwankiu/archlinux-installer-rock5/main/archlinux-installer)
OR
Install on a disk (replace /dev/nvme0n1 with yours) with default Kernel option.
bash <(curl -fsSL https://raw.githubusercontent.com/kwankiu/archlinux-installer-rock5/main/archlinux-installer) --disk=/dev/nvme0n1 -k
Create an Arch Linux Installer image (.img) with default Kernel option.
bash <(curl -fsSL https://raw.githubusercontent.com/kwankiu/archlinux-installer-rock5/main/archlinux-installer) -i -k
OR
Create an Arch Linux Installer image (.img) with custom image name and size with default Kernel option.
bash <(curl -fsSL https://raw.githubusercontent.com/kwankiu/archlinux-installer-rock5/main/archlinux-installer) --image=myarchinstaller.img --size=4G -k
bash <(curl -fsSL https://raw.githubusercontent.com/kwankiu/archlinux-installer-rock5/main/archlinux-installer) --dev
I use Arch. Btw.