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_at_unh.edu |
-- http://pubpages.unh.edu/~pas |
Received on Fri Dec 20 1996 - 19:27:44 NZDT