Arch Linux - Installatie: verschil tussen versies
Naar navigatie springen
Naar zoeken springen
(→Overig) |
(→Overig) |
||
Regel 12: | Regel 12: | ||
* Device-aanduiding achterhalen: fdisk -l | * Device-aanduiding achterhalen: fdisk -l | ||
− | + | ||
+ | ''' Disk partitioneren ''' | ||
+ | |||
+ | * cfdisk /dev/sda | ||
+ | * Kies ''DOS'', anders later een probleem bij installatie boot-manager. Alleen in specifieke gevallen GPT gebruiken [https://unix.stackexchange.com/questions/235467/arch-linux-cfdisk-asking-for-disk-label-type] | ||
** sda1 - Root - Linux X86-64 7,5GB | ** sda1 - Root - Linux X86-64 7,5GB | ||
** sda2 - Swap - Linux Swap - 0,5GB | ** sda2 - Swap - Linux Swap - 0,5GB | ||
+ | |||
+ | ''' Verder ''' | ||
+ | |||
* formatteren: mkfs.ext4 /dev/sda1 | * formatteren: mkfs.ext4 /dev/sda1 | ||
* Mount the root-partitie: mount /dev/sda1 /mnt | * Mount the root-partitie: mount /dev/sda1 /mnt |
Versie van 10 mei 2018 16:32
Installatie op VirtualBox
Primaire bron: Deze video van Goguda55.
Opstarten op VirtualBox
- Arch Linux is prima te downloaden als torrent]. Dan heb je een .iso-cd-image-bestand.
- Binnen VirtualBox kan dat iso-bestand als een optische drive worden gemount. Van installatie van VirtualBox tot de Arch-prompt was nog geen vijf minuten werk.
Overig
- Device-aanduiding achterhalen: fdisk -l
Disk partitioneren
- cfdisk /dev/sda
- Kies DOS, anders later een probleem bij installatie boot-manager. Alleen in specifieke gevallen GPT gebruiken [1]
- sda1 - Root - Linux X86-64 7,5GB
- sda2 - Swap - Linux Swap - 0,5GB
Verder
- formatteren: mkfs.ext4 /dev/sda1
- Mount the root-partitie: mount /dev/sda1 /mnt
- Initiëer de swap-partititie: mkswap /dev/sda2
- Basisinstallatie: pacstrap /mnt base base-devel - base-devel is nieuw voor mij. Duurde 20s
- chroot: arch-chroot /mnt
- passwd
- vi /etc/locale.gen. Un-comment de twee regels voor en_US (vi kent geen delete. Alleen backspace)
- locale-gen
- cd /usr/share/zone
- rm /etc/localtime
- ln -s /usr/share/zoneinfo/Europe/Amsterdam /etc/localetime
- echo arch03 > /etc/hostname
- pacman -S grub-bios
- grub-install /dev/sda
Bronnen
- https://www.youtube.com/watch?v=Wqh9AQt3nho - Goguda55 Tech Tutorials → Goed te volgen