tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY: moving root partition to another disk
@ 1996-12-20 18:11 Paul A Sand
  0 siblings, 0 replies; only message in thread
From: Paul A Sand @ 1996-12-20 18:11 UTC (permalink / raw)
  To: tru64-unix-managers

Hi --

In reference to my previous question:

> In preparation for an OS upgrade, I would like to move the root
> partition on one of my DU systems to a disk with more room on the a
> partition.

> I remember seeing a how-to article months ago in a DEC-published magazine
> describing the steps necessary to do this. But now, of course, I
> can't seem to find the article. 

After a bit more searching, I located the article.  It was in the
Summer-95 issue of ``INFOSHARE''. This is available online at
http://www.service.digital.com:80/pubs/infoshare/arch/INFOSHARE-Summer95.Z
(a compressed PostScript file). In brief, the steps are (assuming UFS
and Digital Unix):

1) use disklabel to write boot blocks to the new disk if necessary;

2) newfs, fsck, and mount the partition from the new disk;

3) Assuming you mounted the new disk partition  at /mnt use 

	dump 0f - / | (cd /mnt; restore xf -)

    to copy the root partition to the new disk;

4) edit /mnt/etc/fstab to indicate the new location of the root partition;

5) rewrite /mnt/sbin/swapdefault (if necessary) to point to a new
   swap partition;

6) umount and fsck the new partition.

If this doesn't work (or I hear any caveats from elsewhere), I'll post
an updated summary.


-- 
-- Paul A. Sand                 | A megabyte here, a megabyte there,
-- University of New Hampshire  | sooner or later it adds up to real memory.
-- pas@unh.edu                  | 
-- http://pubpages.unh.edu/~pas | 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1996-12-20 18:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-12-20 18:11 SUMMARY: moving root partition to another disk Paul A Sand

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox