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

如果你的电脑内存可能坏了,有没有操作系统可以在电脑上运行,至少可以帮助你测试和诊断硬件?今天的超级用户问答帖子就这个话题展开了热烈的讨论,以满足好奇读者的提问。...

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

如果你的电脑内存可能坏了,有没有操作系统可以在电脑上运行,至少可以帮助你测试和诊断硬件?今天的超级用户问答帖子就这个话题展开了热烈的讨论,以满足好奇读者的提问。

今天的问答环节是由SuperUser提供的,SuperUser是Stack Exchange的一个分支,是一个由社区驱动的问答网站分组。

照片由克里斯·伊舍伍德(Flickr)提供。

问题

超级用户阅读器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.

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的情况下运行?

答案

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

Does every Operating System need 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.

Can an Operating System boot with faulty 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.

Can an Operating System boot without RAM and using the CPU’s cache as 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.

Can I get to the 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).

How to recover data from the laptop without 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.

有兴趣看到更多关于这个话题的反馈吗?然后一定要查看下面链接的生动讨论主题!


有什么要补充的解释吗?在评论中发出声音。想从其他精通技术的Stack Exchange用户那里了解更多答案吗?在这里查看完整的讨论主题。

  • 发表于 2021-04-11 07:00
  • 阅读 ( 207 )
  • 分类:互联网

你可能感兴趣的文章

如何重用旧的ram模块:您可以做的7件事

... 切割的位置取决于两个方面:每个RAM模块要获得多少个锁链,以及孔在哪里。 ...

  • 发布于 2021-03-10 20:05
  • 阅读 ( 834 )

5件有用的事情,你可以做1tb的内存

... 4同时运行多个操作系统 ...

  • 发布于 2021-03-12 15:50
  • 阅读 ( 187 )

增加你的windows资源,使用最高效的软件

... 操作系统--Windows 10 Pro 64位 CPU—Intel Core [email protected] GHz RAM—16 GB DDR4 图形--ATI Radeon RX 480图形,8 GB SSD—三星850 EVO 250 G...

  • 发布于 2021-03-14 14:00
  • 阅读 ( 440 )

cleanmem-一个windows内存清理器可以工作吗?

...为RAM存在,以给软件一个运行的地方。最终用户不必担心操作系统管理的细节。微软的程序员在设计操作系统方面有多年的经验,他们的方法远远优于CleanMem,正如开发人员所承认的: ...

  • 发布于 2021-03-16 14:22
  • 阅读 ( 251 )

为什么googlechrome使用了这么多内存?下面是如何修复它

... 计算机上的每个应用程序都在计算机的RAM中运行进程,在RAM中运行计算机是一项艰巨的工作。RAM是存储各种数据的临时存储器,速度非常快。CPU访问系统RAM中的数据的速度比硬盘甚至...

  • 发布于 2021-03-18 04:16
  • 阅读 ( 324 )

mac清洁应用程序一文不值吗?需要考虑的7个因素

... 即使您的RAM已满,操作系统也知道何时丢弃或保存另一个应用程序的缓存数据。只要留意那些泄露内存的应用程序,如果你发现任何性能下降,要么退出该应用程序,要么重新启动你的Mac。...

  • 发布于 2021-03-21 12:01
  • 阅读 ( 176 )

linux正在吃掉你的公羊吗?如何管理你的记忆

...样,有多种方法可以检查使用了多少RAM。如果您来自商业操作系统,您可能会发现打开类似于Windows任务管理器或macOS活动监视器的应用程序更容易。此程序的名称取决于您使用的Linux桌面环境。 ...

  • 发布于 2021-03-23 08:31
  • 阅读 ( 309 )

英特尔optane内存便宜吗?

消费者和企业总是要求他们的电脑提供更多的电力。我们需要更强大的处理器和更多的核心,更好的GPU,更快的RAM,我们现在就要。 ...

  • 发布于 2021-03-24 01:41
  • 阅读 ( 354 )

智能手机需要多少内存?

... 除了应用程序或程序,你的电脑或智能**的操作系统也消耗了大量的内存。智能**平台上有两种流行的操作系统:苹果设备上的iOS和几乎所有其他设备上的Android。 ...

  • 发布于 2021-03-27 07:15
  • 阅读 ( 227 )

打开100个浏览器选项卡真的不好吗?

...是你工作效率的秘密。 100个标签的案例 说到生产力,每个人都有不同的需求。有些人喜欢写待办事项清单,有些人喜欢工作时站着,还有一些人喜欢留100个标签(甚至更多!)一次打开。如果你是那种喜欢乱七八糟标签的人...

  • 发布于 2021-04-03 13:15
  • 阅读 ( 175 )
vzf3577
vzf3577

0 篇文章

相关推荐