Date: Fri, 1 Jan 2016 20:51:45 +0300 From: "Eugene R" <genie@geniechka.ru> To: <freebsd-questions@freebsd.org> Subject: freebsd-update for architecture migration? Message-ID: <5C0285423A864DB1A8893E704BE3118C@geniepc2011>
next in thread | raw e-mail | index | archive | help
Hi all! I would like to suggest the the idea of extending the freebsd-update = functionality to also handle architecture migration (the most evident = use case is e.g. 9.3/i386 to 9.3/amd64 to support larger memory). In my (uniformed) opinion almost all functionality should already be = there (i.e. stage the replacement filetree, merge the configs and = carefully copy over the live system) and the process should actually be = even easier than major version upgrade on the same architecture (almost = the same configs and layouts). The manual migration procedure basically = does just that but it is rather manual, complicated and error-prone... Does it makes sense? Best wishes and Happy New Year! Eugene From owner-freebsd-questions@freebsd.org Fri Jan 1 19:46:28 2016 Return-Path: <owner-freebsd-questions@freebsd.org> Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 28ED8A5E8D1 for <freebsd-questions@mailman.ysv.freebsd.org>; Fri, 1 Jan 2016 19:46:28 +0000 (UTC) (envelope-from brandon.wandersee@gmail.com) Received: from mail-ig0-f172.google.com (mail-ig0-f172.google.com [209.85.213.172]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id F35331546 for <freebsd-questions@freebsd.org>; Fri, 1 Jan 2016 19:46:27 +0000 (UTC) (envelope-from brandon.wandersee@gmail.com) Received: by mail-ig0-f172.google.com with SMTP id to4so210997020igc.0 for <freebsd-questions@freebsd.org>; Fri, 01 Jan 2016 11:46:27 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=references:user-agent:from:to:cc:subject:in-reply-to:date :message-id:mime-version:content-type; bh=2ocKjKLFq63UhsFONerHU/AaOC5dQa3krkUp7L4cKxg=; b=hM9Q+5S7IJggm3F9IL5iJr2wr9HzNc2wA0XzHM7bAAefV1kfPGXPwkis2QL0JrYCUw n+woFBGLpw7+fhX79hJDV0Ne/g6i+Rbn+MnjEhvXoYy7mkXHHssU6XQrfs+gZr23vNaS XpnSqNG9eksC8FL5YKwBv1RPcNI8gUVTbYBl2aFDYal/v/L2CHM5AdrWUgrqJD6AEAU0 89jA0cTl+I7QcAWeAMfRQZlYJ/KTFbxPesyZyIJRUjaUFalAS8a+oYn2tcMU1iqTDdch oE7DwqTWCaM6inSNCvU8DERc7JEp6CwNZNxlTX8KIIHA5UAu+9mI8Z4fdWpOAvy2qmud xv4w== X-Received: by 10.50.2.66 with SMTP id 2mr71444313igs.66.1451675761154; Fri, 01 Jan 2016 11:16:01 -0800 (PST) Received: from WorkBox.Home.gmail.com (63-231-131-191.mpls.qwest.net. [63.231.131.191]) by smtp.gmail.com with ESMTPSA id 75sm22618020iog.27.2016.01.01.11.15.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 01 Jan 2016 11:16:00 -0800 (PST) References: <5C0285423A864DB1A8893E704BE3118C@geniepc2011> User-agent: mu4e 0.9.15; emacs 24.5.1 From: Brandon J. Wandersee <brandon.wandersee@gmail.com> To: Eugene R <genie@geniechka.ru> Cc: freebsd-questions@freebsd.org Subject: Re: freebsd-update for architecture migration? In-reply-to: <5C0285423A864DB1A8893E704BE3118C@geniepc2011> Date: Fri, 01 Jan 2016 13:15:58 -0600 Message-ID: <86k2nt3yc1.fsf@WorkBox.Home> MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions <freebsd-questions.freebsd.org> List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions/> List-Post: <mailto:freebsd-questions@freebsd.org> List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help> List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=subscribe> X-List-Received-Date: Fri, 01 Jan 2016 19:46:28 -0000 Eugene R writes: > Does it makes sense? No. First, it could only possibly work if the foundational architecture were fundamentally the same--say, moving from x86 to x86-64. You can't move from x86 to ARM, because the live x86 system wouldn't run on the new hardware. And as x86 becomes obsolete instances of people moving from x86 to x86-64 will dwindle drastically in the near future, such that by the time the work to make this possible were finished and the new freebsd-update version released, it would no longer be useful. And I'm not sure why you think migrating to a new architecture would be simpler than just upgrading the current system, since you'd have to replace each and every file, including the kernel. You'd be replacing the currently running kernel with one specific instruction set on the live system, with a new one using a different instruction set. I would bet the system would almost certainly lock up. That's all kinda moot, though, because if you're moving from one architecture to another, then unless you've got some extraordinarily special circumstance, you're logically moving from one machine to another. A new machine with different hardware requiring different configurations and different port/package builds, and probably some other stuff you'll almost certainly forget in the process. It would be much faster to just install a new system from scratch. -- ================================================================= :: Brandon Wandersee :: :: brandon.wandersee@gmail.com :: ================================================================== 'A common mistake that people make when trying to design something completely foolproof is to underestimate the ingenuity of complete fools.' - Douglas Adams ==================================================================
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5C0285423A864DB1A8893E704BE3118C>