5 - Installing Kali Linux Flashcards

1
Q

What are the minimum RAM and storage space requirements for installing Kali with Xfce desktop and kali-linux-default?

A
  • 2048 MB RAM
  • 20 GB disk space
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

On the low end, setting up Kali with just an SSH Shell, what are the minimum RAM and storage space requirements?

A
  • 128 MB RAM (512 recommended)
  • 2 GB disk space
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Which CPUs does Kali Linux support?

A
  • amd64
  • i386
  • arm64
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Once the BIOS/UEFI has begun booting from the USB drive or DVD-ROM, the ________ ____ ______ menu appears

A

isolinux boot loader

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

How do you validate or modify the boot command lines in the isolinux boot loader?

A

Press Tab

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

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?

A
  • installation promts will be in the chosen language
  • some default options for installation will change
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

During the Kali step-by-step installation, the second step is to choose a country. What effect does the answer have?

A
  • some default options for installation will change, such as time zones
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is the difference between a graphical-mode and text-mode installation?

A

The appearance.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

The installer’s hardware detection step wants to identify and mount which device first?

A

The boot device.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

It’s essential for the installer to install network hardware if the installation is a _______ ____________.

A

network installation

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Which protocols does the installer try for configuring the network connection?

A
  • DHCP IPv4 and IPv6
  • ICMPv6’s Neighbor Discovery Protocol
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

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

A

netcfg/use_dhcp=false

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

If automatic DHCP configuration fails, which two choices will the installer offer?

A
  • Try DHCP again, declaring the name of the machine.
  • Set up a static network configuration.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What’s a command for generating random passwords?

A

pwgen

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Why is it beneficial for the system’s internal clock to be updated from a network time protocol (NTP) server during OS installation?

A

Timestamps on logs will be correct from the first boot.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

When selecting “All files in one partition.” In the installation wizard, how many partitions are created?

A

2:
* /
* /swap

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

What is a benefit of having /home installed to a separate partition?

A

Easier to preserve user data, in the event of a reinstallation

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

“Separate /home, /var, and /tmp partitions” is an appropriate installation choice in what situation?

A

Servers and multi-user systems

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

Why would you want ‘/var/` on a separate partition?

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

In manual partitioning mode, how can you shrink a Windows partition?

A

Choose the Windows partition and enter its new size.

21
Q

“You should install GRUB to the Master Boot Record (MBR) unless ______________________________”

A

“…you already have another Linux system installed that knows how to boot Kali Linux.”

22
Q

Which drive should you select to install GRUB on when prompted to manually select the drive?

A

The computers current boot drive.

23
Q

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?

A

Start the Kali installer with the rescue/enable=true parameter on the kernel command line.

24
Q

Where can you get more information on reinstalling the boot loader?

A

The Debian installation manual

25
Using LVM, you can make what kind of partition?
A "virtual" partition
26
What is a `virtual partition`?
A logical `volume group` which can span more than one physical volume.
27
What is `LVM`?
Logical Volume Management
28
What is `LUKS`?
Linux Unified Key Setup
29
Which part of Linux provides an encryption layer underneath your file system?
The _dm-crypt_ driver
30
"LUKS standardizes the storage of ________ data."
"encrypted"
31
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.
32
"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"
33
"The installer can also be automated through ________ preseeding"
`debconf`
33
"The installer can also be automated through ________ preseeding"
`debconf`
34
What is The `debconf` tool?
The interactive wizard that queries the user for installation parameters.
35
What file can you look at to see the boot parameters that end up in the kernel command-line?
`/proc/cmdline`
36
How can you preseed installer questions?
* By adding boot parameters * By using a `preseed.cfg` file
37
How many boot parameters can you have?
32
38
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 as `debian-installer/language=en` * Using abbreviations for common questions, such as `debian-language=en`
39
Whats the name of the file in the root of the installer's `initrd` containing preseeded answers for an attended/unattended installation?
`preseed.cfg`
40
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
41
Can you use the traditional Kali installer on an ARM device?
No
42
What did Offsec develop to make kali installation more approachable to ARM users?
Scripts to build disk images
43
How do you switch to virtual console 1 (The classic text mode installer) from the installer GUI
`CTRL+ALT+F1`
44
During installation, which virtual console can you switch to to see logs of what is happening?
Console 4 (`CTRL+ALT+F4`)
45
How can you activate a host shell during installation?
Use the second or third virtual console. (`CTRL+ALT+F2`)
46
What can be done in the installer shell?
* You can inspect and modify the debconf database with `debconf-get` and `debconf-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
47
What does the `scp` command do?
Securely copy files to/from remote computers via ssh.