Gparted kali linux install

Downloads

GParted is a free partition manager that enables you to resize, copy, and move partitions without data loss.

The best way to access all of the features of the GParted application is by using the GParted Live bootable image. GParted Live enables you to use GParted on GNU/Linux as well as other operating systems, such as Windows or Mac OS X.

CAUTION: Editing partitions has the potential to cause LOSS of DATA.
You are advised to BACKUP your DATA before using gparted.

If you use GParted and it helps you with your task, then please consider making a donation to help us make GParted better.

NOTE: GParted Live is available in three different architectures

Architecture Description
amd64 64-bit version runs on x86-64 based computers, with ability to access more than 4 gigabytes of memory, and supports use of multiple processor cores. Works with UEFI secure boot.
i686 32-bit version runs on x86 and x86-64 based computers, limited to physical address space of 4 gigabytes, and uses one processor only.
i686-PAE 32-bit version runs on x86 (i686 and higher) and x86-64 based computers, with Physical Address Extension to access more than 4 gigabytes of memory, and supports use of multiple processor cores.

GParted Live CD/USB/HD/PXE Bootable Image
Stable Releases
Download gparted-live-1.3.1-1-amd64.iso

Stable directory (.iso/.zip)
(for i686, i686-pae and amd64 architectures)

Release notes Changelog Checksums
Checksums.gpg
(Signed by GParted live maintainer Steven Shiau, updated on Sep/18/2017), or available on the 2nd key server.
See steps to verify checksums.
Testing Releases
Testing directory (.iso/.zip)
(for i686, i686-pae and amd64 architectures)
Release notes and checksums in same directory.
See steps to verify checksums.

TIP: Problems booting GParted Live image? See Tips on Booting GParted Live.

GParted Application Source Code
Source code directory (.tar.gz) Release notes and checksums in same directory.

Linux Distribution * Package Command Prompt Install
Debian gparted
Fedora gparted
Mageia gparted
OpenSUSE gparted
Ubuntu gparted

* NOTE: Distribution packages might not contain the most recent versions of GParted.

Источник

GParted Live on USB

The bootable GParted Live image can also be installed on a USB flash drive.

Following are instructions on how to setup GParted Live on your USB flash drive using either MS Windows or GNU/Linux.

NOTE: These installation methods only work when the USB flash drive is formatted with a FAT file system. Some users have reported that only the FAT16 file system worked for them. For other file systems you might try to use grub or some other boot loader.

USB setup with Windows

Choose one of the following methods to setup GParted Live on your USB flash drive using MS Windows:

Windows Method A: Unetbootin

  1. If you already have Unetbootin installed on your computer then skip to the next step (2).
    Otherwise download and install Unetbootin on your MS Windows computer.
  2. Download the GParted Live iso file.
  3. From Windows, run the Unetbootin program and follow the instructions in the GUI to install GParted Live on your USB flash drive.

Windows Method B: Manual

WARNING! DO NOT RUN makeboot.bat from your local hard drive!
Doing so could cause your MS windows not to boot.

  1. Download the GParted Live zip file.
  2. If you already have a partition of at least 300 MB in size on your USB flash drive formatted with a FAT file system then skip to the next step (3).

Otherwise create at least a 300 MB partition on your USB flash drive and format it with a FAT16 or FAT32 file system.
The partition must be large enough to hold the extracted contents of the GParted Live zip file.

  • Extract all the contents of the zip file to FAT16/FAT32 partition on your USB flash drive. Keep the directory architecture, for example, file «GPL» should be in the USB flash drive’s top directory (e.g. G:\GPL).
  • Browse to your USB flash drive and as an administrator (On the USB flash key, create a shortcut to the makeboot.bat file. Then right-clic on the shortcut, Properties, Advanced and check «Run as administrator».), click the makeboot.bat in the dir utils\win32\. WARNING! Makeboot.bat must be run from your USB flash drive.
  • Follow the on-screen instructions.
    (PS: The above description is modified from: http://www.pendrivelinux.com/2007/01/02/all-in-one-usb-dsl. Thanks to PDLA from http://pendrivelinux.com)

    Windows Method C: LinuxLive USB Creator

    1. If you already have LinuxLive USB Creator installed on your computer then skip to the next step (2).
      Otherwise download and install LinuxLive USB Creator on your MS Windows computer.
    2. Download the GParted Live iso file.
    3. From Windows, install then run the LinuxLive USB Creator program and follow the instructions in the GUI to install GParted Live on your USB flash drive.

    Windows Method D: Tuxboot

    1. Download Tuxboot on your MS Windows computer.
    2. Follow the USB setup with MS Windows instructions to install GParted Live on your USB flash drive.

    USB setup with GNU/Linux

    Choose one of the following methods to setup GParted Live on your USB flash drive using GNU/Linux:

    GNU/Linux Method A: Unetbootin

    1. If you already have Unetbootin installed on your computer then skip to step 2.
      Otherwise install Unetbootin on your GNU/Linux computer.
    2. Download the GParted Live iso file.
    3. From GNU/Linux, run the Unetbootin program and follow the instructions in the GUI to install GParted Live on your USB flash drive.

    GNU/Linux Method B: Manual

    WARNING! Confirm you have the correct path name before executing commands!
    Failure to do so could cause loss of data or your GNU/Linux not to boot.
    /dev/sde is a device path name
    /dev/sde1 is a partition path name

    1. Download the GParted Live zip file.
    2. If you already have a FAT16 or FAT32 partition on your USB flash drive then skip to the next step (3).

    Otherwise prepare at least a 300 MB partition formatted with either a FAT16 or FAT32 file system.
    The partition must be large enough to hold the extracted contents of the GParted Live zip file.

    If the USB flash drive or USB hard drive does not have any partition, you can use a partitioning tool (e.g. gparted, parted, fdisk, cfdisk or sfdisk) to create a partition with a size of 300 MB or more.
    Here we assume your USB flash drive or USB hard drive is /dev/sdd ( You have to confirm your device name, since it’s _NOT_ always /dev/sdd ) on your GNU/Linux, so the partition table is like: Then format the partition as FAT with a command such as «mkfs.vfat -F 32 /dev/sdd1»
    WARNING! Executing the mkfs.vfat command on the wrong partition or device could cause your GNU/Linux not to boot. Be sure to confirm the command before you run it.

  • Insert your USB flash drive or USB hard drive into the USB port on your Linux machine and wait a few seconds. Next, run the command «dmesg» to query the device name of the USB flash drive or USB hard drive. Let’s say, for example, that you find it is /dev/sdd1. In this example, we assume /dev/sdd1 has FAT filesystem, and it is automatically mounted in dir /media/usb/. If it’s not automatically mounted, manually mount it with commands such as «mkdir -p /media/usb; mount /dev/sdd1 /media/usb/».
  • Unzip all the files and copy them into your USB flash drive or USB hard drive. You can do this with a command such as: «unzip gparted-live-0.4.5-2.zip -d /media/usb/»). Keep the directory architecture, for example, file «GPL» should be in the USB flash drive or USB hard drive’s top directory (e.g. /media/usb/GPL).
  • To make your USB flash drive bootable, first change the working dir, e.g. «cd /media/usb/utils/linux», then run «bash makeboot.sh /dev/sdd1» ( replace /dev/sdd1 with your USB flash drive device name ), and follow the prompts.
    WARNING! Executing makeboot.sh with the wrong device name could cause your GNU/Linux not to boot. Be sure to confirm the command before you run it.

    NOTE: There is a known problem if you run makeboot.sh on Debian Etch, since the program utils/linux/syslinux does not work properly. Make sure you run it on newer GNU/Linux, such as Debian Lenny, Ubuntu 8.04, or Fedora 9.

    TIP: If your USB flash drive or USB hard drive is not able to boot, check the following:

    • Ensure that your USB flash drive contains at least one FAT partition.
    • Ensure that the partition is marked as «bootable» in the partition table.
    • Ensure that the partition starts on a cylinder boundary.
      For the first partition this is usually sector 63.

    GNU/Linux Method C: Manual — Overwrite

    WARNING: Confirm you have the correct device path name before executing commands!

    This method will overwrite the destination device. Hence it is critical to select the proper USB flash device.

    Since GParted Live is based on Debian Live and this image is a isohybrid, the GParted Live CD image can be written directly to a USB flash drive.
    NOTE: This method is only bootable with BIOS/MBR (Legacy), not uEFI/GPT.

    1. Download the GParted Live iso file.
    2. Insert the USB flash drive your Linux computer and wait a few seconds. Next, from a terminal window run the command:

    dmesg

    This command queries the device name of the USB flash drive. For example, you might find the device name is /dev/sde.
    From a terminal window, enter the following command using the gparted .iso file name and USB device path you discoved in the previous steps.
    For example:

    sudo dd if=/path-to-gparted-live.x.y.z-w.iso of=/dev/sde bs=4M; sync

    GNU/Linux Method D: Tuxboot

    NOTE: Tuxboot requires older libqt4 libraries.

    Use for Ubuntu 18.04 and older, or Debian 10 and older.

    Источник

    Gparted kali linux install

    Installing Kali Linux next to a Windows installation has its benefits. However, you need to exercise caution during the setup process. First, make sure that you’ve backed up any important data on your Windows installation. Since you’ll be modifying your hard drive, you’ll want to store this backup on external media. Once you’ve completed the backup, we recommend you peruse our Kali Linux Hard Disk install guide, which explains the normal procedure for a basic Kali Linux install.

    In our example, we will be installing Kali Linux alongside an installation of Windows (10), which is currently taking up 100% of the disk space in our computer. We will start by resizing our current Windows partition to occupy less space and then proceed to install Kali Linux in the newly-created empty partition.

    Installation Prerequisites

    This guide will make the following assumptions:

    • You have read our single boot Kali Linux install guide, as this has the same Installation Prerequisites (System requirements & setup assumptions).
    • When downloading Kali Linux, pick the live image, rather than the installer option.
    • A single disk to install to (rather than a dedicated disk per operating system).

    We need to use a different image from the single boot Kali Linux install guide, as we need the live image. This is because we need to edit the disk structure without mounting any partitions (otherwise they would be in-use). After we have finished altering the disk layout, we can still install Kali Linux using the live image, but there will be a few differences such as:

    Both of these can be addressed post installation, as it saves swapping to the installer image (as you will need either multiple CD/DVD/USBs or to re-image half way though).

    This installation has the potential to go wrong very easily as it involves editing existing partitions. Be aware of what partitions you are modifying and where you are installing Kali Linux to.
    Having a backup of your Linux files available is a good idea in the event something goes wrong.

    Resize Windows Procedure

    Before we can install Kali Linux, there needs to be room on the hard disk. By booting into a live Kali Linux session with your chosen installation medium, we can resize the partition to our desired size, as the disk will not be in use because Kali Linux will all be in memory.

    To start resizing, make sure you insert your Kali Linux installation medium and power on the device. If needed, press any keyboard shortcuts for a “boot order menu” (depends on each manufacture) or boot into BIOS/UEFI and change the boot order to point to the installation medium first.

    When the boot menu/options appears, you should see at least one new option. Depending on the manufacture, hardware, how the system is configured and install medium, you may see more options (e.g. Can you boot into non-UEFI?).

    You may need to try a few different options in order to find success.

    You may need to disable secure boot

    1. You should be greeted with the Kali Linux boot screen. Select Live, and you should be booted into the Kali Linux default desktop.

    1. Now launch GParted, which we’ll use to shrink the existing Windows partition to give us enough room to install Kali Linux in the free space.

    1. Once GParted has opened, select your Windows partition ( /dev/sda2 ) & resize it leaving enough space (we recommend at least 20 GB) for the Kali Linux installation.

    Depending on your setup, it is often the second option (the largest partition). In our example, there are three partitions:

    • Window’s boot partition ( /dev/sda1 )
    • Window’s main operating system itself ( /dev/sda2 )
    • Window’s System Recovery partition ( /dev/sda3 )

    If you are moving past into any non-white in the partition then you are editing a section that is in use.
    Only remove from the area of the partition that is not in use.
    It is normal to leave the third partition ( /dev/sda3 ), and only shrink the actual install ( /dev/sda2 ).

    If you wish to organize the partition to group all the Windows partitions together, placing the free space at the end, you may do so.

    1. Once you have resized your Windows partition, ensure you “Apply All Operations” on the hard disk. Exit gparted and reboot.

    Kali Linux Installation Procedure

    1. The installation procedure from this point onwards is similar to a Kali Linux Hard Disk install, until the point of the partitioning. At this point, you need to select “Guided — use the largest continuous free space(rather than “Guided — the entire disk”) which got created earlier with gparted.

    1. You can carry on following the single boot Kali Linux install guide, except you will not have the option to select desktop environment or metapackages as you are using the live image. Once the installation is done, reboot.

    You should be greeted with a GRUB boot menu, which will allow you to boot either into Kali Linux or Windows.

    Post Installation

    Now that you’ve completed installing Kali Linux, it’s time to customize your system.

    The General Use section has more information and you can also find tips on how to get the most out of Kali Linux in our User Forums.

    Time/System Clock

    One thing that may be worth knowing about is that occasionally the time will get changed between the Windows and the Linux system. To fix this, we can do the following:

    To undo this we can simply do:

    Updated on: 2021-Sep-27
    Author: g0tmi1k

    Источник

    Читайте также:  Софт для windows зверь
    Оцените статью