<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Adithya Anilkumar on Medium]]></title>
        <description><![CDATA[Stories by Adithya Anilkumar on Medium]]></description>
        <link>https://medium.com/@adithya.anilkumar1?source=rss-2c355917b117------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/2*rSqvY8146wsgFBjZcMxqfg.jpeg</url>
            <title>Stories by Adithya Anilkumar on Medium</title>
            <link>https://medium.com/@adithya.anilkumar1?source=rss-2c355917b117------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 17:19:20 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@adithya.anilkumar1/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Installing Arch Linux with KDE Plasma or GNOME Desktop ( Dual Booting with  Windows)]]></title>
            <link>https://medium.com/@adithya.anilkumar1/installing-arch-linux-with-kde-plasma-or-gnome-desktop-dual-booting-with-windows-ad7e1f090894?source=rss-2c355917b117------2</link>
            <guid isPermaLink="false">https://medium.com/p/ad7e1f090894</guid>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[productivity]]></category>
            <category><![CDATA[tutorial]]></category>
            <category><![CDATA[windows-10]]></category>
            <category><![CDATA[linux]]></category>
            <dc:creator><![CDATA[Adithya Anilkumar]]></dc:creator>
            <pubDate>Mon, 16 Mar 2020 16:28:04 GMT</pubDate>
            <atom:updated>2020-03-22T15:16:59.435Z</atom:updated>
            <content:encoded><![CDATA[<h3>Installing Arch Linux with KDE Plasma or GNOME Desktop ( Dual Booting with Windows)</h3><p>Hi Guys! Most of us today maybe using <strong>Windows</strong> as our daily driver. For most daily tasks, windows is more than enough. But the question you need to be asking is , is windows really necessary? I agree that window is pretty powerful, but most of us do not realize how heavy it is on the system.</p><p>Is your computer getting slow running windows? Do you have an old or low end PC which lags while running windows? Do you wish to switch to something light, something which will run smoothly on most hardware configurations? Then you are in the right place.</p><p>Today we will be seeing how you can dual boot <strong>Arch Linux </strong>with<strong> Windows.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*JPGVwNVRSjYlWMB0ExACBg.jpeg" /><figcaption>Arch Linux is light but powerful</figcaption></figure><p><strong>Arch Linux</strong> is ranked as one of the best and lightest Linux distros. It is highly customizable and can be configured according to the user’s needs.Unlike other popular distros like <strong>Ubuntu</strong> which is based on <strong>Debian</strong>, <strong>Arch Linux</strong> was built from scratch independent of any other Linux distribution.<strong>Arch Linux</strong> is a rolling release which means that it eradicates the system update frenzy that users of other distro types go through. Because it’s a rolling release, its core system is always up to date with the latest fixes and new features and you wouldn’t have to worry about when to install what and how long system updates will take.</p><p>So without further ado, Lets get started!</p><h3>Prerequisites</h3><ul><li>A bootable USB of at least 8Gb size.</li><li>UEFI BIOS mode on your PC</li><li>Basic understanding of Linux Bash</li></ul><blockquote>I recommend everyone to use the <a href="https://wiki.archlinux.org/">Arch wiki</a> as it will teach you the fundamentals of how to install and manage an operating system .Use this guide as a reference if you cannot understand the steps provided in the <a href="https://wiki.archlinux.org/">Arch wiki</a>.</blockquote><h3>Step 0: Creating the Boot-able USB</h3><ul><li>Download the <a href="https://www.archlinux.org/download/">Arch Linux ISO</a>.</li><li>Download <a href="https://rufus.ie/">Rufus</a>.</li><li>Insert pen drive into the PC and open Rufus</li><li>Open the Arch Linux ISO in Rufus</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/362/1*chBQNN28yOOAMyx3JC7F1g.jpeg" /><figcaption>It should look something similar to this</figcaption></figure><ul><li>Click on start and wait for the process to finish.</li></ul><h3>Step 1: Partitioning Windows.</h3><ul><li>Go to windows disk management tool and select the disk you want to install Arch Linux on.</li><li>Right-click and tap on shrink volume, allocate the necessary size required for the arch Linux partition(Min 10 Gb).</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*v-DpkCs7b0BKtHEeVpXXUA.jpeg" /></figure><h3>Step 2: Live boot into the installation media</h3><ul><li>Reboot your system and go into the boot manager. For HP devices its Esc .</li><li>Boot into the USB device.</li><li>After booting into the installation media, make sure you are connected to the internet. This is essential for the next steps.</li><li>To connect to WiFi, type the command wifi-menu and connect to the respective WiFi network. Test the connection by pinging the google server with ping google.com . You should see the ping.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/644/1*lFS__6PMZ_VYQQsrSryqVA.png" /><figcaption>Ping should show up like this</figcaption></figure><h3>Step 3: Create Linux Partitions</h3><ul><li>Set the clock on the system</li></ul><pre>timedatectl set-ntp true</pre><ul><li>Type the following commands to create <strong>three</strong> partitions required for the <strong>Arch Linux</strong> installation.</li></ul><pre>fdisk -l</pre><p>This will list all the disks on your device and its partions.</p><p>Select the disk by:</p><pre>fdisk /dev/&lt;disk_name&gt;</pre><p>Here, <strong>&lt;disk_name&gt;</strong> should be replaced by the name of your disk where you wish to install <strong>Arch Linux</strong> on and the disk you had created an unallocated space in the windows disk management tool.</p><p>In my case, It is:</p><pre>fdisk /dev/sda</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/459/1*oCKGugrWVMDB4uzI9ttAow.jpeg" /><figcaption>it&#39;ll be <strong>/dev/nvme0n1</strong> if it is an <strong>SSD</strong> and If it is a <strong>HDD</strong>, itll be <strong>/dev/sda</strong></figcaption></figure><p>Follow the following commands:</p><p>(The lines after <strong>//</strong> are comments for you to understand. Don’t type them in bash)</p><pre>command (m for help): n //press n here<br>Partition Number (5-128, default 5):5<br>First Sector: //press enter<br>Last Sector: +512M //press enter after entering the size.</pre><p>Now to change the filesystem to a <strong>EFI</strong> filesystem, press t.</p><pre>command (m for help): t//press t here<br>Partition Number: 5<br>Partition Type: 1 //press one and press enter</pre><p>Now to create the partition where you will be storing all of your data,</p><pre>command (m for help): n //press n here<br>Partition Number (6-128, default 6):6<br>First Sector: //press enter<br>Last Sector: +8G //press enter after entering the size.</pre><p>Now to create the third and final partition for the <strong>SWAP</strong> file,</p><pre>command (m for help): n //press n here<br>Partition Number (7-128, default 7):7<br>First Sector: //press enter<br>Last Sector: //press enter , the size will be filled automatically</pre><p>Now to change the filesystem to a <strong>SWAP</strong> filesystem, press t.</p><pre>command (m for help): t//press there<br>Partition Number: 7<br>Partition Type: 19//type 19 and press enter</pre><p>Make sure the partitions are correct, by typing p,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/446/1*coj7eBV7mU5ROgWmoSgXpg.jpeg" /><figcaption>The partitions should look like this</figcaption></figure><p>If they are correct, write the changes by pressing w and enter .</p><ul><li><strong>Lets wipe the EFI partition to FAT32 format</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/419/1*d_9Z37b5D-s8G61hl0Tf_w.png" /><figcaption><strong>EFI</strong> partition(device) is<strong> /dev/sda5 </strong>in my case. It may vary in your case.</figcaption></figure><pre>mkfs.fat -F32 /dev/&lt;EFI Partition device&gt;</pre><p>(replace <strong>&lt;EFI Partition device&gt;</strong> with the <strong>EFI</strong> partition device ,ie <strong>/dev/sda5 </strong>in my case.)</p><p>So in my case it&#39;ll be:</p><pre>mkfs.fat -F32 /dev/sda5</pre><ul><li><strong>Lets make the SWAP volume now.</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/419/1*OBI3w7XH9LrcRyYk5FP_NA.png" /><figcaption><strong>SWAP</strong> partition(device) is <strong>/dev/sda7</strong> in my case. it may vary in yours</figcaption></figure><pre>mkswap /dev/&lt;SWAP Partition device&gt;<br>swapon /dev/&lt;SWAP Partition device&gt;</pre><p>(replace <strong>&lt;SWAP Partition device&gt;</strong> with the <strong>SWAP</strong> partition device ,ie <strong>/dev/sda7</strong> in my case.)</p><p>So in my case it’ll be:</p><pre>mkswap /dev/sda7<br>swapon /dev/sda7</pre><blockquote><strong>Linux</strong> can handle both <strong>ext4</strong> and <strong>NTFS</strong> filesystems . But we are going to use the <strong>ext4</strong> filesystem as <strong>ext4</strong> can support individual files up to 16 terabytes, and volumes up to one exabyte in size.</blockquote><ul><li><strong>Lets make the ext4 partition on our main drive.</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/419/1*HlendzrtexKX5PFCxMbHXQ.png" /><figcaption><strong>Linux Filesystem Partition</strong>(device) is<strong> /dev/sda</strong>6 in my case. It may vary in yours.</figcaption></figure><pre>mkfs.ext4 /dev/&lt;Linux Filesystem Device&gt;</pre><p>(replace <strong>&lt;Linux filesystem device&gt; </strong>with the Linux filesystem partition device ,ie <strong>/dev/sda6</strong> in my case.)</p><p>So in my case it’ll be:</p><pre>mkfs.ext4 /dev/sda6</pre><h3>Step 4: Mount EFI and Linux filesystem</h3><ul><li><strong>Mount the Linux Filesystem partition device to </strong><strong>/mnt</strong></li></ul><pre>mount /dev/&lt;Linux Filesystem Device&gt; /mnt</pre><p>(replace <strong>&lt;Linux filesystem device&gt;</strong> with the Linux filesystem partition device ,i.e <strong>/dev/sda6</strong> in my case.)</p><p>So in my case it’ll be:</p><pre>mount /dev/sda6 /mnt</pre><ul><li><strong>Mount the EFI partition device to </strong><strong>/mnt/boot</strong></li></ul><pre>mkdir /mnt/boot</pre><pre>mount /dev/&lt;EFI partition device&gt; /mnt/boot</pre><p>(replace <strong>&lt;EFI partition device&gt;</strong> with the EFI partition device ,ie <strong>/dev/sda5 </strong>in my case.)</p><p>So in my case it’ll be:</p><pre>mount /dev/sda5 /mnt/boot</pre><p>After mounting check whether it is actually mounted by using the command :</p><pre>df</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/749/1*44lwpGGibkvVACGU-MMhYA.png" /><figcaption>The two mount points should show up like this</figcaption></figure><h3>Step 5: Installing the Linux Firmware to our system</h3><ul><li>Now that you have all your partitions set, we can proceed to installing the Linux firmware onto the mounted partitions. To do this, type the following command</li></ul><pre>pacstrap /mnt base linux linux-firmware</pre><p>Get a cup of coffee and relax for a while, the installation may take a while depending upon your network speed.</p><ul><li>After the installation is complete, run the following command to generate <strong>fstab</strong>.</li></ul><pre> genfstab -U /mnt &gt;&gt; /mnt/etc/fstab</pre><p>After running generating <strong>fstab</strong>, check the generated file by:</p><pre>vi /mnt/etc/fstab</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cV1DD5IpLn_uEq4mHQ9SAg.png" /><figcaption>It should show something similar , if not the same, don’t worry, it just needs to have <strong>/dev/&lt;partition name&gt; </strong>line in it</figcaption></figure><p>Exit by pressing Esc and typing :q</p><h3><strong>Step 6:Lets Change Root to our installed system</strong></h3><ul><li>Change root into the installed system by typing:</li></ul><pre>arch-chroot /mnt</pre><h3>Step 7: Set Timezone of your system</h3><pre>cd /usr/share/zoneinfo/Asia<br>ls</pre><p>If your zone is Asia , type</p><pre>cd /usr/share/zoneinfo/Asia </pre><p>And respectively for other zones. Form the list find your region.In my case it is Kolkata as im living in India.</p><p>With the zone and region figured out, enter it into /etc/localtime</p><pre>ln -sf /usr/share/zoneinfo/Asia/Kolkata /etc/localtime</pre><h3>Step 8: Sync the hardware clock</h3><pre>hwclock --systohc</pre><h3>Step 9: Generate Locales</h3><ul><li>Install text editor nano :</li></ul><pre>pacman -Sy nano</pre><p>We need to edit the loacle.gen file using nano</p><pre>nano /etc/locale.gen</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/643/1*ib2wi8cnNEGSiIKpx_mVBg.png" /><figcaption>Clear the # before en_US.UTF-8 UTF-8</figcaption></figure><p>Scroll down to en_US.UTF-8 UTF-8 and clear the # before the text</p><p>Save by pressing CTRl+o, press enter and exit by pressing CTRL+x</p><p><strong>Generate locale</strong></p><pre>locale-gen</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1008/1*qbvnKcmOgZS2oJm1b2lqBg.png" /><figcaption>You should see this as the result</figcaption></figure><p><strong>Create locale.conf</strong></p><pre>nano locale.conf</pre><p>Type the following into the file:</p><pre>LANG=en_US.UTF-8</pre><p>CTRL+o to save, press enter and CTRL+x to exit.</p><h3>Step 10: Create Hostname</h3><p><strong>To create Hostname file</strong></p><pre>nano /etc/hostname</pre><p>And type your desired hostname into the file.</p><p>My hostname is <strong>adithya</strong> and hence it type it,type <strong>yours</strong> into the file.</p><p>CTRL+o to save , press enter and CTRL+x to exit.</p><p><strong>To create Hosts</strong></p><pre>nano /etc/hosts</pre><p>At the end of the file(next line available), add the lines:</p><pre>127.0.0.1    localhost<br>::1          localhost<br>127.0.1.1    adithya.localdomain adithya</pre><p>Replace adithya with &lt;your hostname&gt; .</p><p>CTRL+o to save , press enter and CTRL+x to exit.</p><h3>Step 11: Set Root Password</h3><pre>passwd</pre><p>Enter the password, press enter and retype the pasword.</p><h3>Step 12: Add user and set Password for the user</h3><pre>useradd -g users -G power,storage,wheel -m &lt;username&gt;</pre><p>Replace <strong>&lt;username&gt;</strong> with a username of your choice.</p><p>If it doesnt work , try</p><pre>useradd -g users -G power,wheel -m &lt;username&gt;</pre><p><strong>Add Password</strong></p><pre>passwd &lt;username&gt;</pre><p>Replace <strong>&lt;username&gt;</strong> with your username.</p><p>Enter the <strong>password</strong>, press enter and retype the <strong>pasword</strong>.</p><h3><strong>Step 13: Install Boot Manager</strong></h3><pre>pacman -S grub efibootmgr os-prober</pre><p>check install by typing os-prober , it shouldnt show any error</p><p><strong>Install grub</strong></p><pre>grub-install --target=x86_64-efi --efi-directory=/boot/ --bootloader-id=GRUB</pre><p>This is a single line command, with a space in between /boot/ and — bootloader-id</p><p><strong>Mount Windows EFI System</strong></p><pre>fdisk -l</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/540/1*7ywTBMtjlXpvytxO45x_HQ.png" /><figcaption>Here my EFI for windows is /dev/sda2. It may vary in your case</figcaption></figure><p>Find your <strong>windows</strong> <strong>EFI</strong> <strong>partition</strong> device id. Mine is <strong>/dev/sda2.</strong></p><pre>mkdir /mnt2/</pre><pre>mount /dev/sda2 /mnt2</pre><p>(Replace <strong>/dev/sda2</strong> with your <strong>windows EFI partition </strong>device id.)</p><p>After that we need to make the <strong>config</strong> file for grub .</p><pre>grub-mkconfig -o /boot/grub/grub.config</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/588/1*Q48o9ZPODVp2HutWFgQNMw.png" /><figcaption>If all goes well, It should show up like this</figcaption></figure><h3>Step 14: Installing Network Drivers</h3><p>This is a really important step as without network drivers, you will not be able to connect to <strong>WiFi</strong>. This is the step that most people forget to do and end up having to live boot into Arch USB again to install it later.</p><p><strong>To install Network Drivers:</strong></p><pre>pacman -S networkmanager network-manager-applet dialog wireless_tools wpa_supplicant mtools dosfstools base-devel <br>linux-headers</pre><p>The whole command is a single line and <strong>not</strong> multiple lines, with space in between dialog and wireless_tools and space between base-devel and linux-headers.</p><p>After the installation is complete, type:</p><pre>exit</pre><pre>unmount -a</pre><p>And then</p><pre>reboot</pre><h3>Step 15: Boot into Arch Linux</h3><p>If you successfully boot into Arch Linux ,<strong> congratulations!</strong></p><p>Login -In as <strong>root</strong> user with:</p><pre>username:root<br>password:&lt;your password for root user set in Step 11&gt;</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*VbhUfdg5qm__HGxmv37dWQ.jpeg" /><figcaption>Congratulations! You have done it! In spite of all odds!</figcaption></figure><h3>Step 16: Activate Internet</h3><p>To activate internet,</p><pre>systemctl start NetworkManager</pre><pre>nmtui</pre><p>Connect to your wifi network using the GUI.</p><pre>systemctl enable NetworkManager</pre><p><strong>Step 17:Grant SuperUser Permission to User</strong></p><pre>EDITOR=nano visudo</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/778/1*n41FEppNHkAZsJJ8g6LPQA.png" /><figcaption>clear the # before wheel ALL=(ALL) ALL</figcaption></figure><p>clear the <strong>#</strong> before <strong>wheel ALL=(ALL) ALL</strong></p><p>Save by pressing CTRl+o, press enter and exit by pressing CTRL+x</p><h3>Step 18:Install Graphics and Display Drivers</h3><p><strong>To install Intel Card Drivers:</strong></p><pre>pacman -S xf86-video-intel</pre><p>Now this is a <strong>mandatory</strong> install for everyone with an <strong>Intel CPU</strong>,</p><p>For People having <strong>AMD Graphics Cards,</strong></p><pre>pacman -S xf86-video-amdgpu</pre><p>For people having <strong>Nvidia Graphics Card,</strong></p><pre>pacman -S nvidia nvidia-utils</pre><p><strong>To install Display Server</strong></p><pre>pacman -S xorg</pre><p>Accept the defaults by hitting enter.</p><pre>pacman -S xorg-server</pre><h3><strong>Step 19:Installing KDE Plasma Desktop</strong></h3><p><strong>KDE</strong> is one of the more refined and customizable Desktops for Linux.</p><p><strong>To Install Display Manager</strong></p><pre>pacman -S sddm</pre><p><strong>Enable sddm</strong></p><pre>systemctl enable sddm</pre><p>To install <strong>Plasma</strong></p><pre>pacman -S plasma kde-applications</pre><p>OR</p><p>For a <strong>Minimal</strong> install, without any bloatware,</p><pre>pacman -S plasma</pre><p>accept all defaults by pressing enter and start the install.</p><p><strong>CONGRATULATIONS!</strong></p><p>You have successfully Installed <strong>Arch Linux</strong> with <strong>KDE Plasma Desktop!.</strong></p><p>Now to complete the installation,</p><pre>reboot</pre><p>Boot into <strong>Arch Linux</strong> with <strong>KDE Plasma Desktop, Login.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_egnmx8uMUemxZII6MwdBg.png" /><figcaption>Your KDE Plasma desktop should look something like this</figcaption></figure><p>Open terminal and update the repositories.</p><pre>sudo pacman -Syyu</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/225/1*Qil2T7MoFxkRlfgaHkr8LA.jpeg" /><figcaption>“btw i use arch linux”</figcaption></figure><p><strong>That’s it! You are done!</strong></p><p>Now enjoy the <strong>plasma</strong> desktop environment. Try out different themes from the theme store. I really love the <strong>McMojave</strong> theme.Cheers!</p><h3>Step 19(Alter): Installing GNOME</h3><p>If u dont want to install <strong>KDE PLasma</strong>, then you can install <strong>GNOME.</strong></p><p>Skip the step for installing KDE and follow the remaining tutorial</p><p><strong>Install the Display manager</strong></p><pre>pacman -S gdm</pre><p><strong>Enable gdm</strong></p><pre>systemctl enable gdm</pre><p><strong>Install GNOME</strong></p><pre>pacman -S gnome gnome-extra</pre><p>OR</p><p>For minimal Install,</p><pre>pacman -S gnome </pre><p>Now reboot,</p><pre>reboot</pre><p><strong>CONGRATULATIONS!</strong></p><p>You have successfully Installed <strong>Arch Linux</strong> with <strong>GNOME Desktop!.</strong></p><p>Boot into <strong>Arch Linux</strong> with <strong>GNOME, Login.</strong></p><p>Open terminal and update the repositories.</p><pre>sudo pacman -Syyu </pre><p><strong>That’s it! You are done!</strong></p><p>Now enjoy the <strong>GNOME</strong> desktop environment.!</p><p><strong><em>If you have any doubts regarding anything at any point during the installation, or run into any problems during installation,you can refer to the fully fledged </em></strong><a href="https://wiki.archlinux.org/"><strong><em>Arch Wiki</em></strong></a><strong><em>.</em></strong></p><h4>Thank you guys!</h4><p>📝 Save this story in <a href="https://usejournal.com/?utm_source=medium.com&amp;utm_medium=noteworthy_blog&amp;utm_campaign=tech&amp;utm_content=guest_post_read_later_text">Journal</a>.</p><p>👩‍💻 Wake up every Sunday morning to the week’s most noteworthy stories in Tech waiting in your inbox. <a href="https://usejournal.com/newsletter/noteworthy-in-tech/?utm_source=medium.com&amp;utm_medium=noteworthy_blog&amp;utm_campaign=tech&amp;utm_content=guest_post_text">Read the Noteworthy in Tech newsletter</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ad7e1f090894" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>