Re: Moving to a new partition for /usr

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

 



On 9/7/07, Karl Larsen <k5di@xxxxxxxxxx> 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@xxxxxxxxxx
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
>

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux