this post was submitted on 15 Aug 2023
20 points (100.0% liked)

Arch Linux

167 readers
1 users here now

The beloved lightweight distro

founded 4 years ago
MODERATORS
 

Quote from the Archwiki (Installation guide):

Arch Linux should run on any x86_64-compatible machine with a minimum of 512 MiB RAM, though more memory is needed to boot the live system for installation. A basic installation should take less than 2 GiB of disk space.

Does that mean it is technically possible to get a Windows XP-era device with 512 Mb RAM and install Arch on it by pulling out the hard drive, connecting it to a modern machine via a SATA to usb connector, for example, with the modern machine running the live environment, and then just partitioning and installing on the old computer HDD, then putting the hdd back on the old computer? Is something like that feasible? I don't have a machine to test it on, but it certainly sounds like a fun experiment. It sort of reminds me of the stories of Gentoo cross-compiling.

Edit: It is a HYPOTHETICAL question. Please focus on the METHOD and IMPLEMENTATION instead of 32-bit compatibility or driver issues.

top 12 comments
sorted by: hot top controversial new old
[–] casualdan 10 points 1 year ago (2 children)

The requirement for x86_64 eliminates most XP era machines, though I was certainly running XP well into the Vista era on potentially compatible hardware.

How old are you thinking?

[–] starman@programming.dev 3 points 1 year ago* (last edited 1 year ago)

There are Arch ports to 32-bit architecture, for example this one

[–] theshatterstone54@feddit.uk 2 points 1 year ago

It's a hypothetical question on the method of implementation, not the practical side of things.

[–] LiveLM@lemmy.zip 2 points 1 year ago

I think so, yeah.
Though Alpine would be probably easier to get going given the super tiny size.

[–] chimay@lemy.lol 2 points 1 year ago (1 children)

512 m ram dunno, but I had an old 10 yo+ dual core / 4 gb ram laptop on arch working well, except for gaming. Just replaced it with ghostbsd, also fluid.

[–] theshatterstone54@feddit.uk 1 points 1 year ago

Not so mich about the device, more about the method of doing it. It's a hypothetical question pf whether or not this method of installation is possible.

[–] Tippon@lemmy.dbzer0.com 1 points 1 year ago

I don't know about Arch, because I've never used it, and I believe it only installs the drivers for the current hardware. I've done it with either Ubuntu or Mint though, and even with Windows XP and 7, though they were harder.

I haven't done it as a deliberate choice during installation, but I have had a working OS on a drive that I've then transferred to another computer. In the Linux cases, I've just put an old drive into another computer to see what would happen, as the drive was due to be wiped anyway. It was several years ago, probably over ten years, but for the most part, they just worked. The first boot was slow, presumably while the drivers were sorted out, but I think the most work I had to do was reboot a few times, after it got to the desktop.

With Windows, I had to delete a drivers folder, I think under C:\Windows\System32, and delete a registry entry. It didn't work every time, but it did work fairly regularly. It may have been down to the Windows version, home vs pro, but I can't remember.

Hope this helps 👍

[–] drwankingstein@lemmy.dbzer0.com 1 points 1 year ago* (last edited 1 year ago)

Way overcomplicating it, sure you could do that, or you could just Install arch using cdrom. it's worked on Windows 98 PCs it'll probably work on Windows XP PCs.

though you may need an older ISO to hit the 512mb limit

[–] somenonewho@feddit.de 1 points 1 year ago (1 children)

So. To answer you "hypothetical" question if we ignore all the factors making it complicated (like 32bit compatibility, drivers, etc.)

Yes it is "feasible" to Install an OS using a modern System and just pull out the HDD and shove it into an old system. Especially since the way BIOS/MBR (aka "Legacy Boot") is the exact same on all systems you write the "what to start" code in the first few Bytes on the HDD (aka the MBR) and set a bootable flag on the device. Now you can pull it out and plug it into any other machine which will simply "look" for a bootable flag and then run the code in the MBR (usually a bootloader). This bootloader (usually grub for legacy systems) will then execute one of its boot entries and start a kernel. This is probably where a real world example fails because of the problems mentioned by everyone here.

[–] theshatterstone54@feddit.uk 1 points 1 year ago

Yes, thank you. I just wanted to make sure that was a thing. Thank you for actually answering my question.

[–] Cwilliams 0 points 10 months ago (1 children)

"I have this really hard problem. If you disregard all of the hard parts, what are the hard parts?"

[–] theshatterstone54@feddit.uk 1 points 10 months ago

As I said, I do not have this problem. It's an old theoretical thought experiment.