Install kali linux parallels

Kali linux and Parallels-Tools

Для решение, некоторых задач, на своем старом (2011г) маке поставил kali, но по каким-то неведомым причинам на kali не ставилась «приблуда» от Parallels desktop. Она нужна для синхронизации буфера обмена ну и ряд приятных удобных плюшек (пост не об этом, перечислять не буду)

Для того что бы на кали заработала тулза, нужно сделать следующее:

Обновляем систему:

После рестарта ставим

sudo apt-get install linux-headers-$(uname -r) build-essential dkms

Parallels-Tools

Монтируем Parallels-Tools (если не знаете как, значит вы не в теме, что в этой статье происходит))

sudo mkdir ~/Parallels-Tools

Копируем все с образа в home
*примечание: тут «cdrom0» может быть cdrom1, cdrom2, cdrom3 и тд, что бы выяснить где у вас замонтировался образ выполните команду df -h

sudo cp -r /media/cdrom0/* ~/Parallels-Tools

*Примечание: Все ниже выполняю не через терминал, а использую стандартные графический интерфейс kali.

  1. Заходим в папку /home/Parallels-Tools/kmods видим файл prl_mod.tar.gz разархивируем его.
  2. Открываем файл prl_fs/SharedFolders/Guest/Linux/prl_fs/inode.c и добавляем в самом верху #define segment_eq(a, b) ((a).seg == (b).seg)
  3. Открываем файл prl_fs_freeze/Snapshot/Guest/Linux/prl_freeze/prl_fs_freeze.c
    добавляем в самом верху #include
  4. Открываем файлы prl_fs/SharedFolders/Guest/Linux/prl_fs/Makefile и prl_vid/Video/Guest/Linux/kmod/Makefile добавляем в самом верху

После рестарта тулза подцепится и все функции у вас будут работать.

Источник

Science Tony

Kali Linux desktop wallpaper with the words how to install kali linux 2016.1 onto parallels desktop 11

Parallels, another virtual machine, can run guest O/S on a host machine. You will need to install Parallels first before continuing. If you wish to install Kali onto Parallels, please read on. After installation you will learn how to install parallels tools, which will allow for more interesting features such as auto adjust for your screen resolution.

Before installing any new applications, a hardware survey will need to be carried out. Subsequently, the applications website will have the minimum specifications listed.

  • Open terminal and switch to root user. sudo su
  • Ensure the cd drive is ejected by entering eject /dev/cdrom
  • Go to settings and select details. from here update

red arrow pointing to a tools icon

Red arrow pointing to detials icon

  • Click the check for updates. This may take a long time.
  • Do not do anything else until you see this window.

You may want to scroll down to Changing the permissions and try that first since some have found this way is no longer possible.

You have a choice of two ways to complete the next part. Way 2 is much easier.

Way 1
Eject the image, but leave the window open

  • Open the CD rom by clicking on it. Eject the CD without closing the window, so you still have the window open. I suggest you eject it from Terminal.

  • Go to Devices on the Parallels menu bar and select Devices>CD/DVD>Connect image. Then go to Parallels Desktop>Contents>Resources>Tools>prl-tools-lin.iso and open again. This time you should have no cd icon on your desktop.
  • Mount the CD from terminal using mount /dev/cdrom /media/cdrom
  • You should now have this icon on your desktop.

  • If you have a regular CD icon like the one below, you will need to start again since you will not be given the correct permissions.

  • Using Terminal, navigate to the cdrom using cd /media/cdrom
  • Use ls to check the contents. You should have install , installer, install-gui , kmods, tools and version.
  • Enter ./install
  1. Open the cd rom by clicking on it.
  2. Copy and past the contents into a new folder on the desktop and rename it This.
  3. In the CLI (Terminal) type ls (list) then cd Desktop (change directory to desktop)
  4. Type ls again and you will see your folder This.
  5. Type sudo chmod 777 This -R
  6. Type ls and the folder This should be highlighted in green
  7. Type cd This
  8. Type sudo ./install

sudo chmod is how you change permissions. 777 will change the permissions to allow you to read, write and execute.

The instillation will now start. You can use the Tab to navigate and the Space bar to select.

If you get an error like this, you will have to install the listed items from terminal using apt-get install followed by the item.

You should be fine as long as you updated. You have now installed Parallels tools and will be able to view in full screen without any black bars on the sides. Note you way need to reboot.

If you have no mouse pointer, go to Parallel settings and select Hardware>Mouse and Keyboard and from the mouse drop down menu select Optimise for games. You mouse pointer should now appear.

Please remember, Kali Linux is used of penetration testing by professionals. Misuse of this software can land you in prison for 25 years under section 2 of the UK Misuse of computer act 1990.

Hope you enjoyed this blog If you have any questions you can leave a comment, use the contact page or find me here

  • Get link
  • Facebook
  • Twitter
  • Pinterest
  • Email
  • Other Apps

Comments

Thanks for your help. I have successfully installed dkms, kpartx and printer-***-hp, but I counldn’t install linux-headers-*** .
I used the command » apt-get install linux-headers-*** «, but the echo of the command was » E: Counldn’t find any package *** «.

Do you know the reason of installing » linux-headers-*** » ? I’m looking forward for your reply 🙂 Reply Delete

Hello! Yes, i have found that if you try to install the headers using apt-get, it doesn’t work to well. Don’t worry! Install the updates from Settings Details>Check for updates *Important* do this as administrator and not root user. The updates may take a long time and you may get a few questions, so read them carefully. Once done, go back to Terminal and navigate to the ‘This’ folder you created and install. Let me know how you get on. 🙂 Delete

PS the headers are so you can install Parallels tools and i think you may need them for future updates. Delete

> do this as administrator and not root user

How? Kali Linux runs as root by default! Reply Delete

Im stuck installing the tools. I got the error described above. I did install all but I’m still getting the error from «printer-driver-postscript-hp».

Try to install it and I get is already the newest version (3.17. ) Reply Delete

Post a Comment

Random Images from API with python

Image

By T. McDonald | 2/07/19 You may have heard of API’s and wondered what you can do with them. This is a simple but satisfying use of this powerful technology. What is API? Application programming interface. What does it do? An API will allow communication between two applications. The API I am using is a publicly available web-based API , which returns data as in JSON or XML. In other words, I send a message to a stated website and request some data, in this case images are then returned to me. Using python 2 is a little different in the coding. It is worth noting that the [‘file’] at the end of json.loads() may be different in the website you are connecting to. I connected to randomcat.com . Hope you enjoyed this quick blog. Please leave a comment below.

Build A Test Website In 3 Easy Steps

Image

By McDonald. T | Updated November 28th 2018 Building a website may seem daunting if you are new to web design. The truth is, however, that building your own test website is so easy it will embarrass you! You just need the correct tools to do the job. Brackets and xampp can be used on Mac, Windows or Linux, but in this blog I will focus on Mac. What is a test website? A test site is a site that you can create without the need for a server or a web host. You can create the test site all on your own computer and play around with it until you are happy with it. This is a really good way to learn HTML5 and PHP in a safe environment. 1) Install Brackets Brackets is an editor that will allow you to code and test files. Brackets is simple to use and has a nifty little feature, called live view, that allows you to view the code in a web browser as it would look as a webpage. In other words, it translates the code into a webpage. Brackets is free and open source softwa

Image

By McDonald, T. | Updated 30th of June 2022 While surfing the internet, you may have noticed that some sites have an index that lets you jump to different parts of the same webpage and thought ‘That is cool!’ Well, this is how you do it. I have used blogger to demonstrate how it is done, but the process will be very similar for most blogs. What is a jump link A jump link is a link that lets the user jump to certain pats of the same webpage they are viewing. How to add the code You will need to add a simple piece of code. Make sure you add it just before the code you want it to jump to. Note, the anchortext should have no spaces and anchortext can be anything you like. For instance, you can replace anchortext with intro or con. The code is encapsulated in a span tag. See below. tag in the HTML. Select

Источник

Install kali linux parallels

EN

  • Актуально для:
    • Parallels Desktop for Mac Standard Edition
    • Parallels Desktop for Mac Pro Edition
    • Parallels Desktop for Mac Business Edition
    • Parallels Desktop for Mac App Store Edition
  • Последняя проверка: Май 14, 2022
  • Доступные переводы:
  • Получить обновленияСкачать

In some cases, Parallels Tools installation in a Debian/Kali Linux virtual machine may not start automatically.

To initiate the installation manually, please perform the following steps:

  1. Connect Parallels Tools image to Debian/Kali:
    1.1. In the top menu click Devices >CD/DVD >Connect image.

    1.2. Navigate to Applications >Parallels Desktop.app >Contents >Resources >Tools and select either prl-tools-lin.iso for an Intel-based Mac or prl-tools-lin-arm.iso if you’re using a Mac computer with Apple M1 Chip.
  2. In the virtual machine, open Terminal and execute the following commands:
sudo mount -oro,exec,remount /media/cdrom sudo /media/cdrom/install

  • You will be presented with the installation wizard.
  • Once the installation finishes, restart the virtual machine.
  • Была ли эта статья полезной?

    Как, по вашему мнению, можно улучшить эту статью?

    Источник

    Install Parallels Tools for Kali Linux on Apple M1

    If you’re running Kali Linux via Parallels on an Apple M1 chip, this might help you install Parallels Tools. Parallels Tools is software for the guest OS that makes your life easier by allowing things like folder sharing and clipboard usage.

    I did the following using the latest ISO, downloaded in May 2021.

    Installing Parallels Tools

    Kali Linux Headers

    First, you need to make sure the Kali Linux headers are available for your kernel version. I’m no kernel nerd, so this is high level, but if you apt search $(uname -r) then hopefully you’ll get lucky and find packages that match. There should be no need to start adding sources to the package list.

    Updating the Kernel (Optional)

    If you are unlucky and no packages match (which happened to me), then you will need to update the kernel. In my case, uname -r showed my kernel was 5.10.0-kali3-arm64 but doing apt search linux-headers-5.10.0 showed me packages for linux-headers-5.10.0-kali7-arm64 (notice I was kali3 , not kali7 ).

    Like I said, I’m no kernel nerd — so I sudo apt update and sudo apt dist-upgrade then rebooted the machine and crossed my fingers.

    Running the Install Script

    When you start the Parallels VM, there will likely be a warning triangle in the top right of the application window prompting you to Install Parallels Tools . Click this to insert the Parallel Tools disk into the VM.

    You need to remount the Parallels Tools disk in exec mode, so cd /media && sudo umount cdrom0 . If the device is busy then you can unmount by right clicking the disk from the Kali desktop. Once it’s unmounted, sudo mount -o exec /dev/cdrom cdrom to mount again and make executable, cd cdrom and sudo ./install .

    Running the install should now work!

    Wrapping Up

    I had to solve this after the installer told me to download the headers package manually, but this was impossible as headers for my kernel version did not exist.

    After doing the above, I’m now able to share the clipboard and have Mac directories mounted in Kali. Screen resolution for the VM does not automatically change on window resize, but if I fullscreen the VM I can pick a new resolution from within Kali’s own Display settings and it works just fine.

    Источник

    Читайте также:  Programming arduino on linux
    Оцените статью
    Adblock
    detector