Find the answer to your Linux question:
Results 1 to 10 of 10
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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux User
    Join Date
    Apr 2003
    Location
    TEXAS
    Posts
    314

    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

    bignester
    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
    Location
    Near Charlotte, NC
    Posts
    13
    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 & google.com/linux 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
    Linux Guru Flatline's Avatar
    Join Date
    Feb 2005
    Posts
    2,204
    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. #4
    Linux User
    Join Date
    Jul 2005
    Posts
    369
    partiamge also supports file based image mode as well as plain raw based(file mode=smaller files). Partimage as some network capabilities.

  5. #5
    scm
    scm is offline
    Linux Engineer
    Join Date
    Feb 2005
    Posts
    1,044
    If you're doing disc copies with dd, I'd suggest using a BIG bs= value (like 1024M) to minimise the effects of latency.

  6. #6
    Linux Engineer
    Join Date
    Apr 2005
    Location
    Belgium
    Posts
    1,429
    Guys, just a question out of curiosity... Is dd also gonna work with Reiser4 partitions or is it file system-independent?
    ** Registered Linux User # 393717 and proud of it ** Check out www.zenwalk.org
    ** Zenwalk 2.8 - Xfce 4.4 beta 2- 2.6.17.6 kernel = Slack on steroids! **

  7. #7
    Linux User
    Join Date
    Jul 2005
    Posts
    369
    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

  8. #8
    scm
    scm is offline
    Linux Engineer
    Join Date
    Feb 2005
    Posts
    1,044
    That's right, dd just reads bytes from a device and writes bytes to a device.

  9. #9
    Linux Guru bigtomrodney's Avatar
    Join Date
    Nov 2004
    Location
    Ireland
    Posts
    6,132
    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?

  10. #10
    Linux User
    Join Date
    Jul 2005
    Posts
    369
    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
  •