this post was submitted on 15 Aug 2023
5 points (64.7% liked)

Arch Linux

7845 readers
14 users here now

The beloved lightweight distro

founded 5 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 16 comments
sorted by: hot top controversial new old
[–] casualdan@beehaw.org 5 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 1 points 1 year ago* (last edited 1 year ago)

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

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

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

[–] traches@sh.itjust.works 5 points 1 year ago (1 children)

Wouldn't most of those old computers be 32 bit? I remember trying to throw arch on an old winxp netbook and running into that issue.

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

It's a hypothetical question about the method of implementation and that method's feasibility. Sorry for the confusion.

[–] taipan_snake@lemmy.world 4 points 1 year ago

Yes, you can install on one machine, move the drive to a different machine, and it should mostly just work (unless they are different architectures and the packages aren't compatible). I've recently moved an old Arch install into a basically new computer and after changing the microcode it just works fine.

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

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

[–] Agility0971@lemmy.world 2 points 1 year ago

It should be possible. I've just recently created a virtual hard disk in virtual box and mapped it to a physical ssd and installed windows on it. just change the settings of the virtual machine to match the target hardware and it should be fine I think.

[–] insomniac@sh.itjust.works 1 points 1 year ago

I have a Thinkpad T400 with Arch on it. It came out in 2008 which I believe is the last year XP got a release. But I’m pretty sure it came with Vista.

It runs like shit with a full desktop environment but with i3, it’s decent. I haven’t used it in a little while because I upgraded to a luxurious T440 recently but I have Intellij and Docker running on it. I can do most of my programming things. It’s definitely good enough for browsing the internet or running Libre Office.

[–] 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.

[–] 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

[–] Cwilliams@beehaw.org 0 points 11 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 11 months ago

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

[–] chimay@lemy.lol 0 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 0 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.