[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: moving Woody /usr partition



nate said:

> 1) install the new disk, partition & format it as you like
> 2) mount the disk somewhere on the root filesystem(I use /usr.new) 3) go
> to single user mode ('init 1')
> 4) cd /usr ; cp -a * /usr.new/ ; cd / ; mv usr usr.old
> 5) edit /etc/fstab and add the new filesystem
> 6) go back to runlevel 2 (logout, or 'init 2' or whatever runlevel you
> use) 7) run the system for a few days and make sure everything is good,
> once this is done erase /usr.old if you want. I've done this procedure
> dozens of time and have never had a problem.

this is probably obvious but just incase it's not a couple things
i forgot to mention:

mkdir /usr ; umount /usr.new

mount -a

after adding the stuff to /etc/fstab

and yes I have forgotten to do this sometimes on some of my copies :)
not hard to fix, just went back to single user mode and did it and
came back again.

nate





Reply to: