Загрузка...

[PART 2] How to install Kali Linux on USB Drive (manual debootstrap method)

Cmds

sudo mount --bind /dev /mnt/kali/dev
sudo mount --bind /dev/pts /mnt/kali/dev/pts
sudo mount --bind /proc /mnt/kali/proc
sudo mount --bind /sys /mnt/kali/sys
sudo mount --bind /run /mnt/kali/run
sudo chroot /mnt/kali /bin/bash
# 1. Clear out old configurations and write the official Kali Rolling mirror path
echo "deb http://http.kali.org/kali kali-rolling main contrib non-free non-free-firmware" (right opening angled bracket) /etc/apt/sources.list

# 2. Update the system package cache index
apt update

# 3. Install locales, system firmware, network management, and your essential CLI tools
apt install locales firmware-linux network-manager wget sudo nano -y

# 4. Generate system locale files (Select en_US.UTF-8 or whatever ur locale is from the terminal pop-up menu)
dpkg-reconfigure locales

# 1. Set the primary machine hostname strictly to 'kali'
echo "kali" (angled right opening bracket) /etc/hostname

# 2. Re-write the hosts loopback routing directory table
echo -e "127.0.0.1\tlocalhost\n127.0.1.1\tkali" (angled right opening bracket) /etc/hosts
# 1. Install the core 64-bit Linux kernel images
apt install linux-image-amd64 -y

# 2. Install the GRUB bootloader components for standard MBR drive maps
apt install grub-pc -y

# 3. Explicitly execute the installation of GRUB to the Master Boot Record sector of the target disk
grub-install /dev/sdb

# 4. Compile the boot paths and generate the layout configuration binary file
update-grub

# 1. Instruct the system init daemon to run NetworkManager natively at startup
systemctl enable NetworkManager

# 2. Define your root password security string
passwd root

# 3. Create the primary regular user profile
adduser (ur name)
usermod -aG sudo (ur name)
chsh -s /bin/bash (ur name)
exit

save all works and do this

sudo init 0

Видео [PART 2] How to install Kali Linux on USB Drive (manual debootstrap method) канала Tango Tech
Яндекс.Метрика
Все заметки Новая заметка Страницу в заметки
Страницу в закладки Мои закладки
На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.
О CookiesНапомнить позжеПринять