How to move Ubuntu 12.04 system files

Asked by Ray Como

I mistakenly installed dual boot with Ubuntu 12.04 and Windows XP while my USB hard drive was attached. The Ubuntu file system ended up on the USB hard drive instead of the internal hard drive. How can I move it to the internal drive without loosing my settings and files I've already set up?

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu ubiquity Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
N1ck 7h0m4d4k15 (nicktux) said :
#1

Hi ,

the easy way here is to Install Ubuntu alongside Windows , and be careful this time where to install Ubuntu.

After installation completes successfully , you can transfer your files from the USb-stick to the new Ubuntu installation (inside HDD).

You can move all your /home (personal folder) files. e.g. Documents , Videos , Pictures , even your configuration files from programs , most of them are stored inside ".config" file. This file is hidden and you can reveal hidden files with Ctrl+H from nautilus file manager.

The only thing you must do is to give the same name (and username) as you have in old (usb) Ubuntu installation.
So USB Ubuntu installation and HDD Ubuntu installation (new) must have the same Name and username. This is related to permissions of the copied files.

Thanks

Revision history for this message
Ray Como (ray45c) said :
#2

I did a re-install from the usb stick to the hdd. After it rebooted it came back up in Windows. I copied the Home directory from the original install to the internal hdd but it didn't help. Couldn't figure out how to make the hdd bootable. I assume it's dev/sda. Can you help with making the hdd bootable? You need any more info? Thanks for your help.

----- Original Message -----
From: "NikTh" <email address hidden>
To: <email address hidden>
Sent: Monday, December 3, 2012 10:30:58 PM
Subject: Re: [Question #215908]: How to move Ubuntu 12.04 system files

Your question #215908 on Ubuntu changed:
https://answers.launchpad.net/ubuntu/+question/215908

Status: Open => Answered

NikTh proposed the following answer:
Hi ,

the easy way here is to Install Ubuntu alongside Windows , and be
careful this time where to install Ubuntu.

After installation completes successfully , you can transfer your files
from the USb-stick to the new Ubuntu installation (inside HDD).

You can move all your /home (personal folder) files. e.g. Documents ,
Videos , Pictures , even your configuration files from programs , most
of them are stored inside ".config" file. This file is hidden and you
can reveal hidden files with Ctrl+H from nautilus file manager.

The only thing you must do is to give the same name (and username) as you have in old (usb) Ubuntu installation.
So USB Ubuntu installation and HDD Ubuntu installation (new) must have the same Name and username. This is related to permissions of the copied files.

Thanks

--
If this answers your question, please go to the following page to let us
know that it is solved:
https://answers.launchpad.net/ubuntu/+question/215908/+confirm?answer_id=0

If you still need help, you can reply to this email or go to the
following page to enter your feedback:
https://answers.launchpad.net/ubuntu/+question/215908

You received this question notification because you asked the question.

Revision history for this message
N1ck 7h0m4d4k15 (nicktux) said :
#3

HDD bootable ? Can't you boot in to Ubuntu ? (we don't want the Windows installation here. Don't serve our needs , yours I mean).

You have to boot in to Ubuntu (the new installation) and then copy the files from USB(old install) to the new Ubuntu.

If you cannot boot into Ubuntu , then try boot repair. Probably the grub-bootloader not installed correctly . You can fix that from a Live CD/USB of Ubuntu , following the instructions from here: https://help.ubuntu.com/community/Boot-Repair#A2nd_option_:_install_Boot-Repair_in_Ubuntu

Thanks

Can you help with this problem?

Provide an answer of your own, or ask Ray Como for more information if necessary.

To post a message you must log in.