Gparted linux загрузочная флешка

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.
    Читайте также:  Abode flesh pleer flash player последней версии windows 10

    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.

    Читайте также:  Git clone astra linux

    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.

    Источник

    Live CD/USB/PXE/HD

    GParted Live is a small bootable GNU/Linux distribution for x86 based computers.
    It enables you to use all the features of the latest versions of the GParted application.

    GParted Live can be installed on CD, USB, PXE server, and Hard Disk then run on an x86 machine.

    CAUTION: Creating a whole disk or partition image backup is recommended before you resize or move a partition. Some free software (GPL) disk and partition image tools are available:

    Installation Instructions

    To install GParted Live on CD, download the .iso file and burn it as an image to a CD.

    Usage Instructions

    See the GParted Live Manual for instructions on how to use the Live image.
    See the GParted Manual for instructions on how to use the application for partitioning tasks.
    See the documentation page for copies of the GParted Manual in other languages.
    For x86-based Apple machines before 2012, e.g., iMac5.1 or iMac11.1, you might need to add «nomodeset enforcing=0 xforcevesa vga=791» in the boot parameters so that GParted live can boot successfully. For more info, please refer to this.

    Accounts in GParted live

    GParted live is based on Debian live, and the default account is «user», with password «live». There is no root password, so if you need root privileges, login as «user», then run «sudo» to get root privileges.

    Available boot parameters

    You can find the available boot parameters for GParted live here.

    Included Packages

    GParted Live includes additional packages, such as:

    Graphical Utilities

    Right click on the desktop to access a pop-up menu.

    Источник

    Загрузочная флешка Windows в Linux

    Бывают случаи, когда вам нужно записать Windows на флешку в Linux, например, когда вы хотите поставить эту систему второй для использования специализированных программ, или вам нужно переустановить операционку своим знакомым. Или же есть пользователи Linux, которые решили вернуться на Windows, но единственную флешку уже перезаписали под Linux LiveUSB.

    Загрузочная флешка Windows в Linux создается достаточно просто. Я предлагаю несколько способов решения этой проблемы. Все их я перечислил ниже.

    Загрузочная флешка Windows в Linux

    Загрузочную флешку можно создать с помощью терминала или специальных графических утилит. Сначала рассмотрим ручной способ.

    Способ 1. Терминал и Gparted

    Запустите терминал через главное меню или с помощью сочетания клавиш «Ctrl + Alt + T» в Ubuntu и Ubuntu-подобных, кроме Kubuntu.

    Первый вариант

    использовать команду dd:

    Второй вариант

    Установите gparted и ntfsprogs. В Ubuntu для этого используйте команду:

    Далее нам нужно отформатировать флешку. Можно сделать это через gparted, а можно в терминале.

    Для форматирования USB-накопителя в Gparted в правом верхнем углу нажимаем на иконку диска и выбираем флешку.

    Правой кнопкой мыши вызываем контекстное меню для раздела и жмем «Отмонтировать»:

    Затем нажимаем «форматировать в …» в открывшемся меню выбираем «ntfs».

    Отвечаем на вопрос «Применить эту операцию?» согласием.

    Командой все сделать немного проще:

    Вместо sdb1 название вашей флешки (не метка!). Чтобы узнать как она называется выполните:

    Идём дальше. Откройте Gparted, если вы его ещё не открыли и выберите флешку, если ещё не выбрали. Нажмите правой кнопкой мыши и выберите «Установить флаги». Поставьте галочку boot и нажмите «применить».

    Дальше нужно открыть образ windows.iso.

    Осталось только скопировать все файлы из образа на флешку:

    Где /run/media/имя_флешки — точка монтирования вашей флешки. Его можно посмотреть просто перейдя в папку /run/media или /media и посмотрев название вложенной туда папки.

    Это был способ для тех, кто не любит ставить много одноразовых утилит в систему. Создание загрузочной флешки Windows в Linux с помощью сторонних утилит выглядит проще.

    Способ 2. утилита winUSB

    Пожалуй, это самый простой способ создания. Установка в Ubuntu:

    Установка Debian / Ubuntu 14

    Интерфейс простой. Нажмите сверху на кнопку «Обзор»(иконка папка) и выберите образ. Затем нажмите «Install» и дождитесь окончания.

    Способ 3. Утилита Etcher

    Если WinUSB не помог, не запустился, его нет для вашего дистрибутива, вам поможет утилита Etcher. Утилита в настоящее время находится в интенсивной разработке, но даже в бета-версии программа исправно выполняет свою функцию писателя iso-образов. Etcher поддерживает запись Linux, macos 10.9 +, Windows 7+. Может быть, создана загрузочная флешка Windows 10 в Linux.

    Зайдите на официальный сайт утилиты и скачайте .deb / .rpm пакет. Или, если ваш дистрибутив не поддерживает эти пакеты, скачайте .appimage файл. Он должен работать на всех дистрибутивах.

    После установки вы можете запустить программу из главного меню или из appimage файла, если вы выбрали этот путь. Когда программа запустится, найдите у себя загруженный iso-образ:

    Нажмите кнопку «Flash» и дождитесь окончания записи. У вас появится примерно такая надпись:

    Выводы

    Как видите, создание загрузочной флешки Windows в Linux не представляет сложности. Это были все способы, которые я знаю. Если они вам помогли, напишите об этом. Если вы знаете еще способы, обязательно напишите о них в комментариях!

    Источник

    Читайте также:  Реестр windows прокси сервер
    Оцените статью