2023-08-07 11:08:02 - 6 Comments
Looki Looki No Hands, Automatic install of Ubuntu server.
Extracting all the files from the original ISO
mkdir source-files
xorriso -osirrox on -indev ubuntu-22.04.2-live-server-amd64.iso --extract_boot_images source-files/bootpart -extract / source-files
Edit the boot menu
menuentry "Autoinstall Ubuntu Server" {
set gfxpayload=keep
linux /casper/vmlinuz quiet autoinstall ds=nocloud\;s=/cdrom/nocloud/ ---
initrd /casper/initrd
}
Repack the ISO from the files you've edited.
xorriso -as mkisofs -r -V "ubuntu-autoinstall" -J -boot-load-size 4 -boot-info-table -input-charset utf-8 -eltorito-alt-boot -b bootpart/eltorito_img1_bios.img -no-emul-boot -o ../installer.iso .
6 comments
Hello!
Looking to do this soon and I was wondering if you have a github link with your commands available?
Hi Sam.
I’ve updated the post with some of the commands used in the video.
Best regards
Daniel
i want do the automation using usb
Hi Shiyam.
That works just fine. The ISO should be possible to flash / write to an USB stick. There is a lot of programs for that out there.
Best regards
Daniel
I did all this in my mac, how to add this to vbox ? because for me it shows the UEFI shell.
Hi Lekshmi
Don’t know how the bios in an XBox is configured so it might need different boot files.
Thank you for watching my videos.
Best regards
Daniel