Created
November 3, 2020 06:48
-
-
Save kbruner/1a9bac1d62d250d88eec4829f0c71524 to your computer and use it in GitHub Desktop.
partitioning Arch Linux virtual disk
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Arch Linux 5.8.12-arch1-1 (ttyS0) | |
archiso login: root | |
To install Arch Linux follow the installation guide: | |
https://wiki.archlinux.org/index.php/Installation_guide | |
For Wi-Fi, authenticate to the wireless network using the iwctl utility. | |
Ethernet and Wi-Fi connections using DHCP should work automatically. | |
After connecting to the internet, the installation guide can be accessed | |
via the convenience script Installation_guide. | |
Last login: Fri Oct 30 15:34:12 on tty1 | |
# | |
root@archiso ~ # fdisk /dev/vda | |
Welcome to fdisk (util-linux 2.36). | |
Changes will remain in memory only, until you decide to write them. | |
Be careful before using the write command. | |
Device does not contain a recognized partition table. | |
Created a new DOS disklabel with disk identifier 0x6343b449. | |
Command (m for help): n | |
Partition type | |
p primary (0 primary, 0 extended, 4 free) | |
e extended (container for logical partitions) | |
Select (default p): p | |
Partition number (1-4, default 1): | |
First sector (2048-8388607, default 2048): | |
Last sector, +/-sectors or +/-size{K,M,G,T,P} (2048-8388607, default 8388607): | |
Created a new partition 1 of type 'Linux' and of size 4 GiB. | |
Command (m for help): p | |
Disk /dev/vda: 4 GiB, 4294967296 bytes, 8388608 sectors | |
Units: sectors of 1 * 512 = 512 bytes | |
Sector size (logical/physical): 512 bytes / 131072 bytes | |
I/O size (minimum/optimal): 131072 bytes / 131072 bytes | |
Disklabel type: dos | |
Disk identifier: 0x6343b449 | |
Device Boot Start End Sectors Size Id Type | |
/dev/vda1 2048 8388607 8386560 4G 83 Linux | |
Command (m for help): a | |
Selected partition 1 | |
The bootable flag on partition 1 is enabled now. | |
Command (m for help): w | |
The partition table has been altered. | |
Calling ioctl() to re-read partition table. | |
Syncing disks. | |
# | |
root@archiso ~ # |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment