安卓系统ram rom_每个操作系统都需要RAM吗?

安卓系统ram rom

安卓系统ram rom

does-every-operating-system-need-ram-00

If you have a computer that the RAM has possibly gone bad on, are there any operating systems that will function on the computer, at least to help you test and diagnose the hardware? Today’s SuperUser Q&A post taps into a lively discussion on the subject to satisfy a curious reader’s question.

如果您的计算机可能损坏了RAM,那么该计算机上是否有可以运行的操作系统,至少可以帮助您测试和诊断硬件? 今天的“超级用户问答”帖子对这个主题进行了热烈的讨论,以解决好奇的读者的问题。

Today’s Question & Answer session comes to us courtesy of SuperUser—a subdivision of Stack Exchange, a community-driven grouping of Q&A web sites.

今天的“问答”环节由SuperUser提供,它是Stack Exchange的一个分支,该社区是由社区驱动的Q&A网站分组。

Photo courtesy of Chris Isherwood (Flickr).

照片由Chris Isherwood(Flickr)提供

问题 (The Question)

SuperUser reader VusP wants to know if there is an operating system that can function without RAM:

超级用户阅读器VusP想知道是否存在没有RAM即可运行的操作系统:

Is there an operating system that can be used without RAM, specifically, the kind I can create a bootable flash drive from and use it with my computer? This gets awkward, since booting is essentially loading the operating system in RAM.

是否存在没有RAM即可使用的操作系统,特别是我可以从中创建可引导闪存驱动器并与计算机一起使用的那种操作系统? 这很尴尬,因为引导实际上是将操作系统加载到RAM中。

Note: I originally wanted to know about a RAM-less operating system to check and see if my laptop’s RAM had gone bad (it does not boot but presents a blank screen), but I like the way this question has snowballed.

注意:最初,我想了解一种无RAM操作系统,以检查笔记本电脑的RAM是否变坏(它无法启动,但显示黑屏),但是我喜欢这个问题激增的方式。

Is there an operating system that can function without RAM?

是否有没有RAM即可运行的操作系统?

答案 (The Answer)

SuperUser contributor agtoever has the answer for us:

超级用户贡献者agtoever为我们提供了答案:

Does every Operating System need RAM?

每个操作系统都需要RAM吗?

A mandatory step in the BIOS POST process is to check if there is RAM. Optionally, it checks to see if your RAM is functioning correctly. So the answer to your question, “Does every operating system need RAM?” is: No, not on this (IBM PC compatible) hardware. Also, for the remainder of this answer, I will assume IBM PC compatible hardware.

BIOS POST过程中的强制性步骤是检查是否有RAM。 (可选)它会检查您的RAM是否正常运行。 因此,您的问题的答案是:“每个操作系统都需要RAM吗?” 是:否,不在此(与IBM PC兼容)硬件上。 另外,对于此答案的其余部分,我将假定与IBM PC兼容的硬件。

Can an Operating System boot with faulty RAM?

操作系统可以使用错误的RAM启动吗?

If your RAM is faulty (and not entirely absent or broken), or if you can (partially) replace your RAM, you might be able to boot using the BadRAM or BadMEM kernel patches. It requires you to recompile the kernel (sounds easier than it is if you are doing it for the first time) and you can reboot, then tell the kernel where your bad memory is. A nice explanation of the use of Memtest86/Memtest86+ and BadRAM/BadMEM can be found here.

如果您的RAM出现故障(并且不是完全不存在或损坏),或者可以(部分)更换RAM,则可以使用BadRAMBadMEM内核修补程序进行引导。 它要求您重新编译内核(听起来比第一次执行时要容易),并且可以重新启动,然后告诉内核您的不良内存在哪里。 在此处可以找到有关Memtest86 / Memtest86 +和BadRAM / BadMEM用法的很好解释。

Can an Operating System boot without RAM and using the CPU’s cache as RAM?

操作系统可以在没有RAM的情况下引导并且将CPU的缓存用作RAM吗?

As far as I know, there is no way to use your CPU’s cache as RAM without any RAM present on your system (as is suggested by @philipp and others) in the comments. If there is, it would be nice to add it here. The only paper I could find on the subject is this paper about Using a processor’s cache as RAM until the RAM is initialized. Not sure if (and how) it will work without RAM. As far as I know, there is no working code that boots an operating system on an IBM compatible PC. Any references to proof-of-concepts, working code, or anything else is welcome and I will add it to this answer.

据我所知,在注释中,如果系统上不存在任何RAM(如@philipp等建议),则无法将CPU的缓存用作RAM。 如果有的话,最好在这里添加它。 关于该主题,我唯一能找到的论文是有关将处理器的缓存用作RAM直到初始化RAM的论文。 不知道它是否(以及如何)没有RAM就可以工作。 据我所知,没有可在IBM兼容PC上引导操作系统的工作代码。 欢迎引用任何概念证明,工作代码或其他任何内容,我将其添加到此答案中。

Can I get to the BIOS?

我可以进入BIOS吗?

The original poster’s question is a bit vague if the laptop is able to pass the BIOS POST. As @Tonny points out, no operating system will help you to get to the BIOS. You enter the BIOS using the F1, F2, F10, DEL, or ESC keys (depending on your brand of BIOS).

如果笔记本电脑能够通过BIOS POST,则原始张贴者的问题有点含糊。 正如@Tonny指出的那样,没有操作系统可以帮助您进入BIOS 。 您使用F1,F2,F10,DEL或ESC键(取决于您的BIOS品牌)进入BIOS。

How to recover data from the laptop without RAM?

如何从不带RAM的笔记本电脑中恢复数据?

As for the goal behind your question, why do you need access to your laptop? Is there still data on the hard-drive that you want to recover? If that is the case, it is far easier to pull the hard-drive out (see manual) and attach it to an external storage device or directly to a desktop computer. Here is a nice guide to do just that.

至于问题背后的目标,为什么您需要使用笔记本电脑? 您要恢复的硬盘上是否还有数据? 在这种情况下,拉出硬盘驱动器(请参阅手册)并将其连接到外部存储设备或直接连接到台式计算机要容易得多。 是一个很好的指南。

Interested in seeing more feedback on this particular topic? Then make sure to check out the lively discussion thread linked below!

有兴趣看到有关此特定主题的更多反馈吗? 然后,请确保查看下面链接的活跃讨论线程!



Have something to add to the explanation? Sound off in the comments. Want to read more answers from other tech-savvy Stack Exchange users? Check out the full discussion thread here.

有什么补充说明吗? 在评论中听起来不错。 是否想从其他精通Stack Exchange的用户那里获得更多答案? 在此处查看完整的讨论线程

翻译自: https://www.howtogeek.com/196117/does-every-operating-system-need-ram/

安卓系统ram rom

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值