On Wed, Feb 28, 2001 at 09:51:11AM -0300, Gabriel Sandor wrote:
> Hello C,
> Tuesday, February 27, 2001, 11:08:55 PM, you wrote:
> CN> Hello from the frozen north;
> CN>         I'm planing to upgrade my harddisl from an 8gig to a 20 gig and was 
>wondering how to move over
> CN> to the new drive with little or no pain.
> CN> I'm running Mandrake 7.2.
> CN> thanx
> Well, if you have only Linux, it's easy, the problem is if you have
> windows also, and how you would configure your partitions.
> The process of moving Linux from one partition or hd to another is
> fairly simple:
> Put your new hd as slave and make all the partitions and format them.
> Just copy all the tree but /proc and /mnt. Create the directories
> under /mnt. Then you should edit your /etc/fstab and /etc/lilo.conf to
> reflect the new location of the partitions.
> At this point you need a boot disk to boot when you swap the hd's to
> their final position.
> When you boot with the diskette, run lilo to remap your boot files and
> that's all.

I would like to move my /var and /tmp over to new partitions. I tried
moving /tmp, but ran into permissions problems. What would be the best
permissions (security-wise) and how should I set them?
As for /var, I tried copying it over using cp -a or tar, and ran into
problems with either method on startup. What should I do?

thanks,
tom

Reply via email to