Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
en:manual:reference_installation [2023/12/05 09:59] throgh |
en:manual:reference_installation [2024/03/26 23:21] (current) throgh |
||
---|---|---|---|
Line 357: | Line 357: | ||
===== Installation ===== | ===== Installation ===== | ||
==== Partition disks ==== | ==== Partition disks ==== | ||
+ | |||
+ | <note important> | ||
+ | These instructions assume that you are using MBR (Master Boot Record) as the partitioning scheme for your installation disk. Installation on a GPT-based disk is slightly different than the process described here. | ||
+ | </ | ||
+ | |||
Once your computer has successfully booted into the Live USB device, type the following into you terminal: | Once your computer has successfully booted into the Live USB device, type the following into you terminal: | ||
Line 390: | Line 395: | ||
<code bash> | <code bash> | ||
# swapon /dev/sda1 | # swapon /dev/sda1 | ||
- | </ | ||
- | |||
- | === Mount the root partition === | ||
- | <code bash> | ||
- | # mount /dev/sda2 /mnt | ||
</ | </ | ||
Line 420: | Line 420: | ||
We now must mount the root partition on <color # | We now must mount the root partition on <color # | ||
+ | === Mount the root partition === | ||
+ | |||
+ | <code bash> | ||
+ | # mount /dev/sda2 /mnt | ||
+ | </ | ||
==== Verification of system-date ==== | ==== Verification of system-date ==== | ||
Line 484: | Line 489: | ||
# arch-chroot /mnt | # arch-chroot /mnt | ||
</ | </ | ||
- | |||
- | * Write your hostname to <color # | ||
=== Hostname === | === Hostname === | ||
Line 508: | Line 511: | ||
</ | </ | ||
- | <code bash> | ||
- | # echo myhostname > / | ||
- | </ | ||
- | * Symlink <color # | + | === Locale === |
- | <code bash> | + | Type the following to set locale preferences in <color # |
- | # ln -s / | + | |
- | </ | + | |
- | + | ||
- | * Set [[en: | + | |
- | + | ||
- | === Locale === | + | |
- | Type: | + | |
<code bash> | <code bash> | ||
Line 528: | Line 521: | ||
Now choose your locale from what language you’re using. All locales are commented out (preceded by #) by default. Uncomment (remove the #) for your choice of locale. For US English, it should look like this: | Now choose your locale from what language you’re using. All locales are commented out (preceded by #) by default. Uncomment (remove the #) for your choice of locale. For US English, it should look like this: | ||
- | |||
- | <code bash> | ||
- | # nano / | ||
- | </ | ||
< | < | ||
Line 547: | Line 536: | ||
</ | </ | ||
- | Then create | + | Then check the file <color # |
<code bash> | <code bash> | ||
Line 553: | Line 542: | ||
</ | </ | ||
- | Then export your chosen locale | + | Then export your chosen locale, just in case for your current session |
<code bash> | <code bash> | ||
Line 559: | Line 548: | ||
</ | </ | ||
- | + | Add console keymap and font preferences in <color # | |
- | * Add console keymap and font preferences in <color # | + | |
=== Keymap === | === Keymap === | ||
Line 576: | Line 564: | ||
< | < | ||
- | |||
- | * Uncomment the selected locale in <color # | ||
=== Time zone === | === Time zone === | ||
Line 635: | Line 621: | ||
</ | </ | ||
- | <code bash> | + | To configure the bootloader, you have to install it and generate the file <color # |
- | # grub-mkconfig -o / | + | |
- | </ | + | |
- | + | ||
- | * To configure the bootloader, you have to install it and generate the file <color # | + | |
<code bash> | <code bash> | ||
Line 645: | Line 627: | ||
</ | </ | ||
- | * For BIOS and EFI: | + | === Syslinux === |
- | <code bash> | + | [[https://en.wikipedia.org/ |
- | # pacstrap | + | |
- | </code> | + | |
- | * Install GRUB after chrooting (refer to the [[en: | ||
- | |||
- | === Syslinux === | ||
<code bash> | <code bash> | ||
# pacstrap /mnt syslinux | # pacstrap /mnt syslinux | ||
</ | </ | ||
- | * Configure <color # | + | For further details refer to the [[https:// |
+ | |||
+ | === Create RAM-disk | ||
+ | |||
+ | Configure <color # | ||
<code bash> | <code bash> | ||
Line 666: | Line 647: | ||
< | < | ||
- | * If you want to install GRUB for the (U)EFI mode, you will need to make sure that: | + | If you want to install GRUB for the (U)EFI mode, you will need to make sure that: |
* The computer booted in (U)EFI mode (if <color # | * The computer booted in (U)EFI mode (if <color # | ||
* The efivars module is loaded. (<color # | * The efivars module is loaded. (<color # | ||
- | |||
- | === Bootloader on external drive === | ||
- | |||
- | <note tip> | ||
- | If you are following the [[en: | ||
- | </ | ||
- | |||
- | -------------- | ||
- | |||
- | * Configure the network again for newly installed environment. | ||
=== Unmount and reboot === | === Unmount and reboot === |