Results 1 to 8 of 8

Thread: Merging partitions without losing data

  1. #1
    Join Date
    Feb 2012
    Beans
    2

    Question Merging partitions without losing data

    How do I merge partitions after installing Ubuntu on a hard disk which was formerly used to have Windows installed and currently data on its partitions? I really need those data and no way of backing up them. (I don't have any external storage devices to meet the size of data.) There are no data on the partition where Windows were installed and I'm thinking of installing Ubuntu on it. So, after that I want to merge all other partitions as one.

  2. #2
    Join Date
    Feb 2011
    Location
    new york state
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Merging partitions without losing data

    Quote Originally Posted by Muditha Jayath View Post
    How do I merge partitions after installing Ubuntu on a hard disk which was formerly used to have Windows installed and currently data on its partitions? I really need those data and no way of backing up them. (I don't have any external storage devices to meet the size of data.) There are no data on the partition where Windows were installed and I'm thinking of installing Ubuntu on it. So, after that I want to merge all other partitions as one.
    There is a thing called ubuntu one that gives you 5 gigs of online storage. if you like you could back up there. https://one.ubuntu.com/

    but there are mny of ways of doing this could you please open your terminal (ctrl+alt+t) then enter
    Code:
    sudo fdisk -l
    and paste here ? thanks
    Power tends to corrupt, and absolute power corrupts absolutely. Great men are almost always bad men, even when they exercise influence and not authority

  3. #3
    Join Date
    Mar 2007
    Location
    Outer Milky Way
    Beans
    Hidden!
    Distro
    Kubuntu 12.04 Precise Pangolin

    Re: Merging partitions without losing data

    cp -a

    will copy all (including permissions).

    Here are my tips:

    http://ubuntuguide.org/wiki/Ubuntu_O...stem_Backup#cp

    UbuntuGuide/KubuntuGuide

    Right now the killer is being surrounded by a web of deduction, forensic science,
    and the latest in technology such as two-way radios and e-mail.

  4. #4
    Join Date
    Feb 2012
    Beans
    16

    Re: Merging partitions without losing data

    You could try gparted from a usb drive if you are desperate. I would be very reluctant without backing up first though as you may hose the lot.
    I did this on a smaller scale, I had an 8gb usb with fat32 4gb storage partition followed by 1gb Linux swap,followed by 3gb ext3 partition with ubuntu on it. I made sure no data on storage, swap was labelled as none used already, and obviously the system partition had data on it. I was able to reduce storage to 2gb, dragged the swap over but kept at 1gb and expanded the system partition making sure the new ones were linux-swap / ext3. The system booted first time afterwards. I was expecting to have to do a fresh install as the boot files are likely to be affected.
    I hope this helps but please don't do that thinking you will have the same outcome, i dont know what order your partitions are in and in my case, I was quite prepared to lose it all. Good luck in resolving it!

  5. #5
    Join Date
    Nov 2005
    Location
    Washington State
    Beans
    2,324
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Merging partitions without losing data

    Quote Originally Posted by Muditha Jayath View Post
    I really need those data and no way of backing up them.
    I'm not saying this to be mean, but it's pretty clear that you don't have a lot of experience at this. If you can't back up the data externally, you should not take on any high-risk experiments. It's as simple as that.

    Can you scrounge up a small HDD that you could plug in to your PC as the master? You could unplug your Windows drive, then install Ubuntu, then reconnect the Windows drive. That's not a final solution, but it would at least allow you to access your Windows data safely until you can come up with a better solution.

  6. #6
    Join Date
    Feb 2012
    Beans
    16

    Re: Merging partitions without losing data

    Quote Originally Posted by Bartender View Post
    I'm not saying this to be mean, but it's pretty clear that you don't have a lot of experience at this. If you can't back up the data externally, you should not take on any high-risk experiments. It's as simple as that.

    Can you scrounge up a small HDD that you could plug in to your PC as the master? You could unplug your Windows drive, then install Ubuntu, then reconnect the Windows drive. That's not a final solution, but it would at least allow you to access your Windows data safely until you can come up with a better solution.
    I have to agree, if the data means this much to you, you will not risk it and find a way. I once used an old drive from my PVR and a couple of mp3 players to back up before sending my lappy for repair

  7. #7
    Join Date
    Nov 2005
    Location
    Washington State
    Beans
    2,324
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Merging partitions without losing data

    I've installed Ub/Xub/Kubuntu/PCLOS/Mepis/Fedora/Mint/OpenSUSE at least 50X by now to more than a dozen different PC's. I'm pretty comfortable with partitioning, making CD's, etc.

    So for me, installing Ubuntu to a drive that has important data on it would be a calculated risk. I could weigh the relatively high chances of success against the horror of losing the data for good. Which means I'd back up the data.

    These kinds of threads are the ones that come just before the "Ubuntu wiped out my Windows data!!" posts.

  8. #8
    Join Date
    Feb 2012
    Beans
    2

    Smile Re: Merging partitions without losing data

    Quote Originally Posted by Bartender View Post
    I'm not saying this to be mean, but it's pretty clear that you don't have a lot of experience at this. If you can't back up the data externally, you should not take on any high-risk experiments. It's as simple as that.

    Can you scrounge up a small HDD that you could plug in to your PC as the master? You could unplug your Windows drive, then install Ubuntu, then reconnect the Windows drive. That's not a final solution, but it would at least allow you to access your Windows data safely until you can come up with a better solution.
    Yes Bartender, I'm quite new to Linux. Except for basic works, I have not much of advance knowledge of Linux as much as I have of Windows. I don't like to pay much money on Windows licensing and for other software when I can get a free OS with bunch of free software. That's why I thought of moving to Linux. Haha, don't worry friend, I didn't do anything stupid to lose data before I post this. I'll find a way to backup my data then. I thought there might be a way of merging partitions without losing any data as I did on Windows using PartitionMagic. Thank you and every other members very much for your kind concern about the matter.
    Last edited by Muditha Jayath; February 24th, 2012 at 08:13 AM.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •