Re: 9-stable from i386 to amd64

2012-02-13 Thread Pete French
> Do you have a spare partition? Probably use the swap partition temporarily. > Install the 64 bits stuff into it. Boot from it and than install the 64 > bits stuff over the (now unused) 32 bits stuff and reboot into that. If > something fails you can always go back to a bootable system. > NB:

Re: 9-stable from i386 to amd64

2012-02-12 Thread Ronald Klop
On Sat, 11 Feb 2012 10:58:30 +0100, Randy Bush wrote: These statements are false, esp. worrying is that they are interwinned with some facts that get tilted to support false presumption. Kernel do not care about which interpreter is /libexec/ld-elf.so. The path to the interpreter is specifi

Re: 9-stable from i386 to amd64

2012-02-11 Thread Ruben van Staveren
Hi Randy, On 11 Feb 2012, at 10:58, Randy Bush wrote: > so do you have direct suggestion(s) on how to hack the system (while the > 32-bit kernel is running) so that i can boot the 64-bit kernel and get > the 64-bit world up? > > randy trying something nanobsd'ish in where you get a 64bit kernel

Re: 9-stable from i386 to amd64

2012-02-11 Thread Randy Bush
> These statements are false, esp. worrying is that they are > interwinned with some facts that get tilted to support false presumption. > > Kernel do not care about which interpreter is /libexec/ld-elf.so. > The path to the interpreter is specified in the binary itself. So if you > have 32bit bin

Re: 9-stable from i386 to amd64

2012-02-10 Thread Konstantin Belousov
On Sat, Feb 11, 2012 at 12:02:07AM -0600, Dan Nelson wrote: > In the last episode (Feb 10), Randy Bush said: > > is there a recipe for moving from i386 to amd64? > > > > on a very remote system, i made the migration from 7.4 to 8.2 to 9.0, all > > 32-bit. it was done with repeated > > > > ma

Re: 9-stable from i386 to amd64

2012-02-10 Thread Randy Bush
> The cleanest upgrade path is to prepare your 32-bit root to be bootable by > both 32- and 64-bit kernels: copy the ld-elf32.so that was built during your > buildworld over to /libexec/ld-elf32.so, and also make copies of > /lib and /usr/lib to /lib32 and /usr/lib32 respectively. That way when yo

Re: 9-stable from i386 to amd64

2012-02-10 Thread Doug Barton
Sorry, I wasn't clear. There are various hacky solutions that you can use if you're safely within shouting distance of the system. But Randy specified "very remote," thus the answer to his question is "no." Doug -- It's always a long day; 86400 doesn't fit into a short. Bread

Re: 9-stable from i386 to amd64

2012-02-10 Thread Randy Bush
> heh? An i386 world should run (almost) fine on an amd64 kernel. I > know people who have done that update (but I know of no one done it > headless). i am not sure i want to be the first :) > PS: do you happen to know why the amd64 kernel did hang on boot? nope. dmesg -a did not help on rese

Re: 9-stable from i386 to amd64

2012-02-10 Thread Dan Nelson
In the last episode (Feb 10), Randy Bush said: > is there a recipe for moving from i386 to amd64? > > on a very remote system, i made the migration from 7.4 to 8.2 to 9.0, all > 32-bit. it was done with repeated > > make buildworld > make kernel.new [0] > nextboot -k kernel.new >

Re: 9-stable from i386 to amd64

2012-02-10 Thread Bjoern A. Zeeb
On 11. Feb 2012, at 05:48 , Doug Barton wrote: > On 02/10/2012 20:56, Randy Bush wrote: >> is there a recipe for moving from i386 to amd64? > > Other than backup and reinstall, no. As you already discovered the old > world won't run on the new kernel. Installing the new world before > reboot isn'

Re: 9-stable from i386 to amd64

2012-02-10 Thread Charles Sprickman
On Feb 11, 2012, at 12:48 AM, Doug Barton wrote: > On 02/10/2012 20:56, Randy Bush wrote: >> is there a recipe for moving from i386 to amd64? > > Other than backup and reinstall, no. As you already discovered the old > world won't run on the new kernel. Installing the new world before > reboot is

Re: 9-stable from i386 to amd64

2012-02-10 Thread Doug Barton
On 02/10/2012 20:56, Randy Bush wrote: > is there a recipe for moving from i386 to amd64? Other than backup and reinstall, no. As you already discovered the old world won't run on the new kernel. Installing the new world before reboot isn't safe either, as at some point in the process it'll blow u

9-stable from i386 to amd64

2012-02-10 Thread Randy Bush
is there a recipe for moving from i386 to amd64? on a very remote system, i made the migration from 7.4 to 8.2 to 9.0, all 32-bit. it was done with repeated make buildworld make kernel.new [0] nextboot -k kernel.new reboot make installworld etc [0] - well, there were