1 |
Daniel da Veiga wrote: |
2 |
> On 8/10/06, Richard Fish <bigfish@××××××××××.org> wrote: |
3 |
>> On 8/10/06, Christoph Eckert <ce@×××××××××.de> wrote: |
4 |
>> > * Boot from a live-CD |
5 |
>> > * mount old and new drive partitions |
6 |
>> > * cd to the mountpoint containing the data to be copied |
7 |
>> > * tar -cSp --numeric-owner -f - . | ( cd /mnt/NEW && tar xSpvf - ) |
8 |
>> > * Drink coffee :) |
9 |
>> |
10 |
>> The one thing you may have to take care of is grub, since I assume the |
11 |
>> /boot directory will be moving to the 40G drive as well. Assuming the |
12 |
>> partition containing /boot is /dev/hda1, then the following should |
13 |
>> work: |
14 |
>> |
15 |
>> echo "(hd0) /dev/hda" > device.map |
16 |
>> grub --device-map=device.map << EOF |
17 |
>> root (hd0,0) |
18 |
>> setup (hd0) |
19 |
>> quit |
20 |
>> EOF |
21 |
> |
22 |
> You seem to have read my mind, I was just about to ask about the boot |
23 |
> signature and if I should run grub again. Yes, I'm moving the whole |
24 |
> partition scheme along with data. |
25 |
> |
26 |
> Linux "cp" is a powerful command, gotta take a look at its manual. |
27 |
> |
28 |
> Thanks for the info so far people, I've decided to move my stuff by |
29 |
> the morning, I'll post any disaster/sucess reports. |
30 |
> |
31 |
Also don't forget to adjust fstab and your kernel line in grub.conf. |
32 |
|
33 |
Tony |
34 |
|
35 |
-- |
36 |
Those who would give up essential Liberty, to purchase a little temporary |
37 |
Safety, deserve neither Liberty nor Safety. |
38 |
-- Benjamin Franklin |
39 |
-- |
40 |
gentoo-user@g.o mailing list |