1 |
On 8/10/06, Christoph Eckert <ce@×××××××××.de> wrote: |
2 |
> * Boot from a live-CD |
3 |
> * mount old and new drive partitions |
4 |
> * cd to the mountpoint containing the data to be copied |
5 |
> * tar -cSp --numeric-owner -f - . | ( cd /mnt/NEW && tar xSpvf - ) |
6 |
> * Drink coffee :) |
7 |
|
8 |
The one thing you may have to take care of is grub, since I assume the |
9 |
/boot directory will be moving to the 40G drive as well. Assuming the |
10 |
partition containing /boot is /dev/hda1, then the following should |
11 |
work: |
12 |
|
13 |
echo "(hd0) /dev/hda" > device.map |
14 |
grub --device-map=device.map << EOF |
15 |
root (hd0,0) |
16 |
setup (hd0) |
17 |
quit |
18 |
EOF |
19 |
|
20 |
-Richard |
21 |
-- |
22 |
gentoo-user@g.o mailing list |