When I first started installing Arch Linux through virtual machine, the first parts were going smooth. However, I couldn't complete it, so I have deleted that VM, started another one. I wrote
# cfdisk
code and selected dos
from the drop-down menu. After that, I did /dev/sda1
as a bootable primary partition, /dev/sda2
as a swap and /dev/sda3
as an extended partitions. Then I entered # mkfs.ext4 /dev/sda1
, it was good; but, # mkfs.ext4 /dev/sda3
gave a problem. It showed
/dev/sda3 contains 'DOS/MBR boot sector' data
Proceed anyway? (y, N) y
mkfs.ext4: inode_size (128) * inodes_count (0) too big for a
filesystem with 0 blocks, specify higher inode_ratio (-i)
or lower inode count (-N).
After that, I learned the problem by writing
# lsblk
, it showed 1 KB
for /dev/sda3
. I added Linux partition under /dev/sda3
, and that was /dev/sda5
. After that, I could easily enter # mkfs.ext4 /dev/sda5
thing and which worked well, at least for now.Secong trial, 13th August 2019. Tomorrow is Super Cup 2019, it will be played between Chelsea and Liverpool in Beşiktaş BJK Vodafone Park stadium in Istanbul, Turkey :)
My wish is "You will never walk alone" :) but as Jose Mourinho I have to support Chelsea, as well. So, I support both of them.
Let's get to the business, I have installed Arch Linux on my Virtual Machine. Now, I'm wondering if I can share files between the host Windows 10 OS and guest Arch Linux on Virtual Machine. After looking many things I think I will use Samba file sharing software to share files between the host and guest.
For now, as a post-installation process, I'm trying to install some programs on the Arch Linux in VM, but it seems that I don't have root privileges as a user. So I looked that up, first I wrote
# su
command and then I entered root password to become a root, after I wrote # usermod -aG wheel,anothergrouphere,yetanother,youcanseparatethemwithcomma,butnotspace usernamehere
and then I was added to the wheel
group, which I think grants the root privileges to my user. To check that you can write # groups usernamehere
and it will show which groups are that user in.
Enter # visudo
and then uncomment %wheel ALL = (ALL) ALL
to give root privileges to the wheel group. Reboot. Then I did as my user # sudo pacman -S emacs
to download and install emacs.