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

Antworten
nicolaslebrun
Beiträge: 107
Registriert: 18 Apr 2011, 11:43

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

Beitrag 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
Zuletzt geändert von nicolaslebrun am 06 Mai 2022, 15:50, insgesamt 2-mal geändert.
Benutzeravatar
wolfbardo
uib-Team
Beiträge: 1354
Registriert: 01 Jul 2008, 12:10

Re: Ubuntu 22.04 (testing version) fails.

Beitrag von wolfbardo »

Please increase the memory-size of the virtual client.
If you use the server-iso 4GB should be enough

regards,
bardo wolf


OPSICONF 2024
https://opsi.org/en/opsiconf/

opsi-Basisworkshops:

22. - 25. 04. 2024


opsi support - uib gmbh
For productive opsi installations we recommend maintainance + support contracts which are the base of opsi development.

http://www.uib.de
nicolaslebrun
Beiträge: 107
Registriert: 18 Apr 2011, 11:43

Re: Ubuntu 22.04 (testing version) fails.

Beitrag 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
Benutzeravatar
m.radtke
uib-Team
Beiträge: 1517
Registriert: 10 Jun 2015, 12:19

Re: Ubuntu 22.04 (testing version) fails.

Beitrag 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
Kein Support per DM!
_________________________
opsi support - http://www.uib.de/
For productive opsi installations we recommend support contracts.
nicolaslebrun
Beiträge: 107
Registriert: 18 Apr 2011, 11:43

Re: Ubuntu 22.04 (testing version) fails.

Beitrag von nicolaslebrun »

Thanks Mathias,

OK for the check !

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

Best regards,
Nico
magicalUnicorn
Beiträge: 117
Registriert: 07 Mär 2019, 14:46

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

Beitrag 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.
Benutzeravatar
m.radtke
uib-Team
Beiträge: 1517
Registriert: 10 Jun 2015, 12:19

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

Beitrag von m.radtke »

Hi

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

Regards
Mathias
Kein Support per DM!
_________________________
opsi support - http://www.uib.de/
For productive opsi installations we recommend support contracts.
Antworten