5 - Installing Kali Linux Flashcards
What are the minimum RAM and storage space requirements for installing Kali with Xfce desktop and kali-linux-default?
- 2048 MB RAM
- 20 GB disk space
On the low end, setting up Kali with just an SSH Shell, what are the minimum RAM and storage space requirements?
- 128 MB RAM (512 recommended)
- 2 GB disk space
Which CPUs does Kali Linux support?
- amd64
- i386
- arm64
Once the BIOS/UEFI has begun booting from the USB drive or DVD-ROM, the ________ ____ ______ menu appears
isolinux boot loader
How do you validate or modify the boot command lines in the isolinux boot loader?
Press Tab
During the Kali step-by-step installation, the first step is to choose a language for the install process. What effect does the answer have?
- installation promts will be in the chosen language
- some default options for installation will change
During the Kali step-by-step installation, the second step is to choose a country. What effect does the answer have?
- some default options for installation will change, such as time zones
What is the difference between a graphical-mode and text-mode installation?
The appearance.
The installer’s hardware detection step wants to identify and mount which device first?
The boot device.
It’s essential for the installer to install network hardware if the installation is a _______ ____________.
network installation
Which protocols does the installer try for configuring the network connection?
- DHCP IPv4 and IPv6
- ICMPv6’s Neighbor Discovery Protocol
When booting the installer from the live disk, what boot parameter could you add to tell the installer not to configure the network with DHCP
netcfg/use_dhcp=false
If automatic DHCP configuration fails, which two choices will the installer offer?
- Try DHCP again, declaring the name of the machine.
- Set up a static network configuration.
What’s a command for generating random passwords?
pwgen
Why is it beneficial for the system’s internal clock to be updated from a network time protocol (NTP) server during OS installation?
Timestamps on logs will be correct from the first boot.
When selecting “All files in one partition.” In the installation wizard, how many partitions are created?
2:
* /
* /swap
What is a benefit of having /home
installed to a separate partition?
Easier to preserve user data, in the event of a reinstallation
“Separate /home
, /var
, and /tmp
partitions” is an appropriate installation choice in what situation?
Servers and multi-user systems
Why would you want ‘/var/` on a separate partition?
It prevents a machine user from using disk space needed for /var/
. And prevents software data from using disk space needed to run the system
In manual partitioning mode, how can you shrink a Windows partition?
Choose the Windows partition and enter its new size.
“You should install GRUB to the Master Boot Record (MBR) unless ______________________________”
“…you already have another Linux system installed that knows how to boot Kali Linux.”
Which drive should you select to install GRUB on when prompted to manually select the drive?
The computers current boot drive.
If you install Windows after Kali Linux, and the Windows installer removes your boot loader, how do you start to reinstall your boot loader to regain access to Kali Linux?
Start the Kali installer with the rescue/enable=true
parameter on the kernel command line.
Where can you get more information on reinstalling the boot loader?
The Debian installation manual
Using LVM, you can make what kind of partition?
A “virtual” partition
What is a virtual partition
?
A logical volume group
which can span more than one physical volume.
What is LVM
?
Logical Volume Management
What is LUKS
?
Linux Unified Key Setup
Which part of Linux provides an encryption layer underneath your file system?
The dm-crypt driver
“LUKS standardizes the storage of ________ data.”
“encrypted”
If you use a protected partition, why would you also need an encrypted /swap/
partition?
The encryption key of the encrypted partition is held in RAM, and may be copied into /swap/
when hibernating.
“The Debian and Kali installers are very modular: at the basic level, they are just executing many scripts (packaged in tiny packages called _____ …)”
“udeb—for µdeb or micro-deb”
“The installer can also be automated through ________ preseeding”
debconf
“The installer can also be automated through ________ preseeding”
debconf
What is The debconf
tool?
The interactive wizard that queries the user for installation parameters.
What file can you look at to see the boot parameters that end up in the kernel command-line?
/proc/cmdline
How can you preseed installer questions?
- By adding boot parameters
- By using a
preseed.cfg
file
How many boot parameters can you have?
32
You’re preseeding answers for an unattended installation using the /proc/cmdline
What are some ways you can format parameters to work as preseeded installation answers?
- By using the full identifier of the
debconf
question, such asdebian-installer/language=en
- Using abbreviations for common questions, such as
debian-language=en
Whats the name of the file in the root of the installer’s initrd
containing preseeded answers for an attended/unattended installation?
preseed.cfg
In addition to initrd
, you can add a preseed.cfg
file where?
- On the boot media, accessible via the
preseed/fle
boot parameter. - On the network, accessible via the
preseed/url=http://server/preseed.cfg
boot parameter
Can you use the traditional Kali installer on an ARM device?
No
What did Offsec develop to make kali installation more approachable to ARM users?
Scripts to build disk images
How do you switch to virtual console 1 (The classic text mode installer) from the installer GUI
CTRL+ALT+F1
During installation, which virtual console can you switch to to see logs of what is happening?
Console 4
(CTRL+ALT+F4
)
How can you activate a host shell during installation?
Use the second or third virtual console.
(CTRL+ALT+F2
)
What can be done in the installer shell?
- You can inspect and modify the debconf database with
debconf-get
anddebconf-se
t. These commands are especially convenient for testing preseeding values. - inspect any file, such as the installation log,
/var/log/syslog
- Use other tools available in busybox
What does the scp
command do?
Securely copy files to/from remote computers via ssh.