5

I recently upgraded my installation of 13.04 to 13.10. My friend has seen this and would like to install Ubuntu.

Is there any way I can generate an installation CD from my current install without just downloading the ISO so that we can do a install on my friend's computer?

jmunsch
  • 2,293
  • 1
  • 24
  • 30
Subho
  • 51

3 Answers3

3

1) You could clone / ghost the drive with dd like this.

dd if=/dev/sda of=/dev/sdb

2) Another option Clonezilla

Example usages:

  • Save disk image
  • Restore disk image
  • Disk to disk clone (Same as the above dd command)
  • One image to multiple disks
  • Create Recovery Clonezilla

3) Other possibilities based on dpkg and rsync and a fresh install like here. Probably more preferable due to hardware/user info/passwords, as has been indicated in other answers.

Create text file of current packages as seen (here):

sudo -i  # starts a root session
    # ... run whatever commands you need to mount the safe storage device ...
dpkg --get-selections > /<path to safe storage device>/dpkg-selections
    # records a list of installed packages into the file named after the > sign.
    # ... now run commands you need to safely unmount the storage device ...
<ctrl-D>  # end the root session.

Move the file created from this to the friends computer and run the following:

sudo -i # starts a root session.
    # ... commands to mount the storage device ...
dpkg --set-selections < /<path to safe storage device>/dpkg-selections
    # sets the list of packages to install from the list kept previously
apt-get dselect-upgrade # actually installs the packages.
    # ... now unmount the device ...
<ctrl-D>  # end the root session
jmunsch
  • 2,293
  • 1
  • 24
  • 30
2

While you can create an image of your system, it's not a great idea. Any ISO you create and give him would include lots of things that might cause problems, like user passwords, wireless networks, driver settings, etc.

A much better idea would be for you to download the official 13.10 installation ISO, burn it to a DVD, and give him that.

Or if he is already running an older version of Ubuntu, he can run the exact same commands you did to upgrade to 13.10.

0

If you are looking for a tool that can create an ISO of your current Ubuntu state, I would recommend using the remastersys.
Else if your trying to clone your Ubuntu to another PC try this link.

Varun
  • 525