Gentoo Archives: gentoo-user

From: Sean Higgins <sean@×××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Copying contents /boot from /dev/hdb1 to /dev/hda2
Date: Thu, 28 Jul 2005 00:29:22
Message-Id: 200507272024.46849.sean@systura.com
In Reply to: [gentoo-user] Copying contents /boot from /dev/hdb1 to /dev/hda2 by Richard Watson
1 Richard,
2
3 On Wednesday 27 July 2005 08:53 am, Richard Watson wrote:
4 > Can anyone tell me if it's possible to move (or copy) the complete contents
5 > of /boot located on /dev/hdb1 to /dev/hda2. If so would anyone know the
6 > correct command so I pick up any hidden files ,etc.
7
8 One way to do it is to do the following:
9
10 mount -o ro /dev/hdb1 old
11 mount /dev/hda1 new
12 cd old
13 tar cvf - * | tar xf -C ../new/
14
15 Sean
16
17 >
18 > --
19 > Thanks, Richard
20 >
21 > --
22 > No virus found in this outgoing message.
23 > Checked by AVG Anti-Virus.
24 > Version: 7.0.338 / Virus Database: 267.9.5/58 - Release Date: 25/07/2005
25
26 --
27 Sean Higgins, sean@×××××××.com
28 http://www.systura.com - "Where information becomes knowledge."
29 --
30 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Copying contents /boot from /dev/hdb1 to /dev/hda2 Neil Bothwick <neil@××××××××××.uk>