summaryrefslogtreecommitdiffstats
path: root/client/engine/Boot.lib
Commit message (Collapse)AuthorAgeFilesLines
* #999 Fix ogClient session commandJavier Sánchez Parra2020-08-211-4/+4
| | | | | | | | | | | | | | | | | | | | Irina reports that booting an OS from ogLive is not working. This is happening because the bootOS shell script kills ogClient before invoking kexec to start the OS. However, ogClient runs this shell script that initiates the boot process, so it is also stopping the boot process. The ogClient needs to close the connection with ogServer before kexec, otherwise ogServer keeps reporting via REST API that the client is in ogLive state / busy state. Because after kexec everything is gone basically. This patch updates the script to: 1) spawn a process to kill the ogClient in 2 seconds, so the ogClient has time to reply to the ogServer and to close the connection gracefully. 2) spawn a process to invoke kexec in 3 seconds to boot the OS. [1] 2ead1639fd54bcf92d56cf7bf89b8d9cf4d6d24e
* #987 Kill gracefully ogClientJavier Sánchez Parra2020-06-261-0/+2
| | | | | When the ogLive boot an OS with kexec, it did not kill gracefully ogClient. This provokes a hanging connection in the ogServer.
* #841 Fixes bug in partitioning wizard when configure MBR: ogGetBootMbr ↵Irina Gómez2020-05-051-0/+30
| | | | function is created for detect MBR content and used in wizard.
* #953 ogGrubDefaultEntry: Fixes the bad substitution that did not force the ↵Irina Gómez2020-02-211-1/+1
| | | | condition to match the whole line.
* ogGrubSecurity: changes backup of grub.cfg of the partition too.Irina Gómez2020-02-041-36/+27
| | | | | ogGrub4dosInstallMbr: the configuration directory name is changed to lowercase for the script to work in Linux. GRUBDIR is removed because not use.
* ogGrubHidePartitions and ogBurgHidePartitions: help messages are enhanced.Irina Gómez2020-02-041-6/+8
|
* #946: Fix Fedora 30 boot support.Ramón M. Gómez2020-01-281-1/+1
|
* ogGrubSecurity: configure grub.cfg for only user especificated can edit menu ↵Irina Gómez2019-12-171-1/+64
| | | | entries or access to command line.
* #935 #906 ogGrub4dosInstallMbr(): new function to install grub4dos on the ↵adv2019-12-091-0/+76
| | | | MSDOS disk MBR
* #938 ogBurgInstallMbr() add control error for PC with MSDOS partitionadv2019-12-091-23/+20
|
* #938 ogBurgInstallMbr() : binary may be in the ogLive or OGLIB/burg/burg.tgzadv2019-12-091-3/+12
| | | | | Check the availability of the binary in the ogLive. If necessary use the sources from $ OGLIB / burg / burg.tgz Live. If necessary use the sources from $ OGLIB / burg / burg.tgz
* #802 #888 ogGrubInstallMbr in UEFI computers: NVRAM entry for 'grub' is ↵Irina Gómez2019-11-061-1/+1
| | | | better detected, avoiding errors.
* #802 #890 ogGrubInstallMbr: Adds NVRAM entry for grub and place it in second ↵Irina Gómez2019-10-291-1/+7
| | | | order.
* #802 #890 Linux boot: PXE and rEFInd use grubx64.efi (it's copied as ↵Irina Gómez2019-10-211-10/+6
| | | | ogloader.efi). NVRAM, bootOs and start operating system from console use shimx64.efi.signed.
* #802 #890 Fixed error in ogRefindInstall: boots linux correctly and shows a ↵Irina Gómez2019-10-181-17/+22
| | | | menu entry for ogLive when secure boot is inactive.
* #922 Fixing code cleanup: the^CgLiveAdapter.lib content is located in ↵Irina Gómez2019-09-201-0/+5
| | | | ogGrubInstall.
* #922 ogBootLoaderHidePartitions: Partition data will not hidden. Support ↵Irina Gómez2019-08-301-16/+26
| | | | several disk. Compatibility with grub.cfg create by ogLive 5.0.
* #802 #890 ogGrubInstallXx: grub's first stage finds grub.cfg correctly for ↵Irina Gómez2019-08-081-26/+17
| | | | computers no UEFI.
* #802 #888 ogRefindInstall: ogRefindInstall: rEFInd bootloader is signed with ↵Irina Gómez2019-06-131-34/+38
| | | | OpenGnsys certificate.
* #802 #888 #890 ogNvramAddEntry function allows disk and partition as params ↵Irina Gómez2019-06-051-14/+5
| | | | and creates a entry with 'Part-D-P' name that uses generic loader of OpenGnsys. ogGrubInstall uses shimx64.efi.signed of ogLive Ubuntu 18. Previously this function used shim of tftp of server.
* #802 #890 {{{grubInstallXx}}} install correctly the grub first stage with ↵Irina Gómez2019-05-311-101/+89
| | | | secureBoot. {{{ogBoot}}} uses NVRAM functions.
* #802 #890 ogGrubInstall includes option to secure boot.Irina Gómez2019-05-271-4/+4
|
* #802 #888 ogRefindInstall used wrong parameter when calling ogNvramGetOrder. ↵Irina Gómez2019-05-221-1/+1
| | | | ogNvramSetOrder use uppercase in hexadecimal number because efibootmgr need it.
* #802 #888 refind: options parameter cannot include string 'initrd', to start ↵Irina Gómez2019-05-221-2/+3
| | | | ogLive we exclude option 'ogupdateinitrd'
* #802 #888 If UEFI active, always installs rEFInd and sets it as bootloader ↵Irina Gómez2019-04-251-0/+6
| | | | (NVRAM) second entry. New Nvram management functions: Add new entry, get and set de next boot entry.
* #802 #888 ogRefindInstall: refind configuration only shows operating systems ↵Irina Gómez2019-04-051-28/+52
| | | | deployed with OpenGnsys and OgLive
* ogRefindInstall, with paremeter FALSE, does not configure menu entry of ↵Irina Gómez2019-04-031-65/+232
| | | | directory microsoft or ubuntu. Fixs PXE template of refind. Creates auxiliary functions for rEFInd.
* #802 #890 ogGrubInstallMbr detects Windows loader en ESP and saves de ↵Irina Gómez2019-03-281-15/+2
| | | | ogbootloader into directory 'grub'·
* #802 #889 #890 Fix UEFI postconf: configureOs does not use ogFixBootSector ↵Irina Gómez2019-03-261-2/+2
| | | | for Windows. ogGrubInstall does not change boot order in NVRAM.
* #802 #888 Fix ogBootLoaderSetTheme: refind can start ogLive.Irina Gómez2019-03-251-1/+3
|
* #802 #888 ogRefindInstall: Uses optionaly refind-install. Uses ogGetEsp to ↵Irina Gómez2019-03-221-49/+146
| | | | get the partition. Configures Part-X-Y and ogLive. ogRefindSetTheme: Configures theme.
* Fix some script calls to ogIsEfiActive function.Irina Gómez2019-03-201-6/+7
|
* #802 #888 #890 bootOs and PXE templates start the newly installed Linux ↵Irina Gómez2019-03-131-6/+42
| | | | distributions.
* #890 #802 ogGrubInstall: To get kernel parameters we need the original ↵Irina Gómez2019-03-051-12/+32
| | | | grub.cfg: it\'s move at the end. grubSyntax: In kernel parameters, replaces UUID for DEVICE.
* #802 #888 ogGrubInstall and ogRestoreEfiBootLoader: A generic name is used ↵Irina Gómez2019-02-251-10/+20
| | | | for the boot loader. This allows you to use PXE templates for a partition.
* #802 #889 #890 ogGrubInstallPartitions, ogGrubInstallMbr y ↵Irina Gómez2019-02-041-2/+10
| | | | ogRestoreEfiBootLoader: Format EFI partition if it is not. ogGetEsp: Detecting the EFI partition does not require VFAT filesystem.
* #802 #889 configureOs can relocale Windows in different partition. ↵Irina Gómez2019-01-291-46/+85
| | | | ogWindowsBootParameters: include the bootpartition to configure BCD
* #802 #890 Postconfiguración de linux (ubuntu) compatible con UEFI. ↵Irina Gómez2019-01-231-33/+34
| | | | ogGrubInstallMbr y ogGrubInstallPartition: incluye opciones UEFI. ogUuidChange: genera UUID con un comando existente en el ogLive.
* #802 UEFI Windows compatibility: necessary functions for create and restore ↵Irina Gómez2019-01-181-6/+12
| | | | images.
* #802 UEFI compatibility: allows postconfigure and log in to Ubuntu.Irina Gómez2019-01-181-21/+90
|
* #853 Adapting Boot.lib library for doxygenadv2018-07-051-31/+54
|
* #853 Adaptar libreria boot.lib para doxygenadv2018-07-041-29/+58
|
* #802: Comprobar cargador EFI sin necesidad de verificación.RAMON MARIA GOMEZ LABRADOR2018-05-151-1/+1
|
* #802: Comprobación correcta de Kernel Linux firmado para EFI y buscar ↵ramon2018-04-251-5/+7
| | | | | | también cargador por defecto de Windows para sistemas recién instalados. git-svn-id: https://opengnsys.es/svn/branches/version1.1@5755 a21b9725-9963-47de-94b9-378ad31fedc9
* #802: Adaptar función {{{ogBoot}}} para arrancar Windows y Linux en EFI.ramon2018-04-241-26/+77
| | | | git-svn-id: https://opengnsys.es/svn/branches/version1.1@5754 a21b9725-9963-47de-94b9-378ad31fedc9
* #802 #812: Nueva función {{{ogGetEsp}}} para localizar la partición EFI; ↵ramon2018-04-231-1/+1
| | | | | | integrar últimos cambios de librería {{{Boot}}} en el ticket:812. git-svn-id: https://opengnsys.es/svn/branches/version1.1@5748 a21b9725-9963-47de-94b9-378ad31fedc9
* #802: Integrar nuevas funciones en pruebas para gestión de equipos UEFI.ramon2018-03-221-0/+58
| | | | git-svn-id: https://opengnsys.es/svn/branches/version1.1@5683 a21b9725-9963-47de-94b9-378ad31fedc9
* #829 #796 nuevas funciones complementarias para el Burg/Grub ↵adv2018-02-081-5/+473
| | | | | | (ogBootLoaderSetTheme,ogBootLoaderSetAdminKeys,ogBootLoaderSetTimeOut,ogBootLoaderSetResolution) git-svn-id: https://opengnsys.es/svn/branches/version1.1@5591 a21b9725-9963-47de-94b9-378ad31fedc9
* #827 ogGrubInstall configura entrada para el ogLive si existe partición cache adv2018-01-211-0/+3
| | | | git-svn-id: https://opengnsys.es/svn/branches/version1.1@5572 a21b9725-9963-47de-94b9-378ad31fedc9
* #827 ogGrubInstall configura entrada para el ogLive si existe partición cache adv2018-01-211-0/+4
| | | | git-svn-id: https://opengnsys.es/svn/branches/version1.1@5571 a21b9725-9963-47de-94b9-378ad31fedc9