From: Константин <kastian@mail.ru>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] plain copy of root disk won't work
Date: Fri, 18 Nov 2016 22:20:13 +0300 [thread overview]
Message-ID: <20161118192013.GA23580@eee.birulevo.net> (raw)
In-Reply-To: <e86af8b9-3693-36f9-dfdc-9523701dc001@st.com>
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'.
Didn't you do this from working system on hda? In this case there
really could be troubles with special files etc. Imho live-cd better
for this purpose.
At any case imho it's better to split this task
0. Boot from live-cd.
1. Copy partitions from hda to sda (cp or rsync)
2. Edit fstab on sda.
3. Configure grub on HDA to see hda and sda systems,
4. Try to boot sda.
5. If all is good, configure grub on sda, and change BIOS boot order.
As Canek wrote rsync is great for this task, but beware - last '/' in
'/source/directory/' means!
#kstn
next prev parent reply other threads:[~2016-11-18 19:13 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
2016-11-18 19:20 ` Константин [this message]
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=20161118192013.GA23580@eee.birulevo.net \
--to=kastian@mail.ru \
--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