Как установить Nitrux вместе с Windows [закрыто]

Вы можете сопоставить одну или несколько десятичных цифр, за которыми следует необязательный горизонтальный пробел, а затем использовать & в тесте замены, чтобы повторно заменить его после литерала амперсанда &

$ echo 'The lorem ... & 1-2 & 3-4 & 5-6 & 6000 & 10000  4 \\ \hline' |
   sed 's/[0-9]\{1,\}[ \t]*\\\\/\&&/'
The lorem ... & 1-2 & 3-4 & 5-6 & 6000 & 10000  &4 \\ \hline

или немного более компактно, используя расширенный regex

$ echo 'The lorem ... & 1-2 & 3-4 & 5-6 & 6000 & 10000  4 \\ \hline' |
   sed -E 's/[0-9]+\s*\\\\/\&&/'        
The lorem ... & 1-2 & 3-4 & 5-6 & 6000 & 10000  &4 \\ \hline
1
05.02.2019, 11:36
2 ответа

Чтобы дать вам правильный ответ, я обращусь к нашему FAQ , в частности, вопрос #17, На моем компьютере установлена ​​операционная система XYZ, как я могу выполнить двойную -загрузить Найтрукс? , который в дополнение к ответу GAD3R даст вам правильный ответ.

While it is possible to dual-boot NItrux with other operating systems, there are some things to consider.

  1. Nitrux must be deployed using znx before any other operating system is installed on the computer.
  2. znx will create two partitions, the ESP and the Data partition.
  3. The included installers in most Linux, and BSD distributions can do manual partitioning for their operating systems, during this phase the user can select the ESP that znx created and use it as mount point /boot/efi. The installer will add the EFI files for the operating system in question.
  4. During the manual partitioning phase of these installers, the user can shrink the Data partition that znx created to install the new operating system.

It is possible that the files in the ESP partition of znx are overwritten by the installer of the other operating system. We have confirmed that this is the case with the Ubiquity installer found in Ubuntu and its derivatives. By using znx, it is possible to deploy more Linux distributions the same way as Nitrux. However, like Nitrux other Linux distributions have to make use of OverlayFS in their ISO files to enable persistence.

For Windows users.

  1. If Windows is already installed in the computer and Nitrux is deployed to the same storage device, the storage device will be wiped.
  2. The Windows installer should be able to select the EFI system partition (ESP) automatically. However, it won’t be able to shrink the Data partition since Windows does not support BTRFS by default (this third-party driver adds some support for it), so to accommodate Windows in the Data partition that znx created the partition has to be resized before installing Windows.
  3. If Nitrux is deployed first, then the Data partition is resized, then Windows is installed on the remaining space, it's very likely that access to Nitrux is lost. Windows is not Linux, Windows does not use GRUB so it can't be deployed using znx and its ISO file is for installation and recovery only.
  4. In summary, to avoid any of these complications we recommend users to use separate storage devices.

Короткий ответ: нет; вы не можете выполнять двойную загрузку -Nitrux и Windows с помощью znx, если только вы не используете отдельные диски.

Длинный ответ: вы не можете этого сделать, потому что цель znx, который не является установщиком, как мы подробно описываем в FAQ, на странице Wiki и в статьях нашего блога, заключается в развертывании (deploy=frugal installs )несколько дистрибутивов Linux за один раз и управлять ими (выполнять дельта-обновления, откаты и т. д. )и не выполнять обычные установки.

Учитывая, что Windows — это не Linux, она не использует GRUB, а ISO-файл Windows предназначен только для установки и восстановления, это невозможно. Это не оплошность, ошибка или ошибка, znx не был разработан как установщик.

Идея состоит в том, что вы используете znx, чтобы позволить вам использовать несколько дистрибутивов Linux без установки, без множества разделов и, в конкретном случае с Nitrux, без необходимости в менеджере пакетов для его обновления.


Если вам, с другой стороны, нужно использовать Windows для запуска определенного программного обеспечения Windows, мы работаем над функцией под названием VMetal, которую мы хотим представить в Nitrux 2.0. Однако это будет не по теме -, поэтому я предлагаю вам подписаться на нас, чтобы быть в курсе последних новостей.

0
27.01.2020, 23:42

Ответ из FAQ по Nitrux :Невозможно развернуть Nitux с компьютера с Windows, но вы можете создать linux live USB для установки Nitrux.

Deploying Nitrux from Windows

Unfortunately for Windows users, the AppImage of znx does not run in WSL or Cygwin because neither can access the block devices in a computer and the kernel used by WSL does not have the FUSE module included which is a massive problem and one problem that znx cannot fix since it isn’t a problem of znx but a problem with Windows not being a POSIX system.

To summarize, we acknowledge that for Windows users this is not ideal as it requires adding two more steps to the process. If you are coming from Windows, please follow this workflow.

1) Download a minimal conventional Linux distribution, for example, Fedora Server Net-install, Ubuntu Server or any other Linux distribution that you want; you need something where the AppImage can run and that it provides you of network access.

2) Create a Live USB of that distribution and boot from it.

Please note that:

You do not need to use a full desktop Linux system to complete the deployment at any point.

You only need to meet two requirements: To run a Linux with FUSE included and have network access.

1
27.01.2020, 23:42

Теги

Похожие вопросы