Sponsored Content
Full Discussion: unix upgrade
Top Forums UNIX for Dummies Questions & Answers unix upgrade Post 234 by PxT on Monday 13th of November 2000 11:23:01 PM
Old 11-14-2000
You should be able to add memory easily, just as you would in a PC. The best way to move your data to a new harddrive would be to install the new one and get it recognized by the system. Create your filesystems on it, and then use tar to copy the data. Something like:


(cd / && tar cvf - . ) | (cd /new_mount && tar xvfp -)

where /new_mount has your new root filesystem mounted on it.


You could also use a backup tape to write the data to the new hard disk.


HTH
 

4 More Discussions You Might Find Interesting

1. Post Here to Contact Site Administrators and Moderators

Unix.com's vB Upgrade

Hi, I've noticed that you are using vB2 (2.3.5), and Jelsoft has recently released 3.0.3. Is Unix.com going to upgrade to 3.0.3? I'm only wondering.... (3 Replies)
Discussion started by: Danny_10
3 Replies

2. UNIX for Advanced & Expert Users

upgrade unix version

I use HP UNIX 11 now , as I know , the latest version is 11iv2 , ( correct me if i am wrong ) , I hv read the feature of this version , it is 15% performance improved and more secure , if it is truth , I want to upgarde it by myself , but i am too familiar with the OS upgarde , could suggest the... (2 Replies)
Discussion started by: ust
2 Replies

3. AIX

OS upgrade

Hello, fellows: I have an old H80 with AIX 4.3, I want to upgrade to AIX 5.3, is this possible? I have read in some documentation that is necesary do it version to version, I mean... 4.3->5.1 5.1->5.2 5.2->5.3, anybody have this experience? I will aprecciate yor help. Kind regards. (2 Replies)
Discussion started by: GEIER
2 Replies

4. Red Hat

Upgrade from OL 6.3 to 6.5

Hello, For upgrading from OL 6.3 to 6.5 is this possible to upgrade without rebuild? What should be the generic steps in migration to OL 6.5. IS this like building up from scratch ? Best regards, Vishal (4 Replies)
Discussion started by: admin_db
4 Replies
chroot(1M)						  System Administration Commands						chroot(1M)

NAME
chroot - change root directory for a command SYNOPSIS
/usr/sbin/chroot newroot command DESCRIPTION
The chroot utility causes command to be executed relative to newroot. The meaning of any initial slashes (/) in the path names is changed to newroot for command and any of its child processes. Upon execution, the initial working directory is newroot. Notice that redirecting the output of command to a file, chroot newroot command >x will create the file x relative to the original root of command, not the new one. The new root path name is always relative to the current root. Even if a chroot is currently in effect, the newroot argument is relative to the current root of the running process. This command can be run only by the super-user. RETURN VALUES
The exit status of chroot is the return value of command. EXAMPLES
Example 1 Using the chroot Utility The chroot utility provides an easy way to extract tar files (see tar(1)) written with absolute filenames to a different location. It is necessary to copy the shared libraries used by tar (see ldd(1)) to the newroot filesystem. example# mkdir /tmp/lib; cd /lib example# cp ld.so.1 libc.so.1 libcmd.so.1 libdl.so.1 libsec.so.1 /tmp/lib example# cp /usr/bin/tar /tmp example# dd if=/dev/rmt/0 | chroot /tmp tar xvf - ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsu | +-----------------------------+-----------------------------+ SEE ALSO
cd(1), tar(1), chroot(2), ttyname(3C), attributes(5) NOTES
Exercise extreme caution when referencing device files in the new root file system. References by routines such as ttyname(3C) to stdin, stdout, and stderr will find that the device associated with the file descriptor is unknown after chroot is run. SunOS 5.11 15 Dec 2003 chroot(1M)
All times are GMT -4. The time now is 07:16 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy