Re: Modified boot kernel won't fit on boot diskette

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2003-02-20 at 15:47, Bodle, Donald E wrote:
> I'm trying to get a boot kernel that can handle 4GB of memory, so that
> my kickstart %post can make some decisions based on memory size. 
> Right now the boot kernel isn't configured for HIGHMEM4G and so
> looking at /proc/meminfo or dmesg output only shows 896M of memory.

Look at the memInstalled function in iutil.py -- basically, you want to
parse /proc/e820info if it exists and otherwise, fallback to looking at
/proc/meminfo.  Then you can do it without needing a new kernel.

Cheers,

Jeremy





[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux