Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Mar 2007 03:11:13 -0500
From:      Yoshihiro Ota <ota@j.email.ne.jp>
To:        "Matthew D. Fuller" <fullermd@over-yonder.net>
Cc:        Artem Kuchin <matrix@itlegion.ru>, freebsd-stable@freebsd.org, Ivan Voras <ivoras@fer.hr>
Subject:   Re: Migrating from x86 (32) to amd64
Message-ID:  <20070310031113.8b7789fa.ota@j.email.ne.jp>
In-Reply-To: <20070310062451.GM31683@over-yonder.net>
References:  <6D01FD53-497A-46FE-ADC3-4988DB2ADD74@khera.org> <ess671$9bi$1@sea.gmane.org> <002301c76274$04d05900$0c00a8c0@Artem> <20070310062451.GM31683@over-yonder.net>

next in thread | previous in thread | raw e-mail | index | archive | help
About one year ago, I was able to do the regular procedure after enabling i386 compat.  It was just another make world for me.

options         COMPAT_IA32

What I mean is:

#  1.  `cd /usr/src'       (or to the directory containing your source tree).
#  2.  `make buildworld'
#  3.  `make buildkernel KERNCONF=YOUR_KERNEL_HERE'     (default is GENERIC).
#  4.  `make installkernel KERNCONF=YOUR_KERNEL_HERE'   (default is GENERIC).
#       [steps 3. & 4. can be combined by using the "kernel" target]
#  5.  `reboot'        (in single user mode: boot -s from the loader prompt).
#  6.  `mergemaster -p'
#  7.  `make installworld'
#  8.  `make delete-old'
#  9.  `mergemaster'
# 10.  `reboot'

There are some risks doing this way, though.

Regards,
Hiro

On Sat, 10 Mar 2007 00:24:51 -0600
"Matthew D. Fuller" <fullermd@over-yonder.net> wrote:

> On Fri, Mar 09, 2007 at 08:54:42PM +0300 I heard the voice of
> Artem Kuchin, and lo! it spake thus:
> >
> > Theoretically, what would be the procedure?
> 
> - Do a full cross-build of the amd64 world/kernel.
> - newfs your swap partition (or an extra partition/drive).
> - installworld/kernel the amd64 stuff onto that.
> - Boot into that temporary amd64 world.
> - installworld/kernel the amd64 stuff onto your main partition.
> - Boot back normal-like, re-enable swap.
> 
> You should be able to do that in an hour hands-on easily.
> 
> 
> -- 
> Matthew Fuller     (MF4839)   |  fullermd@over-yonder.net
> Systems/Network Administrator |  http://www.over-yonder.net/~fullermd/
>            On the Internet, nobody can hear you scream.
> _______________________________________________
> freebsd-stable@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070310031113.8b7789fa.ota>