How to install linux on USB drive ( UEFI boot )

Published: 26 September 2023
on channel: Monkey see, monkey do
730
12

FULL SERIES:
   • You can endlessly watch the flame bur...  

==========================
Monkey See, Monkey Do LINUX
==========================
https://github.com/maksimKorzh/msmd-l...

================================================
VICI - Minimalist cross-platform terminal based text editor
================================================
https://github.com/maksimKorzh/vici

==================================
ED - The standard Linux Text Editor in Go
==================================
https://github.com/maksimKorzh/ed

====================
MY TOY TEXT EDITORS
====================

VI-like text editor in 100 lines of C++ code:
https://github.com/maksimKorzh/ved

Text editor in 50 lines of python:
https://github.com/maksimKorzh/v

VI-like text editor in 125 lines of python:
https://github.com/maksimKorzh/edit/b...

Text editor with python shell:
https://github.com/maksimKorzh/pi

Tiny vi-like text editor in only 125 lines of python code:
https://github.com/maksimKorzh/vip

Text editor with syntax highlighting:
https://github.com/maksimKorzh/code

Kilo text editor cone in C:
https://github.com/maksimKorzh/kilo-c...

Kilo text editor port to ESP32:
https://github.com/maksimKorzh/esp32-...

===============================================
TUTORIALS COVERING MOST OF THE ABOVE PROJECTS
===============================================
   • Revolutionary brand new approach to t...  

=====================
SUPPORT THE CHANNEL
=====================
Patreon:   / code_monkey_king  
PayPal: [email protected]

==========
CONTENTS
==========

00:00 Intro
00:30 Downloading MSMD Linux
01:04 Introducing contents of ESP & Linux partitions
01:49 Listing drives with fdisk
03:03 Unmounting USB flash drive
03:18 Partitioning USB flash drive using fdisk
04:02 Creating GPT partition table
04:12 Creating bootloader partition
05:10 Creating rootfs partition
05:36 Changing bootloader partition type to EFI system
06:06 Writing partitions to USB flash drive
06:39 Formatting EFI system partition to FAT32
07:01 Fromatting Linux filesystem partition to EXT4
08:12 Mounting Linux filesystem partition
09:00 Mounting EFI system partition
09:50 What does 'hdd.sh' do?
10:14 Purpose of INITRAMFS
11:20 Difference between INITRAMFS/init and ROOTFS/init
12:50 How partitions under INITRAMFS/init get adjusted
14:48 How switching from INITRAMFS to actual ROOTFS happens
17:10 Running 'hdd.sh' script
19:00 Copying ROOTFS to Linux filesystem partition
19:35 Copying EFI folder to EFI partition
20:23 Adjusting GRUB configuration under Linux partition
21:00 Explaining how GRUB deals with partition lookup
23:20 Explaining GRUB configuration under EFI partition
25:55 Updating Linux partition UUID in GRUB configuration under EFI partition
27:30 Exploring UEFI firmare security settings
29:30 Disabling secure boot
29:50 Booting from USB flash drive
30:20 Switching from INITRAMFS to the actual ROOTFS
30:50 Demonstrating MSMD Linux
32:05 Inspecting 'ethernet.sh' script
32:45 Inspecting 'wifi.sh' script
33:23 Connecting to WiFi
34:00 Making HTTP GET request with WGET
34:33 Rebooting and enjoying the fact the changes has been saved