From: Jebb Q S. <Jeb...@no...> - 2007-10-30 15:36:37
|
I have been using colinux since earlier this year. I love the simplicity of colinux once it is up and running. I am trying to get colinux to run with more memory and cannot figure out what I am missing. I understand I need to leave some room for the native operating system. I have a windows machine with 4 GB of memory and would like colinux to use 2GB. I have taken the colinux 0.8.0 source and recompiled the daemons modifying the line in src/colinux/kernel/monitor.c: else if (cmon->memory_size > 1000) /* 1000 = 1024 - 8*4 */ cmon->memory_size = 1000; /* 24MB = 8 Pages a 4K reserved */ to else if (cmon->memory_size > 2024) /* 2024 = 2048 - 8*4 */ cmon->memory_size = 2024; /* 24MB = 8 Pages a 4K reserved */ I have also modified my conf file for running colinux to include: mem=2024 When I run the new colinux daemon, the system still starts with only 1GB of memory. Are there more files I need to edit or are there other limitations I need to be aware of? Let me know if you need more information or have any questions. Thanks. Jebb |