Vincent Murphy wrote:
>> is there any way i can do it 'manually'? as in boot the machine with
> a boot disk, shuffle the partitions around somehow (with dd maybe?), and
> edit the partition table on the disk (either manually or with fdisk) to
> reflect the changes.
Maybe it's the slogger in me, but (if swap really needs to be a primary
partition, and I don't think it does) I would (1) find a primary
partition about the same size as one of the free partitions, (2) mke2fs
free_partition (3) mount -t ext2 free_partition /tmp_usr (or whatever)
(4) cd /usr (or whatever); (as root) tar cfl - . | (cd /tmp_usr; tar xf
-) (l keeps in one filesystem) (5) mount free_partition as /usr, change
/etc/fstab to reflect new setup, and finally mkswap; swapon for the (now
duplicated and unused) old partition - slow, but guaranteed to save data
and so on.
Software engineer, Informix Dublin.
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!