I am trying to install an OS via console. This means modifying the ISO file for the OS. I unpacked it, edited the grub.cfg file i.e. just the section that is relevant, I left all other sections alone:
menuentry "Install Ubuntu Server" {
set gfxpayload=keep
linux /install/vmlinuz console=tty0 console=ttyS0,115200n8 ---
initrd /install/initrd.gz
}
Then used Brasero to generate the new ISO. However, I get the error when I try to boot from this modified .iso:
Booting from DVD/CD.. Boot failed: Could not read from CDROM (code 0004) Booting from ROM... iPXE (PCI 0:12.0) starting execution...
The boot process stops here.
I have no idea where to start troubleshooting this.
P.S. I also tried the following grub.cfg (again, just the section that is relevant. The rest of the grub.cfg file was left alone):
menuentry "Install Ubuntu Server" {
set gfxpayload=keep
linux /install/vmlinuz file=/cdrom/preseed/ubuntu-server.seed vga=normal console=tty0 console=ttyS0,115200n8 ---
initrd /install/initrd.gz
}
Which is a direct copy from this GitHub repo:
No luck with that one either. Same error.