Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm currently dual booting Windows 7 64bit and Ubuntu 10.10 each on primary partitions. Then on the other 2 partitions I have the manufacturer recovery partition (which I am not sure I should remove...), and then a partition for storage and files.

Ok so now I want an Arch Linux installation on the hard drive, but obviously I cannot create a new primary partition because I already have 4. I found out that linux can run from a logical partition (which you can have multiple of)..However I do not want to format my Ubuntu partition and I'd prefer to keep the data on there all intact.

Is there a way to move my Ubuntu installation (on the primary partition) to an extended partition where I could put multiple logical partitions for multiple linux installations?

share|improve this question

migrated from Nov 5 '10 at 22:46

This question came from our site for professional and enthusiast programmers.

Unless you want to do this programatically this is probably better asked on – Day Nov 5 '10 at 18:22
up vote 1 down vote accepted

absolutely. I have done this multiple times.

  1. Copy the entire partition keeping permissions intact and not fallowing symbolic links.
  2. Update your /etc/fstab file for the new root partition.
  3. Update your bootloader.


Obviously this is a high level overview. But that's the basics.

share|improve this answer
awesome! I'm not quite that proficient with a terminal (yet). Any guides you may know of? I searched around but didn't find anything useful. – Dennis Hodapp Nov 5 '10 at 18:22
This article is linux flavor agnostic… – Harmon Wood Nov 5 '10 at 18:27
Perfect! Thank you very much. – Dennis Hodapp Nov 5 '10 at 19:59

Make a new logical partition and use dd or ddrescue to copy the ubuntu filesystem to the new logical partition (make sure the logical partition is greater then or equal to the ubuntu filesystem). Use gparted to expand the copied filesystem to the partition size. Install Arch linux on the old ubuntu partition. Make sure your boot loader configuration corresponds to the correct partitions

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .