Seite 1 von 1

[SOLVED][MEMORY LACK] Ubuntu 22.04 (testing version) fails.

Verfasst: 06 Mai 2022, 12:43
von nicolaslebrun
HI,

Just tried ubuntu22-04 on a test server, but I'm unable to get it working.

- I added an iso file.
- Launch a VM (on Proxmox) via PXE. The process starts.
- At the end, the iso file has been copied, vmlinuz and initrd been decompressed and copied.. All is OK in logs on opsiserver.

- But the local install fails, the download process seems to be interrrupted and the iso file is not complete.
The error is always the same :
The donwload of the iso file is not complete and i get a busybox with "unable to find a live file system on the netwok"

I've tried kexec and reboot, and have got the same error.
I've tried three iso file (desktop, live server and xubuntu)

Any idea why the download thru autoinstall fails ?

Regards,
Nico

Re: Ubuntu 22.04 (testing version) fails.

Verfasst: 06 Mai 2022, 12:57
von wolfbardo
Please increase the memory-size of the virtual client.
If you use the server-iso 4GB should be enough

regards,
bardo wolf

Re: Ubuntu 22.04 (testing version) fails.

Verfasst: 06 Mai 2022, 13:37
von nicolaslebrun
Thanks Bardo for your solution,

I didn't think it was loaded in RAM. The VM add only 3GB RAM.

Any suggestion :
- Check in package if there's at least 4GB RAM ( size of minimum RAM + size of iso file ) ?
- Any way to add swap at this point to avoid the limitation ?

Thanks,
Nico

Re: Ubuntu 22.04 (testing version) fails.

Verfasst: 06 Mai 2022, 14:34
von m.radtke
Hi Nicolas,

the memory check is currently on one of my notes, I will implement this.

I doubt there is any chance to add swap because
Bootimage is runnig kexec into the kernel/initrd from the iso.
The kernel starts, downloads the iso and makes a change into the filesystemsquashfs provied by the iso. So we would have to edit the kernel started by the bootimage.

Regards
Mathias

Re: Ubuntu 22.04 (testing version) fails.

Verfasst: 06 Mai 2022, 15:49
von nicolaslebrun
Thanks Mathias,

OK for the check !

I suspect it is not possible to edit kernel from the iso file ;-)

Best regards,
Nico

Re: [SOLVED][MEMORY LACK] Ubuntu 22.04 (testing version) fails.

Verfasst: 16 Mai 2022, 11:54
von magicalUnicorn
Just gonna throw in what i found out during testing:

I had to give the VM a total of 9GB of RAM to get past that error and get to the installation.

Re: [SOLVED][MEMORY LACK] Ubuntu 22.04 (testing version) fails.

Verfasst: 16 Mai 2022, 14:01
von m.radtke
Hi

I think that's because you were using the desktop ISO. The server iso requires way less RAM.

Regards
Mathias