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
Q

Using LVM, you can make what kind of partition?

A

A “virtual” partition

26
Q

What is a virtual partition?

A

A logical volume group which can span more than one physical volume.

27
Q

What is LVM?

A

Logical Volume Management

28
Q

What is LUKS?

A

Linux Unified Key Setup

29
Q

Which part of Linux provides an encryption layer underneath your file system?

A

The dm-crypt driver

30
Q

“LUKS standardizes the storage of ________ data.”

A

“encrypted”

31
Q

If you use a protected partition, why would you also need an encrypted /swap/ partition?

A

The encryption key of the encrypted partition is held in RAM, and may be copied into /swap/ when hibernating.

32
Q

“The Debian and Kali installers are very modular: at the basic level, they are just executing many scripts (packaged in tiny packages called _____ …)”

A

“udeb—for µdeb or micro-deb”

33
Q

“The installer can also be automated through ________ preseeding”

A

debconf

33
Q

“The installer can also be automated through ________ preseeding”

A

debconf

34
Q

What is The debconf tool?

A

The interactive wizard that queries the user for installation parameters.

35
Q

What file can you look at to see the boot parameters that end up in the kernel command-line?

A

/proc/cmdline

36
Q

How can you preseed installer questions?

A
  • By adding boot parameters
  • By using a preseed.cfg file
37
Q

How many boot parameters can you have?

A

32

38
Q

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?

A
  • 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
Q

Whats the name of the file in the root of the installer’s initrd containing preseeded answers for an attended/unattended installation?

A

preseed.cfg

40
Q

In addition to initrd, you can add a preseed.cfg file where?

A
  • On the boot media, accessible via the preseed/fle boot parameter.
  • On the network, accessible via thepreseed/url=http://server/preseed.cfg boot parameter
41
Q

Can you use the traditional Kali installer on an ARM device?

A

No

42
Q

What did Offsec develop to make kali installation more approachable to ARM users?

A

Scripts to build disk images

43
Q

How do you switch to virtual console 1 (The classic text mode installer) from the installer GUI

A

CTRL+ALT+F1

44
Q

During installation, which virtual console can you switch to to see logs of what is happening?

A

Console 4
(CTRL+ALT+F4)

45
Q

How can you activate a host shell during installation?

A

Use the second or third virtual console.
(CTRL+ALT+F2)

46
Q

What can be done in the installer shell?

A
  • You can inspect and modify the debconf database with debconf-get and debconf-set. 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
Q

What does the scp command do?

A

Securely copy files to/from remote computers via ssh.