Arch Linux - Installatie: verschil tussen versies
Naar navigatie springen
Naar zoeken springen
(→Overig) |
|||
Regel 12: | Regel 12: | ||
* Device-aanduiding achterhalen: fdisk -l | * Device-aanduiding achterhalen: fdisk -l | ||
− | * Disk partitioneren: cfdisk /dev/sda | + | * Disk partitioneren: cfdisk /dev/sda → ''GPT partition label'' → Dat geeft een probleem bij installatie bootloader |
** 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 | ||
Regel 18: | Regel 18: | ||
* Mount the root-partitie: mount /dev/sda1 /mnt | * Mount the root-partitie: mount /dev/sda1 /mnt | ||
* Initiëer de swap-partititie: mkswap /dev/sda2 | * Initiëer de swap-partititie: mkswap /dev/sda2 | ||
− | * Basisinstallatie: pacstrap /mnt base base-devel - ''base-devel'' is nieuw voor mij | + | * 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 == | == Bronnen == | ||
* https://www.youtube.com/watch?v=Wqh9AQt3nho - Goguda55 Tech Tutorials → Goed te volgen | * https://www.youtube.com/watch?v=Wqh9AQt3nho - Goguda55 Tech Tutorials → Goed te volgen |
Versie van 10 mei 2018 18:23
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 → GPT partition label → Dat geeft een probleem bij installatie bootloader
- sda1 - Root - Linux X86-64 7,5GB
- sda2 - Swap - Linux Swap - 0,5GB
- 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