LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Re: modifying partitions

[ILUG] Re: modifying partitions

David Neary dneary at informix.com
Mon Jun 26 12:03:03 IST 2000


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.

> regards,
> -vinny

Cheers,
Dave

-- 
		Dave Neary,
	Software engineer, Informix Dublin.
		Ireland.
	Phone: +353-1-409-1357




More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


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!
RSS Version
Powered by Dell