Moving to a new partition for /usr
fernando.apesteguia at gmail.com
Fri Sep 7 12:06:53 UTC 2007
On 9/7/07, Karl Larsen <k5di at zianet.com> wrote:
> John Pierce wrote:
> > Hello, I have created a new partition labeled usr01 and I want to copy
> > all of the contents of /usr to that partition and then use it as the
> > new partition. This is the steps that I have taken, I would
> > appreciate any comments if what I propose will function correctly.
> > Installed new drive
> What new drive?
> > made partition labeled usr01
> > mounted new partition on /mnt
> > cd /usr
> > cp -R --preserve=all * /mnt
> I would use cp -a and that works fine
-a is like -dpR
this means --preserve=link and --preserve=mode, ownership,timestamps
--preserve=all copies all of the attributes above and the rest of them
whatever they are (maybe some ACL's attributes)
> > That is what I have done so far, now if I do the following will the
> > system boot up and work correctly?
> > umount /mnt
> > edit /etc/fstab and make the new partition /dev/sdb1 mount to /usr
> > reboot.
I think it should boot if the copy has been done properly.
> Your leaving out some important steps. I am not sure what your rebooting?
He's rebooting the system, of course. What steps do you mean?
> Karl F. Larsen, AKA K5DI
> Linux User
> #450462 http://counter.li.org.
> fedora-list mailing list
> fedora-list at redhat.com
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
More information about the users