Linux and uefi bios

Official Ubuntu Server compressed image boots in UEFI and BIOS mode

When you have installed these systems from a compressed image file, and you reboot, you log in with the following user and password:

user: ubuntu

password: ubuntu (and you are prompted to change it directly after the first login)

Preparation

It might help to prepare by reading the following link

The following link gives more background information about partitioning

Original attempt

Not stable enough to survive certain updates

I expected that it could be installed into a USB pendrive as a good alternative to a persistent live system, possible to update and upgrade without limits. But unfortunately a current update involving a new kernel and updating grub will make it fail to boot. So this system is not stable enough to survive certain updates. It is good only as an illustration of a method to make a bootable drive in UEFI as well as BIOS mode.

Stable alternatives

If you want a stable portable system, that boots in UEFI mode as well as BIOS/CSM mode, and in 64-bit as well as 32-bit computers, you can try One pendrive for all PC (Intel/AMD) computers. If you want a pendrive with a live and an installed system, you can try A new and so far successful attempt to create a stable portable system, that works in UEFI and BIOS mode.

Читайте также:  Мандатная политика astra linux

Detailed instructions

Stable alternative 1

There are links to instructions how to make an installed system (typically in a USB pendrive) that works with UEFI and BIOS, and is small enough to work in an undersized 16 GB pendrive. This system is created from Ubuntu 16.04 LTS ‘Xenial’ amd64 (‘gamma’ because it is beyond beta), and was simplified compared to the previous methods to make a stable installed system for UEFI and BIOS mode.

This link shows the post in an Ubuntu Forums tutorial, where the method was published:

with a description how to make it ‘from scratch’ plus a link to uploaded compressed image files plus a small script to fix the GPT after cloning.

Stable alternative 2

See this link to the sub-page: /stable-alternative-18.04.1

Installation from a compressed image file

  • if you want to learn how to do it, or
  • if you want to be sure of the content (and don’t rely on me), or
  • if you want hibernation, or
  • if you want an encrypted disk (LVM with LUKS encryption),

then you must do it yourself. (In the encrypted disk case, you must create the passphrase yourself during the installation.)

Compressed image file

It is straight-forward to install from a compressed image file using mkusb or mkusb-nox. Some tools may not work with compressed images of such large files. I tried in Lubuntu Xenial 32-bit daily to restore disk image with gnome-disks alias Disks, but it considered the size to be 3.5 GB, when it was 12 GB, so the image was truncated, Bug #1571255

After this cloning operation you should run gpt-fix in order to match the gpt data to the current drive size.

Читайте также:  Надо ли установить линукс

Description of the short-cut to make an installed system (typically in a USB pendrive) that works with UEFI and BIOS from a compressed image file:

Download source 1

Download the following compressed image files from

where you also find a gpg-signed file with md5sums, md5sum.txt.asc.

Remember to check with md5sum, that the download of the compressed image file was successful.

Источник

Оцените статью
Adblock
detector