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

Re: moving Woody /usr partition



john gennard said:

> I installed Woody whilst leaving Potato on this box
> and I've only now realised I did a sloppy job.
> /dev/hda contains all of Woody except /usr which I
> put on hdb (hdb8 - 1.2gig) as there was surplus
> space there. Nothing else on hdb needs to be retained.

what I do ..

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.

nate





Reply to: