Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 13
Hi, Is there any software out there (except norton ghost) that allows you to copy a linux partition into a another partition. I want to copy my SUSE 9.2 into ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Dec 2004
    Posts
    48

    Copy image of partition to another partition


    Hi,

    Is there any software out there (except norton ghost) that allows you to copy a linux partition into a another partition.

    I want to copy my SUSE 9.2 into another computer i don't want to waste time configuring it and i just want to have my SUSE replicated onto the computer.

    If i do that could the partition that i copy to be smaller or larger than the original partition

  2. #2
    Linux Engineer
    Join Date
    Nov 2004
    Location
    Montreal, Canada
    Posts
    1,267
    the partition space doesnt matter, as long as the image fits into the new partition...
    as for copying the ghost of a machine to another, Norton Ghost in a great tool... (even if you said without it)

    Is it a ghost? or you simply want to copy all file from one pc to another...
    \"Meditative mind\'s is like a vast ocean... whatever strikes the surface, the bottom stays calm\" - Dalai Lama
    \"Competition ultimatly comes down to one thing... a loser and a winner.\" - Ugo Deschamps

  3. #3
    Linux Enthusiast puntmuts's Avatar
    Join Date
    Dec 2004
    Location
    Republic Banana
    Posts
    562
    Linux has several tools to do it. I think mkisofs (by means of a cd burning program if you want a gui) is a good option . Tar and dd are other tools you could use. Even a normal copy could be fine.
    I\'m so tired .....
    #200472

  4. #4
    Linux Engineer
    Join Date
    Nov 2004
    Location
    home
    Posts
    796
    Quote Originally Posted by puntmuts
    Even a normal copy could be fine.
    Not quite, a normal copy would screw up the symlinks. You'd have to use the -a option.

  5. #5
    Just Joined!
    Join Date
    Dec 2004
    Posts
    48
    what's the dd option and mkiso but isn't and iso for a cd
    then how would the iso be put into a haddrive.

  6. #6
    Linux Engineer
    Join Date
    Nov 2004
    Location
    home
    Posts
    796
    You could probably get away with this:
    dd if=/dev/hda1 of=something.img
    Of course you'll need to replace /dev/hda1 with wherever your partition is located. Check the man page for more info.

  7. #7
    Just Joined!
    Join Date
    Dec 2004
    Posts
    48
    ok then how to unrip the image out and put it into the other partition

  8. #8
    Linux Engineer
    Join Date
    Nov 2004
    Location
    home
    Posts
    796
    dd if=something.img of=/dev/hda1

  9. #9
    Linux Enthusiast puntmuts's Avatar
    Join Date
    Dec 2004
    Location
    Republic Banana
    Posts
    562
    All these tools come with very good manual pages. Try reading those first before asking questions. To learn more about man :
    Code:
     man man
    I\'m so tired .....
    #200472

  10. #10
    Just Joined!
    Join Date
    Dec 2006
    Posts
    2
    how to boot to the partition after succesuly transfering the image to hard disk partition using the following command.

    dd if=something.img of=/dev/hda1

    Generally installation of linux, installs either grub or lilo to boot to the partition. I think,we should use boot sector of this partition but i dont know how to link to the boot loader. can anybody help me?

Page 1 of 2 1 2 LastLast

Posting Permissions

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