Replacing x86 system with the x64 one, or enabling PAE?
Hey,
I have Asus A53U laptop which is somewhat low-end (AMD E-350, 3GB RAM, 320 GB HDD etc). I've just purchased a 4 GB memory stick so now I have 6 GB of memory. However, I have the x86 system on my laptop so I need to either enable PAE (meaning recompile kernel), or install x84.
Now, I've tried enabling PAE by downloading the linux-pae package from AUR. After 2 hours of compilation, it reported "No space left on device". I've changed the TEMPDIR in yaourtrc from /tmp (which was 100% full at that point) to /var/tmp and restarted the compilation.
While I wait for the compilation to finish, I have a few questions.
- Most people advise me to replace the x86 and go with x64 instead of enabling PAE. Why?
- Suppose that I do decide to replace it, how would I most painlessly replace the existing system with the x64 one? The bad news is that I've had this system for over a year, so as you may imagine there's a bunch of crap on it. The good news is that I have a separate /home partition. If I copy some (important) programs from /opt, can I expect them to work without reinstallation?
About this post
- Posted
- Archived
- Score
- 13 · 100% up
- Kind
- Text
- ID
- qwi98
9 comments
First of all, having the kernel from AUR is troublesome. You'd need to recompile some modules against it yourselves too. Secondly 64-bit is faster than 32-bit or PAE (Yeah, I know it's phoronix).
Save your package list ("pacman -Qetq > pkg.list" or "(pacman -Qq;pacman -Qmq) | sort | uniq -u > pkg.list" if you don't want AUR packages mixed in) and install those on the new machine. Save /etc/.
I'm not sure about /opt. The programs in there are 32-bit (if binary and not interpreted like python or perl or ruby or something) and so would need 32-bit libs (from the multilib repo). If you have them installed as packages you could always just recompile and reinstall those ("pacman -Qmq" gives you a list).
Thanks for the reply. I guess I'll go with x64, however probably next week, because I'm still waiting for the real internet (now tethered to my phone). In the meantime, I'll use the PAE kernel until I get it.
Just so you know, you can use a 64-bit kernel with a 32-bit userland. Meaning you can keep your installed system and just install a 64-bit kernel and do some configuration. You'll likely have to install the 64-bit kernel manually. There's info on the Arch forums about it.
You can also migrate without doing a full reinstall. Relevant wiki page and forum post.
Linus Torvalds about PAE
I recommend you backup /home for your files and /etc for config files. Also, run pacman -Q and get a list of all of your installed software. Once you've done this, install an x64 system and replace everything you have. There may be some incompatibilities with x64 and x86 software configs so go slow when replacing your files. Hope that helps! Also, using x86 when x64 exists is throwing away the hard work of coders that want to eventually move to x64. Good luck!
So, I did both actually. If you are wanting to build a kernel, you might as well do it "manually", which is really actually pretty automatic. Guide here: https://wiki.archlinux.org/index.php/Kernels/Compilation/Arch_Build_System
I then wanted to run OSX in a VM, though, and needed 64 bit to do it. So I did the latter, and installed x64 from a running system.
I did this about a month ago using Method 2 from here: https://wiki.archlinux.org/index.php/Migrating_Between_Architectures_Without_Reinstalling
I pretty much followed the steps exactly as listed. Be aware that AUR packages won't be able to be upgraded automatically, but the guide shows you how to back up the list of packages and get through the installation.
I will say that it was indeed pretty simple once I got through it, and I had a backup already along with a rescue disk, just in case. There are some quirks I've experienced since the upgrade, but that is Linux and I'm probably going to end up learning a ton fixing them ;)
How exactly did you manage to run OS X in a VM? I thought that was only possible on an actual, hardware Mac.
I am not entirely certain of all the legal problems that it presents, but it is entirely possible to run OSX on hardware (virtualized or not) that is not apple hardware.
Take a look here for hackintosh: http://www.osx86project.org/
As well, if you look in the usual places, you can find a VMWare image of OSX's Lion Install that will run on pretty much anything with VT-x. You'll also need to find an "unlocker" (not a crack; it has to patch some things in VMWare) to run it.
Also, this has a lot of great information on the subject too: http://stackoverflow.com/questions/39159/is-it-possible-to-run-osx-in-a-virtual-machine
I have 'upgraded' my system from 32 to 64 bit using method 1 in this guide https://wiki.archlinux.org/index.php/Migrating_Between_Architectures_Without_Reinstalling . It surprised me it worked so well, however some programs, if I remember correctly Flash and Skype, did need multilib enabled in pacman.conf. Also chromium's config was broken somehow, so I removed that.