Hp pavilion linux install

How to install Kali Linux on HP Pavilion – 15-bc408tx from USB

In this guide, we will provide a complete process to Install Kali Linux on HP Pavilion – 15-bc408tx. Please follow this step-by-step guide for a successful install of this Linux Operating system on your Laptop.

About HP Pavilion – 15-bc408tx

  • The laptop is powered by an Intel Core i7-8750H Processor with 8 GB DDR4 RAM and 1 TB of Storage.
  • The graphics are powered by NVIDIA GeForce® GTX 1050 (4 GB GDDR5 dedicated)
  • Lastly, It weights 2.2 kg and Windows 10 Home Single Language 64 installed

About Kali Linux

Kali Linux is a Debian-based Linux distribution that is based on security tasks such as Penetration Testing, Computer Forensics, Security research, and Reverse Engineering. The operating system is developed and maintained by Offensive security. Furthermore, there are more than 600 penetration testing tools included in Kali Linux. Lastly, it has many advantages over other operating systems available which are discussed below,

Advantages of installing Kali Linux

There are many advantages of installing Kali Linux on you Asus Predator Helios 300 which are as follows,

  • Advanced Penetration tools available: There are more than 600+ advanced penetration tools available on Kali Linux.
  • Open-sourced: Kali Linux is an open-sourced system where all the codes can be easily seen and developed by others. The open development tree helps users to see the development at each and every step.
  • Free Tools: This the main reason why people use Kali Linux.
  • Wireless support nowhere possible: Kali Linux provides to connect as many as WiFi spots or USB ports at one time. It also makes to be compatible with numerous USB.
  • Multiple language support: Multiple language support is not possible in other operating systems where users can get the support of their local language.
  • Support for both ARMEL and ARMHF systems: ARM-based controllers like Rasberry Pi and ARMH is supported by Kali Linux.
Читайте также:  What is options linux

Installation Prerequisites

  • A minimum of 20 GB disk space for the Kali Linux install.
  • RAM minimum: 1GB, and recommended: 2GB or more.
  • USB or CD-DVD Drive boot support.

Preparation

  1. Download Kali Linux from the official website if you have not downloaded yet.
  2. Boot the ISO file from USB by following the instructions below.
  3. Lastly, change the boot order to the USB drive from BIOS settings.

1. To boot from USB

HP Pavilion - 15-bc408tx boot from usb to install kali linux

  1. After installing Rufus simply select the ISO file from the file manager and accept all settings when the popup window appears.
  2. Select the MBR partition scheme for BIOS or UEFI and If your laptop has UEFI bios then select the other two options.
  3. For the Filesystem select NTFS option and select if your PC has UEFI bios then select FAT32.
  4. The default Cluster size option should be selected.
  5. Make sure all three options including Quick Format, Create a Bootable disk using and Create extended labels and icon files are selected.
  6. Finally, start the process and this software will automatically format and create a bootable USB flash drive.

2. Change boot-order to boot from USB in HP Pavilion – 15-bc408tx

  • As soon as you press the power-on button, immediately start hitting the Esc button before any logo appears.
  • This should open an HP Startup Menu.
  • Choose F9 to open Boot Device options
  • IF you have attached your USB drive to your laptop then BIOS will show the name or brand of that USB.
  • Select it and boot from USB

Instructions to install Kali Linux on HP Pavilion – 15-bc408tx

  1. After booting your USB or CD drive you can turn off your computer and insert the bootable USB in your Laptop.
  2. Now turn on the PC and continue with the process of installing Kali Linux on HP Pavilion – 15-bc408tx.
  3. You can either install Kali Linux or run it live by using your bootable USB stick. But Kali Live will not save your data so it’s better to install Kali Linux completely. In case, you don’t want to lose the windows data prefer Dual-Boot Kali Linux Windows.
  4. Let’s continue with the graphical install option provided above.
  5. After clicking on continue the image will get installed in the hard drive in your system. Next, it will be asking the hostname where you can provide any name such as Kali.
  6. Now enter the password for the root account.
  7. Set the time zone. Now the installer will provide 4 options for the Partition disks where you should choose “Guided-use entire disk and set up encrypted LVM”.
  8. Select the disk to be partitioned. Either you can keep all the files in one partition or keep all the files in different partitions. If you are not sure about how to create separate partitions then keep all the files in one partition.
  9. This is the last chance to review all the options you have selected after clicking on continuing the process installing Kali Linux on HP Pavilion – 15-bc408tx will start and complete.
  10. Click yes to the network mirrors option NOTE! If you select the “NO” option on this screen, you will NOT be able to install packages from Kali Linux repositories.
  11. Now install GRUB Boot Loader on the hard disk.
  12. Finally, click on Continue to reboot into your new Kali Linux installation on your HP Pavilion – 15-bc408tx.
Читайте также:  Bluetooth kali linux установка

Welcome To HP Pavilion – 15-bc408tx Kali Linux

Install kali Linux on HP Pavilion - 15-bc408tx

Источник

Arch Linux Installation Guide on HP Pavilion

To verify if it is UEFI mode, use this command:
ls /sys/firmware/efi/efivars
If it show some details, the system is UEFI. Otherwise, the system may be booted in BIOS or CSM mode.

Connect to the internet

Because I’m using HP laptop. so i just need connect to wifi with this command wifi-menu . If you want to connect to wired network, reference official guide about dhcpcd
You can check this connection by ping www.archlinux.org .

Update the system clock

Use timedatectl set-ntp true to ensure the system clock is accurate, to check the service status, use timedatectl status .

Partition the disks

Use lsblk or fdisk -l to vertified device.
First, run fdisk /dev/sda (note: if your device is /dev/sdX, run fdisk /dev/sdX ), and you will enter the fdisk dialog.
Next enter m you will get help details. If you use a separate hard drive. enter g to format it as GPT.
Next, enter n to create new partitions, enter w to exit if you finished. This is my partition layout:

Mount points Partition Partition Type Size
/mnt /dev/sda3 linux filesystem 50G
/mnt/boot /dev/sda2 linux filesystem 500M
/mnt/boot/EFI /dev/sda1 EFI system partition 500M
[swap] /dev/sda4 linux swap 16G
/mnt/home /dev/sda5 linux filesystem 300G

Format the partitions

If the EFI partition is on /dev/sdX0, run:
mkfs.fat -F32 /dev/sdX0 If the root partition is on* /dev/sdX1* and will contain the ext4 file system, run:
mkfs.ext4 /dev/sdX1 If you created a partition for swap, initialize it with mkswap:

mkswap /dev/sdX2 swapon /dev/sdaX2 
mkfs.fat -F32 /dev/sda1 mkfs.ext4 /dev/sda2 mkfs.ext4 /dev/sda3 mkfs.ext4 /dev/sda5 mkswap /dev/sda4 swapon /dev/sda4 

Mount the file systems

mount /dev/sda3 /mnt mkdir /mnt/boot mount /dev/sda2 /mnt/boot mkdir /mnt/boot/EFI mount /dev/sda1 /mnt/EFI mkdir /mnt/home mount /dev/sda5 /mnt/home 

Installation

Select mirrors

  • Open mirrorlist file by nano /etc/pacman.d/mirrorlist
  • Uncomment your selected server.
  • save changes ### Install the base packages Use pacstrap /mnt base base-devel ## Configure the system ### Generate an fstab file
  • Use genfstab -U /mnt >> /mnt/etc/fstab
  • Check it in case of errors: cat /mnt/etc/fstab ### Into new system Run arch-chroot /mnt ### Timezone and Location
  • Set Timezone:
    ln -sf /usr/share/zoneinfo/Region/City /etc/localtime
  • Set the hardware clock:
    hwclock —systohc
  • Set location
  • Uncomment en_US.UTF-8 UTF-8 and other needed locales in /etc/locale.gen, and generate it:
nano /etc/locale.gen locale-gen 

By the way, the new system doesn’t have vim .

nano /etc/locale.conf LANG= en_US.UTF-8 UTF-8 

Network Config

  • Create the hostname file and enter your hostname: nano /etc/hostname .
  • Add matching entries to hosts:
127.0.0.1 localhost ::1 localhost 127.0.1.1 myhostname.localdomain myhostname 

Set root password

Enable microcode updates

pacman -S intel-ucode # for intel CPU pacman -S amd-ucode # for amd CPU 

Install and set Bootloader

  • Install related packages: pacman -S grub dosfstools efibootmgr
  • Install grub grub-install —target=x86_64-efi —efi-directory=/boot/EFI —recheck
  • Use the grub-mkconfig tool to generate /boot/grub/grub.cfg: grub-mkconfig -o /boot/grub/grub.cfg
Читайте также:  Посмотреть переменные среды линукс

Install Wireless LAN tools

I use wifi-menu to connect to wifi, so I need this packages:
pacman -S wpa_supplicant dialog iw

Add a user

  • Add a user useradd -m -g users -s /bin/bash username
  • Set password for user passwd username
  • Privilege escalation(sudo) nano /etc/sudoers and add username ALL=(ALL) ALL below root ALL=(ALL) ALL

Post-Installation

Install display server

Run the minimal command: pacman -S xorg-server .

Install display driver

Because I use*NVIDIA MX150* graphics card, I use this xf86-video-nouveau driver. For details you can referrence this. If you use amd card, you can read this

Thank you for reading!
I will continue to update this article later if I find something.

Источник

Оцените статью
Adblock
detector