You are not logged in.

#1 2007-06-20 04:52:05

Leigh
Member
From: USA
Registered: 2004-06-25
Posts: 533

arch64 upgrade

I found one other thread about upgrading from archi686 to arch64, but the member decided to reinstall, so nothing was discussed in detail. I should have probably posted in that thread but the disussion kind of went in a different direction. My processor is definately 64bit capable. Anyway since I have my entire system backed up, I thought I would try to upgrade from i686 to 64, vs a complete reinstall. would this be worth the effort? What would happen if I ran the arch64 duke ftp install, only mounting and not formatting, and tried installing over the top of my i686 install? would this be feesable, or would I end up with a huge mess? I don't mind experimenting as I'm very confident I can restore my system back to normal if I have to.


-- archlinux 是一个极好的 linux

Offline

#2 2007-06-20 05:27:07

tardo
Member
Registered: 2006-07-15
Posts: 526

Re: arch64 upgrade

You'd end up with mixed libraries, which I doubt will turn out well.

Offline

#3 2007-06-20 05:42:16

kth5
Member
Registered: 2004-04-29
Posts: 657
Website

Re: arch64 upgrade

Not necessarily, you could theoreticly just reinstall every package which would then replace the files with 64bit counterparts. Then again, this method will probably only work from outside with a chroot and even then will cause several issues along the way. That is because some packages run install scripts which depend on other packages already being installed. So one would need to start with a base reinstall and go from there.

I'd try this but that one doesn't go along the idea to walk up the dependency chain from the bottom on.

#!/bin/bash
list=`find /var/lib/pacman/local -type d -not -name local`
pkgs=
for fn in ${list}; do
  pkg=`grep -A1 "\%NAME\%" ${fn}/desc | tail -n1`
  pkgs="${pkgs} ${pkg}"
  unset pkg
done
echo ${pkgs}

WARNING:
I would never recommend to actually do this on a system that's not safe to trash. wink
Better aproach would be to seperate your data/home partition off of the rootfs and simply reinstall.

Last edited by kth5 (2007-06-20 05:43:28)


I recognize that while theory and practice are, in theory, the same, they are, in practice, different. -Mark Mitchell

Offline

#4 2007-06-20 19:56:31

Leigh
Member
From: USA
Registered: 2004-06-25
Posts: 533

Re: arch64 upgrade

Thanks for the script kth5 smile  I did some reading and lots of searching and I'm going to give this a shot this weekend when I have some free time. If it turns out to be as much trouble as i think it will be, I'll just start over with a base install. I have a copy/list of every package I have installed on my system, so at worst getting back to normal from a fresh install won't be too bad.

I'm starting to worry about myself. I don't think it's normal to have memorized my grub menu.list, fstab, rc.conf settings, mkinitcpio settings, and various other conf files! roll

Last edited by Leigh (2007-06-20 20:31:39)


-- archlinux 是一个极好的 linux

Offline

#5 2007-06-20 20:41:51

Kenetixx
Member
From: /unvrs/mlkywy/earth/aust/home
Registered: 2006-09-09
Posts: 258
Website

Re: arch64 upgrade

Leigh wrote:

.......

I'm starting to worry about myself. I don't think it's normal to have memorized my grub menu.list, fstab, rc.conf settings, mkinitcpio settings, and various other conf files! roll

Yeah its normal lol well it is to me anyway, as im sure alot fo nix users are the same.


http://binaryritual.net

There is no spoon.......

Offline

#6 2007-06-21 05:09:13

kth5
Member
Registered: 2004-04-29
Posts: 657
Website

Re: arch64 upgrade

Kenetixx wrote:
Leigh wrote:

.......

I'm starting to worry about myself. I don't think it's normal to have memorized my grub menu.list, fstab, rc.conf settings, mkinitcpio settings, and various other conf files! roll

Yeah its normal lol well it is to me anyway, as im sure alot fo nix users are the same.

I don't, I always have to cat /proc/partitions before I mount anything. Usually never change my setups until the machines break. ;p


I recognize that while theory and practice are, in theory, the same, they are, in practice, different. -Mark Mitchell

Offline

#7 2007-06-21 05:21:36

Leigh
Member
From: USA
Registered: 2004-06-25
Posts: 533

Re: arch64 upgrade

haha. It just feels odd when realizing I've memorized stuff like that without trying to. neutral

If I end up having to reinstall and I have my /home dir saved. After installing arch64 and installing all the same packages I previously had on i686, will I run into problems by restoring my /home dir.? Reason I ask is because there are many package specific conf files located in /home/liegh


-- archlinux 是一个极好的 linux

Offline

#8 2007-06-21 23:30:52

ataraxia
Member
From: Pittsburgh
Registered: 2007-05-06
Posts: 1,553

Re: arch64 upgrade

I once had the savegame file for LBreakout2 crash the game when I copied it from PPC to x86. It turned out the file was written in an endian-dependent manner.

I never found anything else to break that way, though.

Offline

#9 2007-06-24 08:44:59

Leigh
Member
From: USA
Registered: 2004-06-25
Posts: 533

Re: arch64 upgrade

I ended up just reinstalling from base. It was too confusing trying to upgrade! The install went great. I do miss the Opera web browser, but I read on the opera site that they are working on a linux 64bit version of Opera for their next release. I can't really see much of a speed difference between i686 and 64 except when shutting down and booting which is definately a lot faster.


-- archlinux 是一个极好的 linux

Offline

#10 2007-06-24 16:30:29

Borosai
Member
From: Sandy Appendix, U.S.A.
Registered: 2006-06-15
Posts: 227

Re: arch64 upgrade

Leigh wrote:

I ended up just reinstalling from base. It was too confusing trying to upgrade! The install went great. I do miss the Opera web browser, but I read on the opera site that they are working on a linux 64bit version of Opera for their next release. I can't really see much of a speed difference between i686 and 64 except when shutting down and booting which is definately a lot faster.

Lies... arch64 is much faster. tongue

A 64-bit version of Opera is good news as well... options options options.

Offline

#11 2007-07-01 02:56:05

Leigh
Member
From: USA
Registered: 2004-06-25
Posts: 533

Re: arch64 upgrade

haha! speed is going to bite us in our arses one day! I can see it now..Like Ack! my computer booted so dang fast it zapped back in time and turned into a pentium1! sad

Waiting a extra few seconds isn't something I can really notice that much. I'm tempted to add the 32bit stuff so I can run Opera and flash, but I'm going to be patient. I don't want to do a whole bunch of stuff just for a few apps that I could live without. Opera is not one to stay behind. Their developers really kick butt, so I suspect it won't be long.


-- archlinux 是一个极好的 linux

Offline

#12 2007-07-01 04:32:11

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: arch64 upgrade

Leigh wrote:

I'm tempted to add the 32bit stuff so I can run Opera and flash, but I'm going to be patient.

If you decide to do it, it doesn't take much. Install lib32-qt, and Opera should run. I honestly don't know which lib32 packages are needed for Flash, but it works well here.

Offline

#13 2007-07-09 15:13:31

Leigh
Member
From: USA
Registered: 2004-06-25
Posts: 533

Re: arch64 upgrade

I decided to add the chroot arch 32bit enviornment and do it that way. It was hard to live without Opera's email, and it's nice having the 32 bit option when ever I need it.


-- archlinux 是一个极好的 linux

Offline

Board footer

Powered by FluxBB