autoinstall 20.04 with 2G (fails) and 4G (works) install netboot

Hund lists_ubuntu at linuxkompis.se
Tue May 11 06:57:55 UTC 2021


On April 6, 2021 8:35:16 PM GMT+02:00, Jerry Geis <jerry.geis at gmail.com> wrote:
>On Tue, Apr 6, 2021 at 2:02 PM Jerry Geis <jerry.geis at gmail.com> wrote:
>
>> So trying to find why my 2G ram (does not autoisntall) and the 4G does.
>>
>> ubuntu-server kernel: [   40.237245] kworker/7:1 invoked oom-killer:
>> gfp_mask=0xdc0(GFP_KERNEL|__GFP_ZERO), or|  ubuntu-server
>> subiquity_log.2170[2380]:   "LABEL": "",
>>
>>   ubuntu-server kernel: [   40.237250] CPU: 7 PID: 225 Comm: kworker/7:1
>> Not tainted 5.4.0-65-generic #73-Ubuntu|  ubuntu-server
>> subiquity_log.2170[2380]:   "LOG-SEC": "512",
>>
>>   ubuntu-server kernel: [   40.237251] Hardware name: QEMU Standard PC
>> (Q35 + ICH9, 2009), BIOS 1.13.0-1ubuntu1.|  ubuntu-server
>> subiquity_log.2170[2380]:   "MAJ:MIN": "252:0",
>>
>>   ubuntu-server kernel: [   40.237282] Workqueue: events
>> drm_fb_helper_dirty_work [drm_kms_helper]
>>
>>
>> I found this in the syslog on the 2G ram install side.
>> I am trying to do the netboot and specify the ramdisk_size=1500000 and
>> root=/dev/ram0 on my kernel line along with ip=dhcp and
>> url=path_to-_live_server.
>>
>> This all works in 4G ram - but 2G ram does not.  I think it's supposed
>> to.
>> What else can I look at to get autoinstall for 2G ram to work ???
>>
>>
>> Jerry
>>
>
>
>This is a MAJOR BUMMER!
>https://louwrentius.com/understanding-the-ubuntu-2004-lts-server-autoinstaller.html
>This says teh new fancy installer requires 3G!
>That is 0 help for all those systems out there with 2G ram.
>
>That is what PYTHON does for you -nothing.   How on earth can I get around
>a 3G limit. as I mentioned I have systems out there I want to replace that
>ONLY have 2G ram.
>
>I'm not PXE booting - I'm just netbooting.
>
>Thanks,
>
>Jerry

Did you even read the link you provided?

>It seems that the ISO file is copied into memory over the network and extracted on the RAM disk. With a RAM disk of 1500 MB and an ISO file of 1100 MB we are left with maybe 472 MB of RAM for the running kernel and initrd image.

>The 3GB memory requirement is only valid for PXE-based installations. If you boot from ISO / USB stick you can install Ubuntu Server on a system with less memory. I've verified this with a system with only 1 GB of memory.

I don't see how Python is to blame for your ignorance.

--
Hund




More information about the ubuntu-users mailing list