Ubuntu 22.04 Unattended Auto Server in Desktop ISO

HomeOther ContentUbuntu 22.04 Unattended Auto Server in Desktop ISO
Ubuntu 22.04 Unattended Auto Server in Desktop ISO
Ubuntu 22.04 Unattended Auto Server in Desktop ISO
A short video on how to do a fully automatic unattended install from an Ubuntu server and a desktop computer, as Ubuntu 22.04 complicates some things…

information used:
https://www.pugetsystems.com/labs/hpc/ubuntu-22-04-server-autoinstall-iso/
https://github.com/canonical/autoinstall-desktop
https://releases.ubuntu.com/jammy/
song: https://www.youtube.com/watch?voYgLh81LQT0

commands used in the video:

sudo apt install p7zip
sudo apt install xorriso
sudo apt install whois

mkdir u22.04-autoinstall-ISO
cd u22.04-autoinstall-ISO
mkdir source files

7z -yx ubuntu-22.04.2-live-server-amd64.iso -osource-files

cd source files
mv '[BOOT]' ../BOOT

menu entry /"Ubuntu server automatic installation/" {
set gfxpayloadkeep
linux /casper/vmlinuz silent automatic installation dsnocloud//;s/cdrom/server/ —
initrd /casper/initrd
}

mkdir source/server files
Touch source/server/metadata files
Touch source files/server/user data

#cloud-config
automatic installation:
version 1
packages:
– Ubuntu-desktop
clichés:
– name: Firefox
– name: gnome-3-38-2004
– name: gtk-common-themes
– name: snap-store
– name: snapd-desktop-integration
identify:
hostname: HOSTNAME
password: PASSWRD #mkpasswd –methodSHA-512 PASSWORD_HERE
username: USERNAME

cd source files

xorriso -as mkisofs -r //
-V 'Ubuntu 22.04 LTS AUTO (EFIBIOS)' //
-o ../ubuntu-22.04-autoinstall.iso //
–grub2-mbr ../BOOT/1-Boot-NoEmul.img //
-partition_offset 16 //
–mbr-force-bootable //
-append_partition 2 28732ac11ff8d211ba4b00a0c93ec93b ../BOOT/2-Boot-NoEmul.img //
-appended_part_as_gpt //
-iso_mbr_part_type a2a0d0ebe5b9334487c068b6b72699c7 //
-c '/boot.catalog' //
-b '/boot/grub/i386-pc/eltorito.img' //
-no-emul-boot -boot-load-size 4 -boot-info-table –grub2-boot-info //
-eltorito-alt-boot //
-e '–interval:appended_partition_2:::' //
-no-emul-boot //
.

Please take the opportunity to connect and share this video with your friends and family if you find it useful.

No Comments

Leave a Reply

Your email address will not be published. Required fields are marked *