ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Cloning existing ROS to another PC

asked 2016-04-13 22:34:48 -0600

manter89 gravatar image

Hi all,

I am running ROS Fuerte on a Virtual Machine(VM) (Ubuntu 12.04). Is it possible to clone the ROS to another physical PC running the same Ubuntu (12.04).

Tried to clone the whole VM as physical machine but failed.

Need guidance. TQ

edit retag flag offensive close merge delete


you mean get out the partition of the VM and set it up in a physical pc ?

TomSon gravatar image TomSon  ( 2016-04-14 02:02:31 -0600 )edit

Yes, exactly. Is it possible?

manter89 gravatar image manter89  ( 2016-04-14 02:21:54 -0600 )edit

You can trick your VM by using G4L and get back the partition you need. Check that it's compatible with your PC hard drive and that should be good.

TomSon gravatar image TomSon  ( 2016-04-14 02:44:28 -0600 )edit

It means, i should clone the ROS partition in VM and restore it in my new pc?

manter89 gravatar image manter89  ( 2016-04-14 04:17:15 -0600 )edit

that will do the trick: made an image of your partition or disk and copy it on your target drive

TomSon gravatar image TomSon  ( 2016-04-14 04:32:59 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2016-04-14 06:29:48 -0600

You do not know if this is the best way, but it should work:

You can convert the virtual hdd to a standard image and then mount it.

VBoxManage clonehd --format RAW ubuntu.vdi ubuntu.img

Then you could mount the new physical hdd, too. Next step is to make a copy:

sudo cp -avxT /mnt/old /mnt/new

Other ways to copy:

Then you need to correct the entries in fstab and repair grub. I know a good Tutorial, but it is in germen. But the command are still correct:

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2016-04-13 22:34:48 -0600

Seen: 311 times

Last updated: Apr 14 '16