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 [2024/02/29 20:53] gjason [Partition disks] Added warning about MBR vs GPT partitioning. |
en:manual:reference_installation [2024/03/26 23:21] (current) throgh |
||
---|---|---|---|
Line 395: | Line 395: | ||
<code bash> | <code bash> | ||
# swapon /dev/sda1 | # swapon /dev/sda1 | ||
- | </ | ||
- | |||
- | === Mount the root partition === | ||
- | <code bash> | ||
- | # mount /dev/sda2 /mnt | ||
</ | </ | ||
Line 425: | 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 489: | Line 489: | ||
# arch-chroot /mnt | # arch-chroot /mnt | ||
</ | </ | ||
- | |||
- | * Write your hostname to <color # | ||
=== Hostname === | === Hostname === | ||
Line 513: | 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 533: | 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 552: | Line 536: | ||
</ | </ | ||
- | Then create | + | Then check the file <color # |
<code bash> | <code bash> | ||
Line 558: | Line 542: | ||
</ | </ | ||
- | Then export your chosen locale | + | Then export your chosen locale, just in case for your current session |
<code bash> | <code bash> | ||
Line 564: | Line 548: | ||
</ | </ | ||
- | + | Add console keymap and font preferences in <color # | |
- | * Add console keymap and font preferences in <color # | + | |
=== Keymap === | === Keymap === | ||
Line 581: | Line 564: | ||
< | < | ||
- | |||
- | * Uncomment the selected locale in <color # | ||
=== Time zone === | === Time zone === | ||
Line 640: | 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 650: | 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 671: | 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 === | ||
- | |||
- | * Configure the network again for newly installed environment. | ||
=== Unmount and reboot === | === Unmount and reboot === |