Daniel da Veiga wrote:
> On 8/10/06, Richard Fish <[EMAIL PROTECTED]> wrote:
>> On 8/10/06, Christoph Eckert <[EMAIL PROTECTED]> wrote:
>> > * Boot from a live-CD
>> > * mount old and new drive partitions
>> > * cd to the mountpoint containing the data to be copied
>> > * tar -cSp --numeric-owner -f - . | ( cd /mnt/NEW && tar xSpvf - )
>> > * Drink coffee :)
>>
>> The one thing you may have to take care of is grub, since I assume the
>> /boot directory will be moving to the 40G drive as well.  Assuming the
>> partition containing /boot is /dev/hda1, then the following should
>> work:
>>
>> echo "(hd0) /dev/hda" > device.map
>> grub --device-map=device.map << EOF
>> root (hd0,0)
>> setup (hd0)
>> quit
>> EOF
> 
> You seem to have read my mind, I was just about to ask about the boot
> signature and if I should run grub again. Yes, I'm moving the whole
> partition scheme along with data.
> 
> Linux "cp" is a powerful command, gotta take a look at its manual.
> 
> Thanks for the info so far people, I've decided to move my stuff by
> the morning, I'll post any disaster/sucess reports.
> 
Also don't forget to adjust fstab and your kernel line in grub.conf.

Tony

-- 
Those who would give up essential Liberty, to purchase a little temporary
Safety, deserve neither Liberty nor Safety.
   -- Benjamin Franklin
-- 
[email protected] mailing list

Reply via email to