Sections of the site
Editor's Choice:
- Olivia Culpo before plastic surgery
- When to stop exercising
- Four tips on how to instill in your child a love of sports If the child does not want to play sports
- Ideas for how to tie a scarf around your neck beautifully
- How beautiful to tie a scarf around your neck and head?
- Successful poses of girls for a photo shoot (59 poses) How to prepare a face for a photo shoot
- Combinations of colors and shades
- Everything you need to know about accessories
- Black and white light pictures for sketching
- Temple in honor of the Annunciation of the Blessed Virgin Mary
Advertising
Installing kali linux next to windows 10. Installing Kali as an additional operating system on a Windows computer. Installing Kali Linux with Windows |
Almost every user today has heard about the free Linux operating system. The open platform for development and the availability of the system made it very popular. But if you've never used it, installing it instead of Windows can be reckless. It is much more convenient to install any of the versions of Linux as a second operating system on your device. Reasons to install Linux alongside Windows 10Windows 10 is the latest operating system from Microsoft. She is successful and versatile. Few users will be able to completely abandon its use for the sake of installing Linux. In turn, Linux has a number of advantages over other operating systems:
The downsides, however, are also obvious:
Installing different builds of LinuxSince Linux is open to user development, there are many different versions of this operating system.
Each user should choose an assembly for their needs before proceeding directly to the installation. Preparations before installationBefore you start installing the version of Linux you have chosen, you need to do some preparatory work with your hard drive. To begin with, it is worth saving all the necessary files to the drive, since during installation there is a risk of losing them. Then you should partition the disk into sections for the correct installation of the second operating system. Partitioning a partition using the Disk Management system programYou can also split the partition directly during the installation of Linux. But if you do this in advance, you can avoid some unnecessary risks during installation. Partitioning a Partition Using the Linux InstallerRegardless of which version of Linux you are installing, you will need to partition your drive. If you didn't do this before installation, you can also do it during installation.
Partitioning is complete, which means you can continue with the installation. Install Linux Ubuntu alongside Windows 10You can download the latest Linux Ubuntu system from its official website. After that, follow these steps:
Video: detailed installation of Linux Ubuntu on a computer with BIOSInstalling Linux Mint next to Windows 10To install Linux Mint, you need to do the following:
Video: installing Linux Mint on a computer with another OSInstalling Kali Linux alongside Windows 10Installing a Kali build is somewhat different from the previous ones.
Video: how to install Kali Linux on a computerInstalling Kubuntu alongside Windows 10The process of installing Kubuntu Linux is similar to installing Ubuntu, which is not surprising at all. To install Kubuntu alongside your Windows, follow these steps:
Installing Rosa Linux alongside Windows 10As with other builds, to install Rosa Linux you need to download the necessary image and burn it to media.
Video: Installing Rosa Linux on a Windows PCInstalling Arch Linux next to windows 10Installing Arch Linux will be significantly more difficult than installing others. If you are not an advanced user, it is recommended to select a different build. Otherwise, follow these steps to prepare for system installation:
Directly installing Arch Linux will also require you to enter commands:
Installing Ubuntu on VirtualBox Windows 10Before installing the Ubuntu operating system on VirtualBox, you must complete the following steps: After that, open VirtualBox and follow these steps:
Restoring Windows 10 Boot After Installing UbuntuIf errors occur during system installation, the Windows boot loader may fail. This will make it impossible to start Windows 10. Luckily, this isn't hard to fix. You will need a Windows 10 installation disc, which you can prepare just like you would any other boot drive. It is important that the version of Windows is exactly the same as the one you have installed. Mount the image and then do the following: Installing Linux as a second operating system is a good idea, but it is important to choose a build based on your goals and technical knowledge. If you have certain skills, you can easily install any of the assemblies. Using Linux along with Windows 10 will help you get the most out of your computer. Now Kali Linux has appeared in the Microsoft Store. Powered by Windows Subsystem for Linux (WSL). If you are too lazy to follow the link, then WSL is such a Wine on the contrary, it allows you to run Linux applications natively (without a virtual computer) on Microsoft OS. Of the benefits - improved performance (compared to working in a virtual OS). And there are many different disadvantages: lack of support for raw sockets, hardware, partial support for the graphical interface, a number of kernel interfaces are not implemented, and so on. I am not particularly close to the concept of WSL (in the form in which it is implemented now). Therefore, this note will be small: we will look at installing Kali Linux from the Windows App Store, run it, install a couple of applications, do a test run of them, install a GUI and connect to it. And why do you need to do all this through WSL - you already come up with it yourself. How to Install Kali Linux on WSL
1. WSL is available on updated Windows 10. So update your Windows, open the window PowerShell(win+x) and run the command there Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux 2. After the reboot, open the Microsoft Store and look for the application " Kali Linux". Or just click to go there right away. Install the app and enjoy Kali! Click to install Get. How to run Kali Linux on WSL
To "enjoy Kali" you need to at least run it. To do this, open PowerShell again and run the command Initialization takes place at the first start - this takes some time. We are then asked to create a default UNIX account. It may have nothing to do with your Windows user: By default, the minimum number of packages is set. Therefore, you need to install the programs you need yourself. The changed command line is your new Kali Linux. Installing programs in Kali Linux on WSL
Everything is similar to the usual work in the console. Let's start with the system update: sudo apt update sudo apt dist-upgrade sudo apt install wpscan whatweb When installing some programs, for obvious reasons, there may be problems with the antivirus. You need to solve these problems on an individual basis (maybe add the entire Kali Linux folder - C:\Users\Alex\AppData\Local\Packages\KaliLinux.54290C8133FEE_ey8k8hqnwqnmg\ - to the antivirus exclusions). How to run a program in Kali Linux on WSL
If you are used to the Kali Linux menu, then you will have to relearn how to run programs from the console. If you already run them in the console, then launching programs is no different: For example, let's update the wpscan database Sudo wpscan --update Let's check some site on WordPress: sudo wpscan -u spryt.ru Let's collect some information about the site using what web: whatweb suip.biz How to restore Kali WSL
If you messed up the operating system (deleted files necessary for the OS to work, etc.), or just want to start from scratch, then it is possible to reset the Kali Linux installation in WSL to its original state. Use Win+x to open " Applications and features”, find Kali Linux: Click " Extra options", on the new page, click the button" Reset»: The system will be removed and a new instance deployed. Accordingly, all changes made earlier will disappear. Kali Linux GUI on WSL
Install XFCE: Wget https://kali.sh/xfce4.sh sudo sh xfce4.sh During the installation process, select the keyboard layout language and how to switch layouts (to navigate between elements, use the key TAB): At the end, a message will appear that XRDP is configured to listen on port 3390, but the service itself is not running. To start the service, run: sudo /etc/init.d/xrdp start On successful launch, you will see something like this: [....] Starting Remote Desktop Protocol server: xrdp-sesman xrdp Testing if xrdp can listen on 0.0.0.0 port 3390. Closed socket 6 (AF_INET6::port 3390) Now in Windows press Win+x and select " Run". In the window that opens, enter: A new window will open, enter 127.0.0.1:3390 And press the button To plug». A window will be displayed with a message: Unable to authenticate the remote computer. Do you want to connect anyway? This issue can occur if the remote computer is running a version of Windows earlier than Windows Vista, or if the server is not configured to support authentication. Contact your network administrator or the owner of the remote computer for assistance. Check the box " Don't ask me again about connections to this computer" and press " Yes». A login window will appear, enter your Kali Linux username and password: After signing in, you will be prompted, select " Use default config»: Using a graphical desktop environment, you can run programs with a graphical interface (after they are installed). To exit explicitly end the service, to do this, click on the username, click " logout…»: Then uncheck the " Save session for future logins" and press " log out»: Stop the service sudo /etc/init.d/xrdp stop Conclusion
Unfortunately, due to the implementation of the WSL architecture, some Kali Linux tools will not work. But those that work (various site crawlers, brute forcers, network traffic capture file analyzers, and others) are quite convenient to use directly from the Windows command line, without having to run a whole virtual machine with Kali Linux, or reboot into a second system (if Kali is not your primary OS). you already know about Faculty of Information Security from GeekBrains? Comprehensive annual program practical training covering all the main topics, as well as with additional courses For a present. Based on the results of the training, certificate standard pattern and certificate. Special discount for any faculties and courses! With the introduction of the Windows Subsystem for Linux (WSL) in Windows 10, new features have come along, such as support for Linux distributions, in particular Ubuntu. In this article, I will tell you how to use this subsystem to connect Kali LInux in a Windows environment without using a virtualization system. While Kali on Windows may not be optimal due to various limitations, there are still many situations where Kali Linux may be needed to be used in conjunction with Windows 10. For example, this could be workspace consolidation, especially if Windows is your primary workspace. . It can also be useful to standardize tools and scripts to work across multiple environments, quickly porting Linux penetration testing command line tools to Windows, etc. There are several steps to follow to install Kali. First of all, you need to enable and install the Windows Subsystem for Linux Command Reference - run a powershell shell with administrator rights, run the command and reboot your machine: Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux After reboot, you need to install Ubuntu-environment: lxrun /install Next, you need to install the WSL Distribution Switcher. This program is designed to switch the Linux subsystem to use different Linux distributions. Rootfs images are currently downloaded from the Docker Hub repositories as sources or prebuilt builds. (To clone a project from a git repository, you need to install a git client on Windows 10, for example from here: https://git-scm.com/download/win , and also install python for Windows). git clone https://github.com/RoliSoft/WSL-Distribution-Switcher.git cd WSL-Distribution-Switcher python get-prebuilt.py kalilinux/kali-linux-docker python install.py rootfs_kalilinux_kali-linux-docker_latest.tar. gz lxrun /setdefaultuser root Now that Kali-environment is deployed on your Windows 10, you can invoke it with the command: bash export LANG=C apt-get update && apt-get dist-upgrade After deploying Kali-environment, we can install the necessary utilities and use them from Windows: In this simple way, you will get a modern distribution kit for penetration testing in your Windows environment without starting virtualization systems, reboots and other things. Also, you need to take into account that utilities for working with iron, for wardriving, etc. will not work normally from such an environment. Now many modern laptops do not have a DVD drive, so it is impossible to install the operating system from an optical disc. This is not a problem, since the installation can be done entirely from a USB drive, including a regular USB flash drive. We need an operating system installation image (.iso file) and a flash drive, at least 4 GB in size. Download Kali Linux from the official website: https://www.kali.org/downloads/ If you have difficulty which version to choose, then read about their difference. Now you need to burn the image from Windows to a USB flash drive. It has to be done right - it's not enough to just copy the file. To get a flash drive suitable for installing the operating system, you need a program like. This is a free program - download and install it. Connect your flash drive to your computer and launch Win32 Disk Imager. Specify the image file (switch to view all files): and correctly select Device (i.e. flash drive): When you're done, click the button Write. Remember that all data from the flash drive will be deleted! How to boot from a flash drive Kali Linux
Disabling Secure Boot in BIOS While the flash drive is being written, we need to turn off the Secure Boot option in BIOS. Turn on your computer. If it does not have an operating system, then you will immediately enter the BIOS. If the operating system is already installed, press the button many times when booting the computer. Esc Delete) and select Enter Setup(may automatically enter BIOS): Click F7 to go to Advance Mode and there select the tab Security. Find an option secure boot: Disable it (choose disabled): To save the settings, press F10. Look for an option fast boot- if you have it, also disable it ( disabled). Booting from a flash drive Kali Linux
When writing to the USB flash drive is over, insert the USB flash drive into the laptop slot and turn it on - if the inscription " Please press any key to boot from CD or DVD”, then press any button. This inscription translates to “please press any button to boot from CD or DVD. Despite the fact that we are booting from a USB flash drive, this suits us. If the operating system is already installed, press the button many times when booting the computer. Esc(on some computers you need to press Delete). If the download options appear, then select the item that matches your flash drive. If such a menu does not appear, then go to BIOS and select a USB flash drive as a boot disk. Step-by-step instructions for installing Kali Linux on a computer
In this window select Start Installer: Choose language: Choose Yes: Choose according to your preference: A message about the need for a driver for a Wi-Fi card, I don’t have this driver, so I skip it. You may not see a message like this at all: I continue as is: I'm skipping the network setup: Enter hostname: Superuser password: Timezone: The most crucial moment is the selection and marking of disks. If you select the wrong drive, you may lose data (for example, remove another operating system): As you can see, I already have another operating system installed. If you want to remove the previous system and install Kali Linux instead, then erase the partitions from the old OS, create a new partition in the freed space and select it to install Kali. If you have multiple disks, you can install Kali Linux on any idle one. I will install Kali Linux directly on the main partition. To do this, I will change the size of the drive where Windows is installed, and on the freed space I will create another partition, which I will install a new OS. In addition to the main partition, it is proposed to install a swap partition (like a swap file on Windows). For these purposes, you can allocate a separate disk - depending on your needs, it can be 2-8 GB. The swap partition is used if the operating system does not have enough RAM - data that is not currently used is dumped onto this partition. That is, it is, as it were, additional RAM, which is slower than the main one. I have 16 gigabytes of RAM so I don't create a swap partition. Confirm the changes made: We are waiting for the end of data copying: If you have an Internet connection configured, you can choose to download packages from the network (more recent versions) Wait until the system starts to reboot and remove the flash drive: After installing Kali Linux, it will create its own GRUB bootloader. If you have other operating systems on your computer, this bootloader will find them all and put them in the boot menu for you to choose from. Remember that the original Windows bootloader is not erased. That is, if you want Windows to boot by default, then go to BIOS and select the desired disk there, which should automatically boot. Wrong GRUB display resolution
Usually the GRUB bootloader menu has the wrong display resolution. In the vast majority of cases, this is not a problem - the menu items are still visible, and quick-witted Linux immediately changes the resolution to the correct one as soon as it takes over control. But not so with Windows. If you booted Windows using the GRUB bootloader with the wrong permission, then Windows will no longer be able to set the permission to the correct one in this session, even if you go to do it manually. The easiest way to fix the situation is to change the GRUB screen resolution. First you need to find out what resolutions your computer supports. To do this, hold down the key while the download starts. Shift. When the GRUB boot menu appears, press the button c, and then in the console enter the command: video info Take note of the highest display resolution that your video adapter supports. Then boot into Linux. Open the file for editing /etc/default/grub. Find the line in it #GRUB_GFXMODE=640x480 Uncomment it (remove the hash at the very beginning) and replace 640x480 with the maximum resolution your computer supports. This is usually 1920x1080, so it should look something like GRUB_GFXMODE=1920x1080 Save and close this file. Update bootloader settings: sudo update-grub The next time you reboot, you will be able to enjoy the tiny letters in the upper left of the screen, but Windows will now have a normal resolution. Kali Linux is a distribution that is becoming more and more popular every day. In view of this, there are more and more users who want to install it, but not everyone knows how to do it. This article will provide step-by-step instructions for installing Kali Linux on a PC. To install the operating system, you need a flash drive with a capacity of 4 GB or more. The Kali Linux image will be written to it, and as a result, the computer will start from it. If you have a drive, then you can proceed to the step-by-step instructions. First you need to download an image of the operating system. It is best to do this from the official website of the developer, since this is where the distribution kit of the latest version is located. On the page that opens, you can determine not only the method of downloading the OS (Torrent or HTTP), but also its version. You can choose between 32-bit and 64-bit systems. Among other things, it is possible at this stage to choose a desktop environment. Having decided on all the variables, start downloading Kali Linux on your computer. Step 2: Write the image to a flash driveInstalling Kali Linux is best done from a flash drive, so first you need to write a system image to it. On our site you can find a step-by-step guide on this topic. Step 3: Starting the PC from the flash driveAfter the flash drive with the system image is ready, do not rush to remove it from the USB port, the next step is to boot the computer from it. This process will seem quite complicated for the average user, so it is recommended that you first familiarize yourself with the relevant material. Step 4: Beginning the installationAs soon as you boot from the flash drive, a menu will appear on the monitor. In it, you need to select the method for installing Kali Linux. The GUI installation will be presented below, as this method will be the most understandable for most users.
Depending on the power of the computer, this process may take longer. After it ends, you will need to create a user profile. Step 5: Create a user profileThe user profile is created as follows: After entering all the data, the program for marking the HDD or SSD will start loading. Step 6: Partition disksMarking can be done in several ways: automatically and manually. These options will now be discussed in detail. Automatic marking method The main thing you should know is that by auto-partitioning a disk, you will lose all data on the drive. Therefore, if there are important files on it, move them to another drive, such as Flash, or place them in the cloud storage. So, for markup in automatic mode, you need to do the following:
Manual marking method The manual partitioning method compares favorably with the automatic partitioning method in that it allows you to create as many partitions as you wish. It is also possible to save all the information on the disk, leaving the previously created partitions untouched. By the way, in this way you can install Kali Linux next to Windows, and when you start the computer, select the required operating system to boot. First you need to go to the partition table. Now you can move on to creating new sections, but first you need to decide on their number and type. Three markup options will be presented now: Low security markup: Medium security markup: Markup with the maximum level of security: You just have to choose the optimal markup for yourself and proceed directly to it. It is carried out as follows:
Using this instruction, partition the disk of the appropriate security level, then press the button "Finish partitioning and write changes to disk". As a result, you will be provided with a report with all the changes made earlier. If you do not observe differences with your actions, select the item "Yes". Next, the installation of the basic component of the future system will begin. This process is quite long. By the way, in the same way you can mark up a Flash drive, respectively, in this case, Kali Linux will be installed on a USB flash drive. Step 7: Finishing the installationOnce the base system is installed, there are some more settings you need to make:
After all the steps taken, your computer will restart, then a menu will appear on the screen where you will need to enter a username and password. Please note that the login is carried out under the superuser account, that is, you need to use the name root. Finally, enter the password that you came up with when installing the system. Here you can also define the desktop environment by clicking on the gear next to the button "Entrance" and choosing from the list that appears. ConclusionAfter completing each prescribed item of the instruction, in the end you will be taken to the desktop of the Kali Linux operating system and will be able to start working on the computer. |
Popular:
New
- When to stop exercising
- Four tips on how to instill in your child a love of sports If the child does not want to play sports
- Ideas for how to tie a scarf around your neck beautifully
- How beautiful to tie a scarf around your neck and head?
- Successful poses of girls for a photo shoot (59 poses) How to prepare a face for a photo shoot
- Combinations of colors and shades
- Everything you need to know about accessories
- Black and white light pictures for sketching
- Temple in honor of the Annunciation of the Blessed Virgin Mary
- Miracles through the prayers of St. Anthony