System Startup Gets a Boost with New LinuxBoot Project



  • Enables Server Setup and Boot with a Linux Kernel

    The Linux Foundation is pleased to welcome LinuxBoot to our family of open source projects and to support the growth of the project community. LinuxBoot looks to improve system boot performance and reliability by replacing some firmware functionality with a Linux kernel and runtime.

    Firmware has always had a simple purpose: to boot the OS. Achieving that has become much more difficult due to increasing complexity of both hardware and deployment. Firmware often must set up many components in the system, interface with more varieties of boot media, including high-speed storage and networking interfaces, and support advanced protocols and security features.

    LinuxBoot addresses the often slow, often error-prone, obscured code that executes these steps with a Linux kernel. The result is a system that boots in a fraction of the time of a typical system, and with greater reliability.

    This matters in data centers providing cloud services. A data center might have tens of thousands of servers, and even a small failure rate adds up to expensive repairs. LinuxBoot enables organizations to improve operational aspects such as debugging and remediation, as well as also functional aspects like powering machines on or off rapidly for elastic loads.

    Speed and reliability of the boot process can also be a problem in consumer devices and industrial devices. For IoT, devices in the field may be tough to reach and a boot failure can render a device useless for the customer and even cause safety issues in critical systems.

    The LinuxBoot model brings key advantages for users across the broad spectrum of embedded, mobile, and server platforms. Leveraging the massive scale of development of Linux in the boot process gives the user control and support that can’t be achieved any other way.

    The technique of using Linux to boot Linux has been common since the early 2000s in supercomputers, consumer electronics, military applications, and many other systems. The LinuxBoot initiative will further refine it so it can be more easily developed and deployed by a broader range of users, from individuals to data center-scale companies.

    Organizations involved in LinuxBoot include Google, Facebook, Horizon Computing Solutions, and Two Sigma. The LinuxBoot community welcomes newcomers and invites people to get involved with the project at any level.

    To learn more, visit https://www.linuxboot.org/.

    The post System Startup Gets a Boost with New LinuxBoot Project appeared first on The Linux Foundation.

    https://www.linuxfoundation.org/blog/system-startup-gets-a-boost-with-new-linuxboot-project/


 



  • Make ISO from DVD

    In this case I had an OS install disk which was required to be on a virtual node with no optical drive, so I needed to transfer an image to the server to create a VM

    Find out which device the DVD is:

    lsblk

    Output:

    NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 465.8G 0 disk ├─sda1 8:1 0 1G 0 part /boot └─sda2 8:2 0 464.8G 0 part ├─centos-root 253:0 0 50G 0 lvm / ├─centos-swap 253:1 0 11.8G 0 lvm [SWAP] └─centos-home 253:2 0 403G 0 lvm /home sdb 8:16 1 14.5G 0 disk /mnt sr0 11:0 1 4.1G 0 rom /run/media/rick/CCSA_X64FRE_EN-US_DV5

    Therefore /dev/sr0 is the location , or disk to be made into an ISO

    I prefer simplicity, and sometimes deal with the fallout after the fact, however Ive repeated this countless times with success.

    dd if=/dev/sr0 of=win10.iso

    Where if=Input file and of=output file

    I chill out and do something else while the image is being copied/created, and the final output:

    8555456+0 records in 8555456+0 records out 4380393472 bytes (4.4 GB) copied, 331.937 s, 13.2 MB/s

    Fin!

    read more
  • Recreate postrgresql database template encode to ASCII

    UPDATE pg_database SET datistemplate = FALSE WHERE datname = 'template1';

    Now we can drop it:

    DROP DATABASE template1;

    Create database from template0, with a new default encoding:

    CREATE DATABASE template1 WITH TEMPLATE = template0 ENCODING = 'UNICODE'; UPDATE pg_database SET datistemplate = TRUE WHERE datname = 'template1'; \c template1 VACUUM FREEZE;

    read more
});