Mỗi hệ điều hành có cần RAM không?

Mục lục:

Mỗi hệ điều hành có cần RAM không?
Mỗi hệ điều hành có cần RAM không?

Video: Mỗi hệ điều hành có cần RAM không?

Video: Mỗi hệ điều hành có cần RAM không?
Video: TIN MỚI 10/06/2023 CẢNH TƯỢNG K|NH H0,ANG: XÁC QUÂN NGA NỔI ĐẦY SÔNG DNIPRO. PUTIN K|NH SƠ XZ - YouTube 2024, Tháng tư
Anonim
Nếu bạn có một máy tính mà RAM có thể bị hỏng, có hệ điều hành nào hoạt động trên máy tính, ít nhất là để giúp bạn kiểm tra và chẩn đoán phần cứng không? Bài đăng Hỏi & Đáp của SuperUser hôm nay sẽ thảo luận sôi nổi về chủ đề để thỏa mãn câu hỏi của người đọc tò mò.
Nếu bạn có một máy tính mà RAM có thể bị hỏng, có hệ điều hành nào hoạt động trên máy tính, ít nhất là để giúp bạn kiểm tra và chẩn đoán phần cứng không? Bài đăng Hỏi & Đáp của SuperUser hôm nay sẽ thảo luận sôi nổi về chủ đề để thỏa mãn câu hỏi của người đọc tò mò.

Phiên Hỏi & Đáp hôm nay đến với chúng tôi theo lịch sự của SuperUser - một phân khu của Stack Exchange, một nhóm các trang web Hỏi & Đáp do cộng đồng điều hành.

Ảnh lịch sự của Chris Isherwood (Flickr).

Câu hỏi

Đầu đọc siêu người dùng VusP muốn biết nếu có một hệ điều hành có thể hoạt động mà không có 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.

Có một hệ điều hành có thể hoạt động mà không có RAM không?

Câu trả lời

Người đóng góp SuperUser agtoever có câu trả lời cho chúng tôi:

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.

Bạn quan tâm đến việc xem thêm phản hồi về chủ đề cụ thể này? Sau đó, hãy đảm bảo xem chuỗi thảo luận sôi nổi được liên kết bên dưới!

Có cái gì để thêm vào lời giải thích? Tắt âm thanh trong các ý kiến. Bạn muốn đọc thêm câu trả lời từ những người dùng Stack Exchange có hiểu biết công nghệ khác? Xem toàn bộ chuỗi thảo luận tại đây.

Đề xuất: