public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Canek Peláez Valdés" <caneko@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] plain copy of root disk won't work
Date: Fri, 18 Nov 2016 11:57:52 -0600	[thread overview]
Message-ID: <CADPrc80R31djQQr3bo4LH3ZFRvghy=1Sc15wT0wrMM7WzKQJyQ@mail.gmail.com> (raw)
In-Reply-To: <e86af8b9-3693-36f9-dfdc-9523701dc001@st.com>

[-- Attachment #1: Type: text/plain, Size: 1296 bytes --]

On Fri, Nov 18, 2016 at 9:30 AM, Raffaele BELARDI <raffaele.belardi@st.com>
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.
> 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?

Perhaps some permissions and special files. I would use rsync for such a
task:

rsync -Pvas /source/directory/ /target/directory/

I've used that commend in the past for exactly the same motives as you. It
works; also, it's faster I think.

Regards.
--
Dr. Canek Peláez Valdés
Profesor de Carrera Asociado C
Departamento de Matemáticas
Facultad de Ciencias
Universidad Nacional Autónoma de México

[-- Attachment #2: Type: text/html, Size: 1540 bytes --]

  reply	other threads:[~2016-11-18 17:58 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-18 15:30 [gentoo-user] plain copy of root disk won't work Raffaele BELARDI
2016-11-18 17:57 ` Canek Peláez Valdés [this message]
2016-11-18 19:20 ` Константин
2016-11-19 16:07   ` Frank Steinmetzger
2016-11-21  6:19   ` [gentoo-user] plain copy of root disk won't work - SOLVED Raffaele BELARDI
2016-11-18 23:31 ` [gentoo-user] plain copy of root disk won't work Fernando Rodriguez

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CADPrc80R31djQQr3bo4LH3ZFRvghy=1Sc15wT0wrMM7WzKQJyQ@mail.gmail.com' \
    --to=caneko@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox