Mark: After chroot, I do mkinitrd and receive the following message
/var/tmp is not a directory Regards, Víctor Echavarry System Programmer Technology Systems & Operations Division EVERTEC -----Original Message----- From: Linux on 390 Port [mailto:[email protected]] On Behalf Of Mark Post Sent: Thursday, March 18, 2010 4:31 PM To: [email protected] Subject: Re: Move root from LVM to Non-LVM File System >>> On 3/18/2010 at 04:10 PM, Christian Paro <[email protected]> wrote: > It's not the simplest procedure ever, and I don't know of a tutorial the > directly addresses what you're trying to do, but essentially you need to: > > - Shut down and log off of the Linux whose root filesystem you wish to > transfer. > - Bring up the volume group containing that root filesystem on another Linux > instance (so you can access the root file system in a quiesced state). > - Mount the target partition on that same Linux instance. > - Use `cp -a` to copy the filesystem contents. > - Chroot into the new root partition. > - Run `zipl`. > - Exit chroot and unmount, offline, and detach the disks for the system > whose root filesystem you were transferring. I don't this as being necessary at all. Get another disk added to the Linux guest. Format it, put a file system on it, use the document at http://linuxvm.org/Info/HOWOTs/movefs.html to populate it. Update /etc/fstab on the new root file system, bind mount the rest of the file systems top of it, chroot to it, re-run mkinitrd and zipl, and you should be fine. Iterate a biit if not. Mark Post ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 ----------------------------------------- CONFIDENTIALITY NOTE: This email communication and its attachments contain information that are proprietary and confidential to EVERTEC, INC., its affiliates or its clients. They may not be disclosed, distributed, used, copied or modified in any way without EVERTEC, Inc.’s authorization. If you are not the intended recipient of this email, you are not an authorized person. Please delete it and notify the sender immediately. EVERTEC, Inc. and its affiliates do not assume any liability for damages resulting from emails that have been sent or altered without their consent. Moreover, EVERTEC, Inc. has taken precautions to safeguard its email communications, but cannot assure that such is the case and disclaim any responsibility attributable thereto. ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
