Skip to main content

Binding AWS VPS IP Address with Hostinger Subdomain

Bind AWS IP with Hostinger Sub-Domain To bind an AWS IP address to a Hostinger subdomain, you need to update the DNS records of your Hostinger domain to point to the AWS IP address. Here’s a step-by-step guide to achieve this: Step1: Find the AWS IP Address If you have an EC2 instance, you can find the IP address in the AWS Management Console under the "Instances" section. Note the Public IPv4 address. Step2: Access Hostinger DNS Management Log in to your Hostinger account. Go to the "Domains" section and select the domain for which you want to configure the subdomain. Navigate to the "DNS Zone" or "DNS Settings" for that domain. Step3: Create a Subdomain and Point to AWS IP In the DNS settings, create a new A record. Set the "Name" or "Host" field to your subdomain (e.g., subdomain.yourdomain.com ). Set the "Points to" or "Value" field to your AWS IP address. Set the TTL (Time to Live) to the default value...

ASIC - Dual Boot Windows and Ubuntu (Solved)

Prelude

Mostly we have a single PC or Laptop at home, and we want to use both the Windows and Linux on the same machine but sometimes we are afraid of losing data because of the tedious procedure of dual boot installation. I have also been afraid of losing my data due to this tedious process, but then I thought that I can take chance by backing up my data to external drive. So, I took the chance, a couple of times failed and then I was successful. I will be discussing all scenarios of failure and success in details for you to know the correct path before installation of dual boot operating systems.

First thing first, I will be installing Windows Operating System at first place and then I will install Ubuntu Operating System in dual boot configuration. So let's start with the scenarios.

Dual Boot Installations (Failure and Success Scenarios)

Machine Information

Dell Latitude 3340 Laptop

Operating System1

Following information can be found in the properties of Computer Icon

Edition: Windows 10 Pro
Version: 20H2
OS Build: 19042.1706

Operating System2

Ubuntu 20.04

Procedure Followed 

1. Windows 10 was already installed on my machine and I downloaded Ubuntu latest distribution ISO file from UBUNTU official website (Install Ubuntu desktop | Ubuntu). 

2. Download latest distribution of Rufus from official website (Rufus - Create bootable USB drives the easy way).

Rufus Settings for Creating Ubuntu Installation USB
Settings for Creating Ubuntu Installation USB
3. Open Rufus and perform the following steps:

3a. Insert 4 GB or above USB Drive. (Save any important data on you USB Drive prior starting the operation because data on the USB Drive will be lost.)

3b. Insert the USB Drive and you will see that Rufus will automatically detects the device.

3c. Press SELECT button and browse to select the downloaded ISO image of Ubuntu downloaded from Step1.

3d. Do not change any other settings on Rufus and make sure that the Rufus settings are similar to the settings shown in picture above.

3e. Press START button and let the process complete. (You will be warned by Rufus regarding your data on USB Drive will be lost, press OK if there is no valuable data on the USB Drive. Next popup window will show the Ubuntu settings. Simply press OK and let the process begin.).

4. After the preparation of Bootable USB, you will need to free up space for installation of Ubuntu. Recommended space is 20GB, but it depends on available space and your desire to allocate free space for Ubuntu Operating System. In my case I will be allocating 100GB space for the Ubuntu Operating System. Steps to allocate free space are as follows:

Computer Management Tool for Windows 10
Computer Management Tool Window
4a. Open Computer Management Tool on your Windows 10 or Windows 11 by simply right clicking "This PC" icon and selecting "Manage" or type Computer Management in search on taskbar and select Computer Management.

4b. Now select "Disk Management" under the "Storage" in the left pane. You will see the available disks and partition information as shown in the picture.

4c. Choose Drive and right click to select "Shrink Volume...". You will be able to shrink the existing volume which is dependent upon the availability of free space in your selected drive.

4d. Shrink the volume as per your requirement from within the free space available on the drive and you are all set.

5. Insert your USB bootable drive which you have created in step 3 and restart your computer. Make sure that Boot Options are set to boot from USB as a first option in your machine's BIOS. If not, first jump into BIOS by pressing F2 or F12 and change the boot Order and save before exiting the BIOS.

6. As soon as the system restarts, you will see the Ubuntu Booting.

Try or Install Ubuntu
Try or Install Ubuntu
7. You will be given option to either Install or Try Ubuntu. You can select either of these options, but it is better to first Try Ubuntu to see if your machine is compatible with the version of Ubuntu and all hardware is running properly or not. If everything is fine then select Install Ubuntu Icon from the Desktop of Ubuntu to start the process of installation, if some hardware is not working like Wi-Fi, Bluetooth etc., then simply restart the machine and remove the USB bootable Drive to go back to Windows and find better and compatible distribution and repeat from step 3.

8. Click on the Icon "Install Ubuntu xx.xx.xx" to start the installation as shown in the picture below.

Start Installation of Ubuntu
Start Installation of Ubuntu xx.xx.xx

9. Select Language and Keyboard Layout in next two screen as shown in picture below:

Select Language and Keyboard Layout
Select Language and Keyboard Layout

10. Select installation type for the Ubuntu Operating System. In my case, I have opted normal installation as shown in the picture below and I recommend to opt this for you as well.

Installation Type - Normal Installation
Installation Type - Normal Installation

11. Here comes the different installation scenarios that I have tested to show the results so that you don't have to try these on your machine, and you could save your data and time. There are three installation options as shown in the picture below. 

Ubuntu Critical Installation Options for Dual Boot Settings
Ubuntu Critical Installation Options for Dual Boot Settings

I will be showing following 2 confusing options.

    a. Install Ubuntu alongside Windows 10
    b. Something else


Scenario 1 - Install Ubuntu Alongside Windows 10 (Failure Scenario)

As a newbie, this option seems very suitable as the detail of this installation option states "Documents, Music and other Personal Files will be kept. You can choose which operating system to select each time system starts-up.". This option seems very good as you will not have to get your hands dirty with the creation of hard drives for installation and installation widard will do it for you automatically.

Hence I chose the option and the result was not much as desired. My Windows was there and it contained all the software and data as promissed by the Ubuntu Installation Wizard. I also could select either of the Operating Systems at the start up. BUT each time after rebooting the machine, before getting into the boot menu for selection of operating systems, there was an irritating error on the screen stating "Invalid Partition Table. Press any key to continue...".

So we can safely say that this option is not a total failure but still the error message ruins the enjoyabe moment of selection of desired operating system.

Scenario 2 - Something Else (Success Scenario)

As a last resort, I decided to reinstall all the operating systems but I first tried to install only Ubuntu and remove the existing partitions which carried Ubuntu Operating System.

Note: So here we go. I would strongly recommend following the steps carefully because these steps are the bit tricky and very important steps which will ensure that you do not lose your Windows Operating System and data within your machine and install Ubuntu Operating System in dual boot configuration with Windows Operating System.

12. Referring to the step 11 of this blog, select "something else" and press Next. You will be presented with the next screen as shown in the picture below, displaying all the hard drives along with the existing partitions as well as the free space which you will utilize in the upcoming steps.

Setup Screen for Creation and Selection of Partitions
Setup Screen for Creation and Selection of Partitions

13. Click on the free space and select + button for creation of new partition. A small popup window will appear as displayed in the picture below:

Create New Partition
Create New Partition

14. First we will create small partition of size "500MB", with type of partition as "Primary" and Use as "EUFI bootable" and press ok. This will create a bootable partition for Ubuntu operating system.

15. Next we will again select free space and press + button to create new partition. This time we will not change the Size option and let Ubuntu use all available free space for this partition. Select type as "Primary" and Use ass will be "Ext4 Journalling file system". You will see a new text field with the caption Mount Point before OK or Cancel buttons, type "/" as a mount point and press OK.

You are all setup. Simply select your "/" partition and press Install Now option. Wizard will ask you a couple of questions including Username, System Name and Password information as well as time zone. Fill in the information as per your desire and press Install Now button. Tada, your operating system is being install.

At the end of the installation, you will be asked by the wizard to continue testing or restart. Do as you desire. If you select restart, remove the Bootable USB Drive and you will see the GRUB2 displaying Ubuntu as your default Operating System and Windows as secondary option. go ahead and try both options one after another and enjoy your success.

There are options to change the GRUB2 customizations and bring Windows as your default operating system as well as change the default timer from 30 seconds as per your wish or requirement. I will be coving this topic in my upcoming blogpost. So, stay tuned.

regard

Comments

Popular posts from this blog

ASIC - Adsense1 or Adsense2 Error (Solved)

Whenever one tries to save the HTML Template of Blogger, some error appears in the left bottom corner. One of these errors is "The widget settings in widget with id <b>AdSense1</b> is not valid. An internal error occurred. Please try again." or  "The widget settings in widget with id <b>AdSense2</b> is not valid. An internal error occurred. Please try again." . Here is a simplest solution to the problem. Follow the below given steps to resolve this problem. 1. Click on the Jump to Widget button as shown in the picture 1. You will see list of all active widgets here. 2. Select the widget Adsense1 or Adsense2 according to your error message. The code for Adsense1 or Adsense2 as per your selection will appear as shown in selected code in picture 2. 3. Add following code in the place as below. BLACK color code is the Actual Code just copied for your infomation. Code in RED color is the code which you will add in the beginning and ending.      ...

5 Things You Need to Know About AI: Debunking the Myths

Artificial Intelligence: Unveiling the Truth AI is thought to be dominating and job-stealing globally, but are these the exaggerations or the reality? Is there any truth behind it? In this blog post, we'll discuss the facts about AI and try to unfold the facts about AI. The Origins and Applications of AI AI isn't new and we can track it back to 1940's where the artificial neural networks operated as the employees interconnected and learning how to manage the problems in given time. But now, there is an extesive role of AI from suggesting the movies, music, to every aspects of life. AI is continously growing, generating and gathering the productive data over the human responses.  The Limits of AI This is the fact that the AI can not actually experience or think. Even the AI based chatbot like Chat GPT is a complex algorithum facility that can analyze the general communication patterns. Despite the fact that these chatbots can provide resonable answers, they lack true underst...

ASIC - Change GRUB 2 Boot Order (solved)

 I was using Windows 10 Pro on my Dell Latitude 3340 Laptop but due to some work requirement I needed to install Ubuntu 22.04, details to is available in my earlier blog-post " Dual Boot Windows and Ubuntu (Solved) ". After the installation, the default OS in boot menu displayed by GRUB 2 is Ubuntu which sometimes irritates as most of my work is being handled in the Windows environment, moreover, i wanted to change the delay time from 30 seconds to 10 seconds in order to avoid further unnecessary delay. So, as usual, i went across the google and watched multiple videos and blogs in order to see the correct method of solving my problem. The easiest and the ultimate way of changing the boot order in GRUB 2 is presented below: 1. You will need "grub-customizer" for the subject task. Note: grub-customizer is not available in the distribution packages and cannot be installed with simple "sudo apt install grub-customizer" command at terminal. The package is av...