Автор Тема: Установка Runtu 20.04 без Grub  (Прочитано 2349 раз)

0 Пользователей и 1 Гость просматривают эту тему.

Оффлайн sbrazh

  • Новичок
  • **
  • Автор темы
  • Сообщений: 50
Установка Runtu 20.04 без Grub
« : Май 27, 2021, 18:45:36 »
Здравствуйте! Есть ли в инсталяторе Runtu 20.04 возможность(компонент) выбора НЕ устанавливать GRUB при установке системы, чтобы не переписывать уже существующий Grub на диске?

Оффлайн HsH

  • Administrator
  • *****
  • Сообщений: 3474
Re: Установка Runtu 20.04 без Grub
« Ответ #1 : Май 28, 2021, 16:45:46 »
sbrazh, отдельной опции нет. В качестве обходного решения можно использовать установку GRUB на раздел, где размещена корневая файловая система (не в MBR).

Оффлайн sbrazh

  • Новичок
  • **
  • Автор темы
  • Сообщений: 50
Re: Установка Runtu 20.04 без Grub
« Ответ #2 : Май 30, 2021, 11:59:06 »
Ясно. Спасибо за ответ.  А потенциально возможно в будущем добавить "НЕ УСТАНАВЛИВАТЬ GRUB", например, в чекбокс с выбором вариантов директории его установки? Безусловно это мелкая мелочь, но плюшка другой раз полезная).

В любом случае огромное спасибо за Runtu версии LITE. Это шедевр для старых рабочих ПК. Альтернативы и рядом нет. Пользую много разных для интереса, но для работы - только Runtu Lite. Всем желающим знакомым и близким рекомендую и ставлю).

Дошли руки до 20.04. Как всегда - СУПЕР...
Но всплыла крохотная "шероховатость". О ней создам новую тему, может кому тоже полезно будет решение.
Спасибо

Оффлайн denkin

  • Новичок
  • **
  • Сообщений: 28
Re: Установка Runtu 20.04 без Grub
« Ответ #3 : Май 31, 2021, 19:34:57 »
Для этого необходимо загрузиться в режим "попробовать без установки", запустить терминал и выполнить:
sudo ubiquity -b

Оффлайн Пользователь.

  • Местный
  • *****
  • Сообщений: 4639
Re: Установка Runtu 20.04 без Grub
« Ответ #4 : Июнь 01, 2021, 09:57:55 »
Не знал про такую возможность, теперь буду знать.

Проверил где указана эта опция.

ubiquity --help
/usr/bin/ubiquity:74: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
  import imp
Usage: ubiquity [options] [frontend]

Options:
  --version            show program's version number and exit
  -h, --help           show this help message and exit
  -d, --debug          debug mode (warning: passwords will be logged!)
  --pdb                drop into Python debugger on a crash
  --cdebconf           use cdebconf instead of debconf (experimental)
  --automatic          do not ignore the "seen" flag (useful for unattended
                       installations).
  --only               tell the application that it is the only desktop
                       program running so that it can customize its UI to
                       better suit a minimal environment.
  -q, --query          find out which frontend will be used by default
  -g, --greeter        allow the user to leave the installer and enter a live
                       desktop (for the initial boot).
  -b, --no-bootloader  Do not install a bootloader.
  --ldtp               Name widgets in ATK by their GtkBuilder names, to
                       support LDTP testing.
  --autopilot          Export variables needed for autopilot to drive ubiquity
                       UI.
  --wireless           Force enable the wireless page, even if network is
                       available.

UBIQUITY(8)               BSD System Manager's Manual              UBIQUITY(8)

NAME
     ubiquity — install Ubuntu from a live CD

SYNOPSIS
     ubiquity [--desktop file] [--debug] [--pdb] [--cdebconf] [--automatic]
              [--only] [--query] [frontend]

DESCRIPTION
     ubiquity is a graphical installer for Ubuntu, written largely in Python,
     using debian-installer (d-i) as a backend for many of its functions.  It
     is normally invoked from a desktop icon, and presents a "wizard"-style
     graphical user interface.  ubiquity must be run as root, and will esca‐
     late privileges for itself using gksudo, kdesu, kdesudo, or sudo as ap‐
     propriate.

     ubiquity has multiple frontends, including one written using GTK+
     (gtk_ui) and one written for KDE (kde_ui).  The first non-option argu‐
     ment, if any, is interpreted as the name of the frontend to use.

     The following options are available:

     --desktop file
           This option is passed through to gksudo to provide a better de‐
           scription for its privilege-escalation message.  It is only rele‐
           vant when using the gtk_ui frontend.

     -d, --debug
           Run in debugging mode, sending verbose information to
           /var/log/installer/debug that may be useful to developers.  (The
           /var/log/syslog file is usually required in any case, along with
           /var/log/partman in the case of problems related to partitioning.)
           Note that passwords will be logged in debugging mode!

     --pdb
           Drop into the Python debugger in the event of a crash.  Only effec‐
           tive if ubiquity is being run from a terminal.

     --cdebconf
           Use cdebconf instead of the traditional Perl debconf implementa‐
           tion.  In future this may provide enough memory efficiency benefits
           to be made the default, but for now it is not really worthwhile and
           is therefore for experimental use only.

     --automatic
           Skip over questions that have been pre-answered by use of a preseed
           file.  This is useful for unattended installations.

     --only
           Tell ubiquity that it is the only desktop program running so that
           it can customize its user interface to better suit a minimal envi‐
           ronment.  This allows the installer to be run standalone, reducing
           memory requirements.

     --query
           Print the frontend that would be used and then exit.

AUTHORS
     Ubiquity was formerly known as "Espresso", and originally as "Ubuntu Ex‐
     press", which is written and maintained by Javier Carranza
     <javier.carranza@interactors.coop> and Juanje Ojeda Croissier
     <juanje@interactors.coop>.  This version draws on the work done on Ubuntu
     Express, but was renamed to avoid confusion, to reduce awkward branding
     considerations, and because Ubiquity concentrates on reusing
     debian-installer code and reducing duplicated translation and branding
     work as much as possible.  Ubiquity has now substantially diverged from
     Ubuntu Express and is an independent project.

     ubiquity was mainly developed by Colin Watson <cjwatson@ubuntu.com> and
     Evan Dandrea <ev@ubuntu.com>, with contributions from many others.

     The mythbuntu_ui frontend was developed by Mario Limonciello
     <superm1@ubuntu.com>.

Ubuntu                          August 9, 2007                          Ubuntu


Из этой информации стало понятно что ubiquity это графический интерфейс для debian-installer.

Документация предлагает так устанавливать систему без загрузчика.
sudo ubiquity -b gtk_ui
Вариант от denkin тоже рабочий, так как ubiquity умеет автоматически выбирать фронтенд.

Систему переустанавливать не планирую, поэтому не планирую проверять запишется ли загрузчик.