cloning ubuntu on different hardware systems (x86)

Patrick Siglin poison at list.memphistw.org
Thu Mar 16 20:48:21 UTC 2006


That is what I tried. It would not let me grow the ext3 partition at all. I 
think next time I am just going to use tar and backup everything to a file 
and rebuild the box and uncompress the file back over to see how well that 
works.

On Thu, 16 Mar 2006 15:44:42 -0500, Michael R. Head wrote
> On Thu, 2006-03-16 at 11:58 -0600, Patrick Siglin wrote:
> > the problem I had was cloning a 6 gig drive to a 160gig drive. It still 
only 
> > showed the 160 as being a 6gig. I used qtparted and was unable to expand 
the 
> > rest out. Is there a trick to this?
> 
> If you've got a live CD and gparted to grow the partition to the end 
> of the disk, then you should be able to tell ext3 to grow to the 
> size of the partition.
> 
> I've done this with my server box using reiserfs...
> 
> > 
> > On Thu, 16 Mar 2006 06:24:48 +0100, hagen van rissenbeck wrote
> > > Hi list, hi Michael,
> > > 
> > > Michael R. Head wrote:
> > > 
> > > /snip
> > > 
> > > >>That's why I would like to clone from a master pc in the future...
> > > >>
> > > >>
> > > >>
> > > >>My problem:
> > > >>-----------
> > > >>
> > > >>I guess that cloning 1:1 won't work because of different hardware 
> > > >>components.
> > > > 
> > > > 
> > > > Mostly it should work, though you may have to reconfigure X if they 
have
> > > > a differnt video card and possibly tweak the network settings.
> > > 
> > > That's enough? Seems to be easier than I thought ;-)
> > > 
> > > /snip
> > > 
> > > >>3. Cloning the partitions with partimage, g4u or something else (what 
> > > >>tool would be your choice?)
> > > > 
> > > > 
> > > > dd if=/dev/hda | bzip2 -c > /path/to/image/file
> > > 
> > > yepp, good idea, standard tool ;-)
> > > 
> > > > Or, using nbd on the remote machine:
> > > > dd if=/dev/nbd of=/dev/hda
> > > > 
> > > > I wrote about doing it here:
> > > > http://community.livejournal.com/ubuntu_users/22528.html
> > > > 
> > > > :-)
> > > 
> > > Thanks a lot. I'll try it out.
> > > 
> > > Yesterday, I researched also mondo-rescue,rsync and rembo. That's, 
> > > what others use in (perhaps) similar cases...
> > > 
> > > Results will be reported.
> > > 
> > > Hagen
> > > 
> > > -- 
> > > ubuntu-users mailing list
> > > ubuntu-users at lists.ubuntu.com
> > > https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
> > 
> > 
> > --
> > Open WebMail Project (http://openwebmail.org)
> > 
> > 
> -- 
> Michael R. Head <burner at suppressingfire.org>
> GPG: http://www.suppressingfire.org/~burner/gpg.key.txt [0x4C9DA1D0]


--
Open WebMail Project (http://openwebmail.org)





More information about the ubuntu-users mailing list