On Fri, 2002-09-06 at 10:54, Brent Bailey wrote:
> Hello,
> 
> Im using mandrake 8.2 and currently i have one ide drive that the /usr
> partition is almost full. I cant install any more packages on this box
> untill i get the /usr partition moved to a bigger drive. Can anyone point
> me at a howto to move the /usr partition over??
> In Freebsd its just a matter of using fdisk to partition & format the drive
> and make entries into /etc/fstab  and mount the drive by doing
> mount -t ufs /dev/xxx  /usr
> 
> However im new to mandrake ..and im not sure of how to do this without
> messing the current /usr partition.
> Once the drive is formated with linux file system (journalized FS)
> can i just copy the data  on my current /usr partition to the new drive
> then edit /etc/fstab ??
> 
> any and all help is greatly appreciated..
> 
> Thank you
> Brent Bailey CCNA
> 
> 
What you said last will work - 
copy the data  on my current /usr partition to the new drive then edit
/etc/fstab

Make sure you preserve the permissions though by using the -p switch.
i.e. something like (as root of course):

cp -Rp /usr /newusr

then edit fstab to reflect the new location of /usr and reboot.

If it screws up, just boot the first install CD, hit F1 and type rescue,
then have it mount the file systems under /mnt so you can put it back. 
Probably a good move to copy fstab first, so recovery from an error is
simply a matter of copying it back.

HTH
Brian


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to