Giter VIP home page Giter VIP logo

Comments (8)

qwinwin avatar qwinwin commented on June 30, 2024 1

vnc中依旧提示是否进入低内存模式

这是在什么机器上?我当时测试的时候用的 AWS 最低配(<512M 内存)确认可以进入低内存模式。
脚本有把 lowmem/low= 加到 grub menu entry 的启动参数吧(也就是说探测了到内存小于 483)?

这些配置好多都没文档。lowmem/low 只是代表那个提示,给他随便设个值(比如空值)应该可以跳过这个提示。
源码在这里: https://salsa.debian.org/installer-team/lowmem/-/blob/master/debian/lowmemcheck.templates

能否帮忙测试下执行脚本后手工修改 /boot/grub/grub.cfg, lowmem/low="" 能否跳过提示?

机器为justhost的kvm 512内存
刚刚在debian11上(MemTotal为 484488)试了下 原脚本可以直接进入低内存模式
然后重装justhost的官方镜像 发现内存涨了 变成 494796 除以1024刚好483 所以脚本的-lt 483条件不满足了 尴尬- -
改成-le 483或者把阈值设高点应该就行了

from debi.

bohanyang avatar bohanyang commented on June 30, 2024 1

已调高至 ≥512

from debi.

bohanyang avatar bohanyang commented on June 30, 2024

vnc中依旧提示是否进入低内存模式

这是在什么机器上?我当时测试的时候用的 AWS 最低配(<512M 内存)确认可以进入低内存模式。
脚本有把 lowmem/low= 加到 grub menu entry 的启动参数吧(也就是说探测了到内存小于 483)?

这些配置好多都没文档。lowmem/low 只是代表那个提示,给他随便设个值(比如空值)应该可以跳过这个提示。
源码在这里: https://salsa.debian.org/installer-team/lowmem/-/blob/master/debian/lowmemcheck.templates

能否帮忙测试下执行脚本后手工修改 /boot/grub/grub.cfg, lowmem/low="" 能否跳过提示?

from debi.

SekiBetu avatar SekiBetu commented on June 30, 2024

这个阈值的判断有必要吗,直接跳过不就好了?刚才在一个700多M的机子上装,没反应,上VNC一看卡在低内存模式的确认上了,我改成 -le 1024了才能顺利安装

from debi.

bohanyang avatar bohanyang commented on June 30, 2024

嗯,你这么一说好像确实没必要。
内存够大的情况下,就算加了 lowmem/low 也不会进入低内存模式的话,就没必要了

from debi.

bohanyang avatar bohanyang commented on June 30, 2024

话说内存 700 应该够大了啊。是x86_64的机器吧。

from debi.

SekiBetu avatar SekiBetu commented on June 30, 2024

我也不知道为什么,之前我在这家机子上装没问题的,这次装进入低内存模式了,保险起见还是别设阈值了吧,这阈值就是人为给自己一刀啊

from debi.

bohanyang avatar bohanyang commented on June 30, 2024

去掉判断了

from debi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.