From: Nikos Chantziaras <realnc@arcor.de>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Re: gentoo install on Dell restore partition... live?
Date: Tue, 15 Jul 2008 10:42:20 +0300 [thread overview]
Message-ID: <g5hkcu$kmn$1@ger.gmane.org> (raw)
In-Reply-To: <20080715080936.7aee5ebc@loonquawl.digimed.co.uk>
Neil Bothwick wrote:
> On Tue, 15 Jul 2008 09:43:33 +0300, Nikos Chantziaras wrote:
>
>> 'cp -a' your existing / to your target / (except /dev, /sys and /proc).
>> If you mounted your target / as /root/target, you do:
>>
>> cp -a /usr /root/hd
>> (repeat this for all directories in your current /
>> *EXCEPT* /dev, /proc, /sys and /lost+found)
>>
>> mkdir /root/hd/dev
>> mkdir /root/hd/proc
>> mkdir /root/hd/sys
>
> Or replace all this with one command
>
> cp -al / /root/hd
I assume you meant 'cp -ax' :P
That's indeed faster than typing everything by hand and I forgot about it ;P
> or, my preference
>
> rsync -ax / /root/hd/
Well, /root/hd is empty so there's nothing to win with rsync other than
it being slower than cp. But it does the job too, anyway.
--
gentoo-user@lists.gentoo.org mailing list
next prev parent reply other threads:[~2008-07-15 7:42 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-15 5:31 [gentoo-user] gentoo install on Dell restore partition... live? Michael Higgins
2008-07-15 5:39 ` Robert Bridge
2008-07-15 6:43 ` [gentoo-user] " Nikos Chantziaras
2008-07-15 6:47 ` Nikos Chantziaras
2008-07-15 6:51 ` Nikos Chantziaras
2008-07-15 7:09 ` Neil Bothwick
2008-07-15 7:42 ` Nikos Chantziaras [this message]
2008-07-15 7:52 ` Neil Bothwick
2008-07-15 15:17 ` Michael Higgins
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='g5hkcu$kmn$1@ger.gmane.org' \
--to=realnc@arcor.de \
--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