Change partitions?

Karl Larsen k5di at zianet.com
Tue Jul 15 17:50:00 UTC 2008


Ed Jabbour wrote:
> Current partition table:
>
> sdb1, primary .............................. empty
> sdb2, primary .............................. backup files
> sdb3, ........................................... extended
> sdb5, logical ................................. ubuntu installation
> sdb6, logical ................................. swap
>
> I'd like it to be:
>
> sdb1, primary .............................. ubuntu installation
> sdb2, primary .............................. backup files
> sdb3, primary ............................... swap
>
> If possible, I want to avoid re-installation of the OS.  Is there any way just 
> to change the partitions, leaving whatever is on them intact?  gparted's copy 
> won't do it, I hear.  Any hints, pointers, etc. greatly appreciated.
>
>   
    There is no software to change a partition's address with any safe 
way. I would recommend dd and copy from the old partition to the new 
one. Make sure the new partition is at least as large as the old.  You 
can change the size with fdisk if needed

Karl

ps Back up the whole thing before doing this.


 

-- 

	Karl F. Larsen, AKA K5DI
	Linux User
	#450462   http://counter.li.org.
   PGP 4208 4D6E 595F 22B9 FF1C  ECB6 4A3C 2C54 FE23 53A7





More information about the ubuntu-users mailing list