Find the answer to your Linux question:
Results 1 to 10 of 10
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux User
    Join Date
    Apr 2003

    making an image of my harddrive

    I want to install a different distro on my laptop to see if it works better than the current install that I have. So I want to back up my current install so if this next install doesn't work I can go back to my other install.

    I have a network with a drive on the network that can hold everything I just need to know a procedure that can do this. should I just tar everything over the network. I was thinking that I coulde do this install the new system and if I want to go back I can use knoppox or some oter live distro to get everything back. Run lilo to reinstall the bootloader. Am I correct in assuming I can do this.

    thanx for reading

    The computer made me do it!! Slackware and SUSE too Gig\'em WHOOOOP!!
    \"God put me on this earth to accomplish a certain amount of tasks, At the rate I\'m going I will never die.\" (I don\'t know)

  2. #2
    Just Joined!
    Join Date
    May 2005
    Near Charlotte, NC
    Yes you can do this.

    Symantec ghost can do this from a boot floppy I believe. you can also use tools that come with linux, but you will have to research how to do this. A simple search & for hard drive image produced the following...

    # dd if=/dev/hda | gzip > /mnt/hdb1/system_drive_backup.img.gz

    To reverse:

    # gzip -dc /mnt/hdb1/system_drive_backup.img.gz | dd of=/dev/hda

    Backing up MBR:

    # dd if=/dev/hda of=/root/hda.boot.mbr bs=512 count=1

    Restoring MBR:

    # dd if=/mnt/hda1/root/hda.boot.mbr of=/dev/hda bs=512 count=1

    http://<br /> http://wiki.linuxques...e_backup_image

    Of course you can mount your samba server or NFS server to store these files & use a live CD to restore them.

  3. #3
    And if you want a linux-native way of doing it with a gui, you could also look into partimage.
    There are two major products that come out of Berkeley: LSD and UNIX. We don't believe this to be a coincidence.

    - Jeremy S. Anderson

  4. $spacer_open
  5. #4
    partiamge also supports file based image mode as well as plain raw based(file mode=smaller files). Partimage as some network capabilities.

  6. #5
    If you're doing disc copies with dd, I'd suggest using a BIG bs= value (like 1024M) to minimise the effects of latency.

  7. #6
    Linux Engineer
    Join Date
    Apr 2005
    Guys, just a question out of curiosity... Is dd also gonna work with Reiser4 partitions or is it file system-independent?
    Debian Jessie x86_64 & armhf :: LibreELEC is the solution for your Linux-based HTPC setups.

  8. #7
    Quote Originally Posted by borromini
    Guys, just a question out of curiosity... Is dd also gonna work with Reiser4 partitions or is it file system-independent?
    as far as im aware dd if is pritty much a raw mode dump so yes

  9. #8
    That's right, dd just reads bytes from a device and writes bytes to a device.

  10. #9
    Linux Guru bigtomrodney's Avatar
    Join Date
    Nov 2004
    Isn't ReiserFS supported in Ghost now? I knkow it wasn't before so it treated empty space as used, and was not efficient for ReiserFS. After all, an 80GB image that could have been 8GB....That partimage looks good. Anyone used it?

  11. #10
    use it at work for the 2k and xp clients, and it works with ntfs no problem for me as a client restore or as a image based install deployment tool. Also i think it can be used in conjuction with grub for a network booting (looking in to network booting grub at the moment).

Posting Permissions

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