I used arch iso from http://mirror.cse.iitk.ac.in/archlinux/iso/2021.07.01/



On Sun, Jul 25, 2021, 5:33 PM Deepak Kumar <[email protected]> wrote:

> Greetings Ajay. Thanks. Wished to check which one in below, you have
> selected? *OpenRC* based or *systemd* based image
>
>
> *stage3-amd64-openrc-20210722T...tar.gz*
> *stage3-amd64-systemd-**20210722T**...tar.gz*
>
>
> I am referring to
> https://wiki.gentoo.org/wiki/Handbook:AMD64/Installation/Stage page
>
> Warm Regards,
> Deepak
>
> Warm Regards,
> Deepak
>
>
>
> On Sun, 25 Jul 2021 at 09:19, Ajay kumar Gaddam <
> [email protected]> wrote:
>
>> Hi,
>>
>> After Installing Virtual box and creating a new vm for archlinux.
>> start the vm and follow these steps
>>
>> *To check the internet connectivity run commands *
>>            1) ip link
>>             2) ping archlinux.org
>>
>>
>>  it can be partitioned into three
>>
>>      /boot     /dev/sda       83     384MB                  Linux
>>      swap     /dev/sda2     82     512MB                  SWAP
>>      /            /dev/sda3     83     remaining space    Linux
>>
>> *Partition steps*
>> fdisk /dev/sda
>>       m  Enter -- help
>>       o  Enter --- to change disk label type to dos
>>       p  Enter --- to print the details of partitioned
>>
>>  n  Enter --- new partition
>>       Enter --- to select partition type like primary or secondary
>>       Enter ---- to select start of the memory
>>       +384M  Enter --- size
>>   p  Enter
>>
>>  n  Enter
>>       p  Enter
>>       Enter
>>       Enter
>>       +512M   Enter
>>
>>   t   Enter
>>        Enter
>>        L  Enter -- to list
>>        82 Enter -- Linux swap
>>        p  Enter
>>
>>   n   Enter
>>        Enter -- partition type
>>        Enter
>>        Enter -- to give remaining size for root partition
>>
>>    p  Enter
>>         w  Enter --- to write the changes to disk
>>
>> *boot flag steps*
>> fdisk /dev/sda    Enter
>>         p  Enter
>>         m  Enter
>>         a   Enter --- set boot flag
>>         1   Enter --- select boot partition number like 1 or 2
>>         p   Enter
>>         w   Enter
>>
>>
>> --> mkswap /dev/sda2
>> --> mkswap -L SWAP /dev/sda2
>> --> swapon  /dev/sda2
>> --> mkfs.ext3 -L BOOT /dev/sda1
>> --> mkfs.ext3 -L Root -j /dev/sda3
>> --> mount -v /dev/sda3 /mnt
>> --> mkdir /mnt/boot
>> --> mount -v /dev/sda1 /mnt/boot
>> --> pacstrap /mnt base base-devel linux linux-firmware net-tools
>> bind-tools grub nano dhcpcd os-prober ifplugd openssh openresolv  --- you
>> can add any other packages you want to install
>> --> genfstab -U /mnt >> /mnt/etc/fstab
>> --> arch-chroot /mnt
>> --> ln -sf /usr/share/zoneinfo/Asia/Kolkata /etc/localtime
>> --> locale-gen
>> --> LANG=en_US.UTF-8 >> /etc/locale.conf
>> --> echo arch >> /etc/hostname -- I gave "arch" as my hostname
>> --> hostnamectl hostname arch -- to set hostname
>> --> echo '127.0.0.1 arch.localdomain arch' >> /etc/hosts
>> --> passwd -- setting password for root user
>> --> useradd -m normalUser -g wheel -- to create other user, you can
>> replace the normalUser with the name you want to create
>> --> passwd normalUser -- to set password for normalUser
>> --> grub-install /dev/sda
>> --> grub-mkconfig -o /boot/grub/grub.cfg
>> --> umount -R /mnt
>> --> exit
>> --> reboot
>>
>> After reboot select boot into existing OS
>> login: root
>> password: your password
>>
>> as the enp0s3 is down, to enable and start it have to run following
>> commands
>> --> *systemctl enable dhcpcd --- *if you are logged in as non-root user
>> prefix sudo
>> -->*systemctl start dhcpcd*
>> now check *ping *to confirm internet is connected and continue using OS
>>
>> Regards
>> Ajay Kumar Gaddam
>>
>> On Sun, Jul 25, 2021 at 7:07 AM Deepak Kumar <[email protected]> wrote:
>>
>>> Greetings Ajay. I think you are referring Oracle virtualbox?
>>>
>>> Please share steps. It will help all of us.
>>>
>>> Warm regards,
>>> Deepak
>>>
>>> On Sat, 24 Jul 2021 at 18:49, Ajay kumar Gaddam <
>>> [email protected]> wrote:
>>>
>>>>
>>>>
>>>> On Sat, Jul 24, 2021, 6:09 PM Deepak Kumar <[email protected]> wrote:
>>>>
>>>>> Greetings Ragini/Saifi.
>>>>> Is it possible to do setup in my Laptop? or I need cloud account?
>>>>> Others also should have similar questions
>>>>>
>>>>> Kindly provide the guide for setup need.
>>>>>
>>>>
>>>> I am using arch linux in virtula box. If you want to do the same. I can
>>>> share the installation steps.
>>>>
>>>> Regards
>>>> Ajay kumar G
>>>>
>>>>>
>>>>>

Reply via email to