每個作業系統都需要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
  • 閱讀 ( 38 )
  • 分類:網際網路

你可能感興趣的文章

雙引導作業系統的10個風險

...果您計劃定期使用Windows和Linux分割槽,那麼最終可能會在每個分割槽上使用同樣多的儲存空間。因此,您將很快達到計算機的物理儲存限制。 ...

  • 發佈於 2021-03-11 01:07
  • 閲讀 ( 58 )

什麼是Windows10太陽谷?我們所知道的一切

...到了太陽谷的標準。這包括滾動編號選擇器,它在您選擇每個條目時更改其顏色。 ...

  • 發佈於 2021-03-11 10:24
  • 閲讀 ( 39 )

為什麼要嘗試切換linux作業系統

...安裝程式。換句話說,包管理器。這些系統因系統而異,每個系統都有特殊的規則和語法。發行版跳轉允許您嘗試其中的許多,讓您可以親自選擇最適合您的軟體。 ...

  • 發佈於 2021-03-11 22:48
  • 閲讀 ( 49 )

如何從windows瀏覽linux分割槽(反之亦然)

... 一旦解決了這個問題,安裝了作業系統,就應該確保每個作業系統中的資料都是可讀的。您需要重新啟動幾次才能檢查。 ...

  • 發佈於 2021-03-12 09:47
  • 閲讀 ( 42 )

每個作業系統如何保證您的安全

作業系統是允許程式在計算機上執行的中間人。它們將您的計算機資源分開,在應用程式之間分開,讓您可以操作下面的硬體。簡而言之,任何能執行程式的機器都需要一臺,無論是macOS、Windows還是Linux。 ...

  • 發佈於 2021-03-12 11:26
  • 閲讀 ( 42 )

你的電腦有特殊用途嗎?使用此linux作業系統

...近年來,Linux真正進入了自己的時代。不幸的是,並不是每個遊戲都在每個Linux作業系統上執行。讓事情正常運轉有時會讓人頭疼。 ...

  • 發佈於 2021-03-12 12:25
  • 閲讀 ( 61 )

5件有用的事情,你可以做1tb的記憶體

... 這顯示了一個有16個記憶體庫的伺服器,每個記憶體庫配備了三個記憶體模組:一個32GB記憶體條和兩個16GB記憶體條。這意味著每個銀行有64GB的記憶體,總記憶體為16x64GB=1024GB。 ...

  • 發佈於 2021-03-12 15:50
  • 閲讀 ( 55 )

一個尺寸不適合所有人:為什麼軟體不能普遍相容

... 每個作業系統的核心都會實現不同的系統呼叫,包括哪些系統呼叫可用、呼叫什麼或選擇什麼。因此,軟體需要考慮到它所針對的每個作業系統的核心所支援的系統呼叫。...

  • 發佈於 2021-03-13 08:34
  • 閲讀 ( 51 )

如何使用hyper-v在windows 10上執行任何linux發行版

...行檔案。然而,很少有人會在一臺計算機上使用兩個或多個作業系統。 ...

  • 發佈於 2021-03-14 05:09
  • 閲讀 ( 53 )

fat32和exfat的區別是什麼?哪一個更好?

...USB驅動器上的資料。不幸的是,有很多檔案系統,並不是每個作業系統都能很好地處理每一個檔案系統。這就是為什麼預設的推薦選擇是FAT32。但有一個更好的選擇:exFAT。 ...

  • 發佈於 2021-03-14 09:01
  • 閲讀 ( 48 )
vzf3577
vzf3577

0 篇文章

作家榜

  1. admin 0 文章
  2. 孫小欽 0 文章
  3. JVhby0 0 文章
  4. fvpvzrr 0 文章
  5. 0sus8kksc 0 文章
  6. zsfn1903 0 文章
  7. w91395898 0 文章
  8. SuperQueen123 0 文章

相關推薦