From: Paul A Sand <pas () unh ! edu>
To: tru64-unix-managers
Subject: SUMMARY: moving root partition to another disk
Date: Fri, 20 Dec 1996 18:11:26 +0000 [thread overview]
Message-ID: <96076343421802.tru64-unix-managers.marc@archive.invalid> (raw)
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 |
reply other threads:[~1996-12-20 18:11 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox