From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9AFB41395E2 for ; Fri, 18 Nov 2016 23:31:51 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 09747E0C04; Fri, 18 Nov 2016 23:31:42 +0000 (UTC) Received: from mail-yb0-f194.google.com (mail-yb0-f194.google.com [209.85.213.194]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A870BE0BF9 for ; Fri, 18 Nov 2016 23:31:41 +0000 (UTC) Received: by mail-yb0-f194.google.com with SMTP id d128so10025062ybh.3 for ; Fri, 18 Nov 2016 15:31:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=kHSCcf5Efr0qT+NZe4nJ6/f6FaNBF7gwzdQZyY29ABE=; b=iT3K4BnmNUFhjFbUrTA8+Se9t9nLvpXfGqNEuV4sgX3aOSc3UqtgbLdhFeyuaGWZBQ vpq0tHvnykqPEwh5sovdM5AD5Irvp5ls04f4gJKpFXJ4P3UVTCQsavyG3g1Xptf/XAZ5 Mbz8MKmIEQxMPsfkME+JEUk70BeG7HmdoxIYpMYwSMUZqfP3r96AFyCE6iKNaraDFjpm pLbMjz6s6yfTGjLhpYgJhakQq04Ki0LTawakU6ZswIggAZohP43R6mLYdrIZWT7JbqmQ 00mPHBVxJO2hq7rVxRGI1zhqvR/mZRZJUQtUP/D3RZNlNNG1RT+lDQwR1/+9BcWAl03b VN0g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=kHSCcf5Efr0qT+NZe4nJ6/f6FaNBF7gwzdQZyY29ABE=; b=aluWbWgDtJYNcTNsFp6+hHQlOLU+Ulkdk6OeBJyFrW4x8qONlb5Ch6yyun40ocoC34 zLKAuVIjZS06MqAUxznr37nFbzpeRJCSUaCM9R8CZLKZT9NMCxZhDDssL+zuOdz2Cjzb c9sMlWRvcnHX6/CRWg417UEuYSHAh2qmJywsxYthjxK2ciwVDU7NTfy7VLiLIxk5E+Yi 85sqcumQsdq2PkM13oiK1oeI7V9/0WwG+ElHNXzRecIg0Ot5QQ7e/2ezXK6GwobO0S8l 1Rw3OwC7D1oMnSfXNEAXw5Tb0tQxjit801kbJAGUQHRa0M/xBplqZhrMs8y/GNHZF91E TkQg== X-Gm-Message-State: AKaTC005fRhMwz2R5gR0F4qOEUsA9N8gRQExL5lZTctHYx+PdSHSfUEF4koWZmBwuN4fSQ== X-Received: by 10.37.78.213 with SMTP id c204mr1257766ybb.180.1479511900538; Fri, 18 Nov 2016 15:31:40 -0800 (PST) Received: from formics.local (67-8-110-87.res.bhn.net. [67.8.110.87]) by smtp.gmail.com with ESMTPSA id a143sm3729357ywe.40.2016.11.18.15.31.40 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 18 Nov 2016 15:31:40 -0800 (PST) Date: Fri, 18 Nov 2016 18:31:33 -0500 From: Fernando Rodriguez To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] plain copy of root disk won't work Message-ID: <20161118233133.GB32748@formics.local> References: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) X-Archives-Salt: 8fdfe15d-66e6-47de-bc04-c57fbd474183 X-Archives-Hash: 20250e0fbc12f36232d3bbd0f486bede On Fri, Nov 18, 2016 at 04:30:28PM +0100, Raffaele BELARDI wrote: > I want to move the main disk contents (hda, PATA) to another, larger > disk (sda, SATA). > > hda contains 4 ext3 partitions (root, home, data, swap). > I created 4 ext3 partitions on sda and copied the data over from the > corresponding hda partitions using 'cp -ax'. > Then I chroot into sda1, 'grub-install /dev/sda', grub-mkconfig and edit > fstab to use sda instead of hda. > Reboot, from the non-UEFI bios change the disk boot order and try to > boot from sda. Do you have a reference to your root partition on /etc/default/grub that you forgot to update before running grub-mkconfig? > grub from the sda starts, loads the kernel from sda1, the kernel finds > the root file system and mounts it RO but then the process stops at the > end of the kernel boot. No kernel panic, just hangs there with the last > kernel message before openrc. Openrc is not started. > > What might I be missing? > > thanks, > > raffaele -- Fernando Rodriguez