So sprach Ran Hooper am Wed, Nov 08, 2000 at 09:32:10PM -0800:
> 4) tar czpf /vardata.tar.gz /var

-z isn't necesssary if you have enough freespace in /

I would do it a little different, but your approach wasn't wrong though.

 1) turn off computer
 2) install hardware
 3) turn on
 4) add alias scsi_hostadapter aic7xxx to /etc/modules.conf
 5) run cfdisk/fdisk to partition the drive
 6) I'd choose reiserfs as the fs for the new drive, but that's up to you
 7) mkreiserfs /dev/sda1 (or mke2fs /dev/sda1)
 8) add /dev/sda1 /var reiserfs defaults 0 0 to /etc/fstab
 9) mount (-t reiserfs) /dev/sda1 /mnt/newvar
10) tar cfvsp - -C /var | tar xfvsp - -C /mnt/newvar
    (now you have a copy of /var in /mnt)
11) mv /var /varold
12) umount /mnv/newvar
13) mount /var
14) rm -rf /varold


> 6) Run diskdrake, mount the drive, hopefully it takes care of fstab yes?

What does diskdrake do?

Alexander Skwar
-- 
How to quote:   http://learn.to/quote (german) http://quote.6x.to (english)
Homepage:       http://www.digitalprojects.com  |  http://www.dp.ath.cx
GnuPG ID:       4E35467E  FP: 93367E5B4AB777B42065533F456FF17C4E35467E
ICQ:            7328191

Keep in touch with http://mandrakeforum.com: 
Subscribe the "[EMAIL PROTECTED]" mailing list.

Reply via email to