Red Hat Bugzilla – Bug 114069
Anaconda seems to hang using kickstart on low memory machines
Last modified: 2007-04-18 13:01:56 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.2.1)
Description of problem:
kikckstart seems to hang onm low memory machines. On console <F3>,
one sees the line Using file <snip>RedHat/bas/comps.xml.
When installing from the network, there is still a lot of
networktraffic, and even on the console there is still activity on
<F2> if waiting long enough (eg one hour for executing the free command).
This is caused due to missing swap space, which is not mounted
automatically after disk formatting.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.On machines with low memory, install using kickstart
Actual Results: System seems to hang
Expected Results: After hard diwsk formatting, the swap space should
be mounted, which solves the problem.
Modify the /RedHat/base/stage2.img
Patching the second stage installation image
#losetup /dev/loop0 stage2.img
#mount /dev/loop0 /mnt/loop0
#cp -a /mnt/loop0/* /var/tmp/newimg
and modify line 121 from "rc = 0 " to "rc = 1"
#mkfs.cramfs mkcramfs /var/tmp/newimg
#losetup -d /dev/loop0
#cp /var/tmp/newimg /<whatever>/RedHat/base/stage2.img
and do a reinstallation.
(BTW. The error about hard link during the cp process can be ignored)
Created attachment 97155 [details]
diff file partitioning.py
It seems anaconda does support low memory machines! Since older machines are
used frequently for eg routers/gateway/low traffic servers This patch should be
I don't now if this patch should also used in the other images, since I only
tested the stage2.img.
See also bug#99520
Mass-closing lots of old bugs which are in MODIFIED (and thus presumed to be
fixed). If any of these are still a problem, please reopen or file a new bug
against the release which they're occurring in so they can be properly tracked.