You are not logged in.
I want to make an arch64 install to play with in addition to my current i686 install. I have created an ext4 partition and mounted it as /arch64.
I just want to check that what I am doing is right. Am I correct that the following procedure should install arch64 correctly on my system
1. Modify all links in pacman.conf to point to x86_64 instead of i686.
2. Uncomment the Rootdir line in pacman.conf and have it point to /arch64 instead of /
3. run pacman -Sy base
4. run pacman -S kernel26
5. edit fstab, rc.conf etc to my setup.
6. Add new setup in grub.
7. done.
I am thinking this should give me a base arch install on the new partition. Have I missed anything?
Offline
For 2, you can use "-r" to set the root.
Have a look at this wiki page: http://wiki.archlinux.org/index.php/Ins … her_distro
Offline
Re 1 - if your pacman.conf is as per the default, you will need to change the links in /etc/pacman.d/mirrorlist, not in pacman.conf itself. When I was doing this the other way around, I created mirrorlist.i686, which was basically my x86_64 mirrorlist and a bit of sed. And rather than change anything in your current system's pacman.conf, I'd suggest creating an alternative pacman.conf.64 and using pacman's --config flag.
Offline
thanks guys. Nice pointers on the --config option and the mirrorlist.
Offline
Ok, so I went ahead and ran
pacman -Sy base -r /arch64 --config /etc/pacman.conf.64
and I get:
error: scriptlet failed to execute correctly
on a lot of the packages (those who had scripts to run on install I presume). I'm at loss as to what happpened here?
Offline
That is probably no good idea; the install-scripts ignore the -r flag and will **** up your current install. This is how I setup a chroot:
CHROOT=/arch64
mkdir -p $CHROOT/var/lib/pacman
pacman --root $CHROOT --sync --refresh
pacman --root $CHROOT --sync --noconfirm coreutils filesystem pacman bash
mount -o bind /dev/ $CHROOT/dev/
mount -t proc none $CHROOT/proc/
mount -t sysfs none $CHROOT/sys/
Now you can `chroot $CHROOT` and continue your installation from there.
Last edited by Spider.007 (2009-01-19 13:56:10)
Offline
pacman --root $CHROOT --sync --noconfirm coreutils filesystem pacman bash
scriptlets still fail running this command. Btw, missed this output at the bottom the first time around I ran pacman on this:
sh: /arch64/sbin/ldconfig: cannot execute binary file
Offline
I googled a bit and found out that apparently 64-bit binaries can't run on a 32-bit system, although the opposite is the case.
So now, because I am getting stubborn and want this method to work, I am thinking: What if I [temporarily] install a 64-bit kernel in my 32-bit system? I expect stuff to fail here and there, but as long as I can boot in and install the arch64 system via the commandline, I'd be happy.
Terrible idea? Would I need other 64-bit packages just to make the kernel run?
Last edited by b9anders (2009-01-19 14:55:21)
Offline
I installed a 64-bit kernel and it ran just as it should. The arch64 install was a success.
well, I have some trouble with hal and hotplugging but that's another issue.
Offline
Hi, I'm interested in doing this, but with a twist.
My laptop currently has 32-bit Arch installed, with a separate /home partition and /boot partition. I'd like to install 64-bit Arch on another partition, and I see from this that I can't do it directly using chroot.
However, I currently have 64-bit Arch installed on another computer with proper SSH access and everything. Could I mount my empty partition on my laptop, use sshfs to mount the mount-point on my other computer, and do the setup from there?
Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.
Offline
Please ignore this, I'm subscribing to this topic to be able to see any replies.
Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.
Offline
Hi, anyone have any idea whether install via SSH is possible?
Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.
Offline