[mdlug] Moving /usr
Mat Enders
mat.enders at gmail.com
Thu Sep 22 10:54:08 EDT 2011
That did the trick thanks
Mat Enders from my BlackBerry®
-----Original Message-----
From: Bob Dion <bob at starlinephoto.com>
Sender: rmdion at gmail.com
Date: Wed, 21 Sep 2011 15:56:21
To: <mat.enders at gmail.com>; MDLUG's Main discussion list<mdlug at mdlug.org>
Subject: Re: [mdlug] Moving /usr
Than, unless you have manually edited the grub.cfg file, you may want to run
update-grub or update-grub2. Make a bkup first.
See grub-mkconfig(8) for more info
Bob Dion
*Starline Photographic*
http://starlinephoto.com <http://starlinephoto.com>
501.525.2183
On Wed, Sep 21, 2011 at 2:35 PM, Mat Enders <mat.enders at gmail.com> wrote:
> It does sound like a grub issue. At the same time that I did the move of
> /usr an update updated grub and when it asked about configuration files I
> told it to keep the old one. Both /var/log/messages and /var/boot.log were
> unhelpful.
> Mat Enders from my BlackBerry®
>
> -----Original Message-----
> From: Bob Dion <bob at starlinephoto.com>
> Sender: mdlug-bounces at mdlug.org
> Date: Wed, 21 Sep 2011 13:55:41
> To: MDLUG's Main discussion list<mdlug at mdlug.org>
> Reply-To: MDLUG's Main discussion list <mdlug at mdlug.org>
> Subject: Re: [mdlug] Moving /usr
>
> Sounds like a Grub issue?
>
> I take it there is nothing under /var/log/messages or in the boot log?
>
> Bob Dion
> *Starline Photographic*
> http://starlinephoto.com <http://starlinephoto.com>
> 501.525.2183
>
>
>
> On Wed, Sep 21, 2011 at 10:25 AM, Robert Adkins II <radkins at impelind.com
> >wrote:
>
> > I think you should have used more options on the command line, instead of
> > just -a and maybe just leave the -a out of the equation.
> >
> > Instead use rsync -rlpt
> >
> > Perhaps someone with more knowledge on this can provide better
> information.
> >
> > --
> >
> > Regards,
> > Robert Adkins II
> >
> >
> >
> > > -----Original Message-----
> > > From: mdlug-bounces at mdlug.org
> > > [mailto:mdlug-bounces at mdlug.org] On Behalf Of Mat Enders
> > > Sent: Tuesday, September 20, 2011 10:19 PM
> > > To: MDLUG's Main discussion list
> > > Subject: Re: [mdlug] Moving /usr
> > >
> > > The -a option means to archive so it copies them as symlinks
> > >
> > > The original entries in fstab did not use uuids
> > >
> > > On Tue, Sep 20, 2011 at 9:57 PM, Jeff Hanson
> > > <jhansonxi at gmail.com> wrote:
> > > > I haven't used rsync much. How does it handle symlinks? There are
> > > > many in the lib directories.
> > > >
> > > > The only other thing I can think of is a problem with UUIDs
> > > (if your
> > > > distro uses them to identify drive partitions).
> > > >
> > > > On 9/20/11, Mat Enders <mat.enders at gmail.com> wrote:
> > > >> All,
> > > >>
> > > >> I recently had to move /usr on a machine. Since moving
> > > >> /usr when i boot the machine I get this message
> > > immediately after the
> > > >> bios prompts are finished and before the boot process
> > > starts "error:
> > > >> file not found". After the machine comes up all appears
> > > to work normally.
> > > >> I will now explain what i did to move /usr.
> > > >>
> > > >> 1) log in as root unmount /home
> > > >> 2) resize /home
> > > >> 3) create new partition in newly created free space
> > > >> 4) edit fstab to mount new partition as /usr2
> > > >> 5) reboot
> > > >> 6) run rsync -a /usr/ /usr2
> > > >> 7) run diff /usr /usr2 to ensure they are the same
> > > >> 8) edit fstab to mount new partition as /usr instead of /usr2
> > > >> 9) run mv /usr /usr3
> > > >> 10) reboot
> > > >> 11) get error but all appears to work correctly
> > > >>
> > > >> --
> > > >> Mathew E. Enders
> > > >>_______________________________________________
> > > >> mdlug mailing list
> > > >> mdlug at mdlug.org
> > > >> http://mdlug.org/mailman/listinfo/mdlug
> > > >>
> > > >_______________________________________________
> > > > mdlug mailing list
> > > > mdlug at mdlug.org
> > > > http://mdlug.org/mailman/listinfo/mdlug
> > > >
> > >
> > >
> > >
> > > --
> > > Mathew E. Enders
> > >_______________________________________________
> > > mdlug mailing list
> > > mdlug at mdlug.org
> > > http://mdlug.org/mailman/listinfo/mdlug
> > >
> >
> >_______________________________________________
> > mdlug mailing list
> > mdlug at mdlug.org
> > http://mdlug.org/mailman/listinfo/mdlug
> >
>_______________________________________________
> mdlug mailing list
> mdlug at mdlug.org
> http://mdlug.org/mailman/listinfo/mdlug
>_______________________________________________
> mdlug mailing list
> mdlug at mdlug.org
> http://mdlug.org/mailman/listinfo/mdlug
>
More information about the mdlug
mailing list