Quantcast
Channel: Active questions tagged 22.04 - Ask Ubuntu
Viewing all articles
Browse latest Browse all 4446

Boot 22.04.4 iso with autoinstall in it from filesystem but cannot take user-data

$
0
0

I am trying to migrate centos7 servers (EFI and BIOS) to ubuntu 22.04 with unattended installation and booting the iso from filesystem.

Grub entry in Centos7 in grub.d/40-custom

menuentry "Ubuntu" {  insmod xfs  set isofile="/ubuntu-22.04.iso"  loopback loop (hd0,msdos3)$isofile  linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=$isofile quiet noeject noprompt splash  initrd (loop)/casper/initrd}

I update grub for add the new entryOn reboot I choose the menuentry and the iso boot up, but no grub show up.This is the grub.cfg that I set on the ubuntu iso

set timeout=800loadfont unicodeGRUB_TERMINAL=consoleset menu_color_normal=white/blackset menu_color_highlight=black/light-graymenuentry "Autoinstall Ubuntu Server" {    set gfxpayload=keep    linux   /casper/vmlinuz ds=nocloud\;s=/cdrom/server/ autoinstall ---    initrd  /casper/initrd}menuentry "Try or Install Ubuntu Server" {    set gfxpayload=keep    linux   /casper/vmlinuz  ---    initrd  /casper/initrd}menuentry "Ubuntu Server with the HWE kernel" {    set gfxpayload=keep    linux   /casper/hwe-vmlinuz  ---    initrd  /casper/hwe-initrd}grub_platformif [ "$grub_platform" = "efi" ]; thenmenuentry 'Boot from next volume' {    exit 1}menuentry 'UEFI Firmware Settings' {    fwsetup}elsemenuentry 'Test memory' {    linux16 /boot/memtest86+.bin}fi

Also I tryed to modify the loopback.cfg but with same result.

Ubuntu start the installation but only in manual installation.

The same grub.cfg work on bootable USB, that shows grub and do the unattended installation.

Somebody can help me?

Thanks


Viewing all articles
Browse latest Browse all 4446

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>