F5F Stay Refreshed Software Operating Systems Executing Linux solely on swap memory only

Executing Linux solely on swap memory only

Executing Linux solely on swap memory only

Pages (2): 1 2 Next
A
AskedRumble52
Member
216
05-15-2023, 02:24 AM
#1
Yes, it's feasible to run Linux using only swap and no physical RAM. It may become quite sluggish, but employing a high-performance SSD RAID setup could make the experience much smoother.
A
AskedRumble52
05-15-2023, 02:24 AM #1

Yes, it's feasible to run Linux using only swap and no physical RAM. It may become quite sluggish, but employing a high-performance SSD RAID setup could make the experience much smoother.

D
189
05-16-2023, 03:21 AM
#2
No.
D
DoctorSergio15
05-16-2023, 03:21 AM #2

No.

B
Broflash
Senior Member
740
05-16-2023, 04:10 AM
#3
Need RAM to start up the whole thing, honestly I doubt you’ll be able to load anything straight into swap. It has to travel from the disk to memory and then back to swap space.
B
Broflash
05-16-2023, 04:10 AM #3

Need RAM to start up the whole thing, honestly I doubt you’ll be able to load anything straight into swap. It has to travel from the disk to memory and then back to swap space.

P
PanPanel
Member
58
05-16-2023, 08:55 AM
#4
Considering Linux is open source, theoretically editing the kernel to include SPW would be feasible. At least in theory.
P
PanPanel
05-16-2023, 08:55 AM #4

Considering Linux is open source, theoretically editing the kernel to include SPW would be feasible. At least in theory.

M
Maliwan99
Senior Member
346
05-28-2023, 11:44 PM
#5
You're stuck needing the memory to load the BIOS, making it hard to start the system.
M
Maliwan99
05-28-2023, 11:44 PM #5

You're stuck needing the memory to load the BIOS, making it hard to start the system.

A
AUGI12345
Junior Member
6
05-30-2023, 11:47 AM
#6
You might want to because it’s not that costly.
A
AUGI12345
05-30-2023, 11:47 AM #6

You might want to because it’s not that costly.

L
Lenne04
Junior Member
47
05-30-2023, 12:53 PM
#7
It seems you're asking about trying something new and free. Let's explore that idea further!
L
Lenne04
05-30-2023, 12:53 PM #7

It seems you're asking about trying something new and free. Let's explore that idea further!

M
Matke04
Posting Freak
825
06-02-2023, 01:49 PM
#8
Maybe there are some vintage RAM-free BIOS motherboards? Those who had chips removed for BIOS?
M
Matke04
06-02-2023, 01:49 PM #8

Maybe there are some vintage RAM-free BIOS motherboards? Those who had chips removed for BIOS?

N
NatSchmitt
Member
51
06-17-2023, 04:39 AM
#9
In theory it's possible to start a system without RAM, but it really depends on how the operating system is built. You'd need a motherboard firmware that doesn't depend on RAM during startup, and you'd have to set up the CPU and cache like RAM, perhaps using writeback mode. The OS would also have to be adjusted for this unusual setup, which could be seen as unfair since it still uses memory-like behavior. Linux might not work well here due to its large kernel size. It's probably wiser to create your own basic OS, choose a compatible PC, and install coreboot along with custom motherboard firmware. This approach works best for x86 systems, but other platforms—like embedded devices—can use alternative memory solutions such as microcontrollers. Since x86 has a fixed address map at boot, you could attempt building your own OS in that area, especially if the memory controller is ready before initialization.
N
NatSchmitt
06-17-2023, 04:39 AM #9

In theory it's possible to start a system without RAM, but it really depends on how the operating system is built. You'd need a motherboard firmware that doesn't depend on RAM during startup, and you'd have to set up the CPU and cache like RAM, perhaps using writeback mode. The OS would also have to be adjusted for this unusual setup, which could be seen as unfair since it still uses memory-like behavior. Linux might not work well here due to its large kernel size. It's probably wiser to create your own basic OS, choose a compatible PC, and install coreboot along with custom motherboard firmware. This approach works best for x86 systems, but other platforms—like embedded devices—can use alternative memory solutions such as microcontrollers. Since x86 has a fixed address map at boot, you could attempt building your own OS in that area, especially if the memory controller is ready before initialization.

R
Redstoner137
Posting Freak
811
06-18-2023, 07:46 AM
#10
Challenges are usually exciting, though this one seems a bit unusual. People have already discussed the technical aspects.
R
Redstoner137
06-18-2023, 07:46 AM #10

Challenges are usually exciting, though this one seems a bit unusual. People have already discussed the technical aspects.

Pages (2): 1 2 Next