Hi Steve,If the partition to be restored is an ext2/ext3 file system, you could use a command called resize2fs to enlarge the restored partition.
Steve Holmes wrote:
I may have asked this some time ago but don't remember the outcome. If I use dd to backup say a 40GB partition but decide to restore it to a new larger hard drive and have room for larger partitions, how can I restore this original image to that newer bigger partition? I would think that image would force the target partition to the original 40GB size. I'm looking for an easy way to migrate my system from one older drive to a new larger one. Janina Sajka wrote:Yes, indeed. The obvious logical next step is to combine the imaging and compression into a single command. I didn't go that far because I surmised that explaining the individual parts would be helpful. However, pipes and redirection provide wonderful opportunities to simplify tasks to a single command, and this is a straight forward example. I would caution that the bunzip will probably take a lot of time. Indeed, dd will take quite some time, but the bunzip even more. You might want to do this overnight. Janina Jose Vilmar Estacio de Souza writes:Hi Janina, As a suggestion, the following command: dd if=/dev/sda3 |bzip2 >/home/backup.img.bz2 Janina Sajka wrote:You use the dd command either in a terminal window or from a console. You should be root to backup a partition. Assuming the partition you want to backup is mounted at /dev/sda3, you might use a command like: dd if=/dev/sda3 of=/home/sda3-backup.img This will create a file in /home, called sda3-backup.img, which will be an exact, byte by byte copy of your /dev/sda3 partition. Clearly, you must have sufficient free space on /home for this to work, so check that with: df /home df /dev/sda3 For long-term storage, you will probably want to compress this file, perhaps like this: tar cjpf sda3-backup.tar.bz2 sda3-backup.img Janina mike writes:I typed dd and lost speech. I'm sure there is more to that command, can you give me a idea how to use it? What I have is a windows partition that I want to back up and restore when I replace the hard drive. Thanks Mike. X-Antivirus: avast! (VPS 080824-0, 08/24/2008), Outbound message X-Antivirus-Status: Clean ----- (Original Message) ----- From: "Janina Sajka"<janina rednote net> Date: Monday, August 25, at 8:28 AM To: Orca screen reader developers<orca-list gnome org> Subject: Re: [orca-list] Does anyone know of a program for backing upa computer that works with orca? You don't need a special distribution. Try using the 'dd' command that has been there in Unix and Linux systems forever. Note you can also tar and bunzip the result to reduce the size of your backup image file. mike writes:Hi, this may be a little off topic, but I need something that works with Orca, so thought this was the place to ask. There are some Linux distributions like PING-2.01 aimed at providing tools for backing up a partition. Does anyone know of a program for ghost or backing up partitions I can install in ubuntu or what ever distro that works with Orca? Thanks Mike. X-Antivirus: avast! (VPS 080823-0, 08/23/2008), Outbound message X-Antivirus-Status: Clean _______________________________________________ Orca-list mailing list Orca-list gnome org http://mail.gnome.org/mailman/listinfo/orca-list Visit http://live.gnome.org/Orca for more information on Orca-- Janina Sajka,Phone:+1.202.595.7777;sip:janina a11y org Partner, Capital Accessibility LLChttp://CapitalAccessibility.Com Marketing the Owasys 22C talking screenless cell phone in the U.S. and Canada Learn more at http://ScreenlessPhone.Com Chair, Open Accessibilityjanina a11y org Linux Foundationhttp://a11y.org _______________________________________________ Orca-list mailing list Orca-list gnome org http://mail.gnome.org/mailman/listinfo/orca-list Visit http://live.gnome.org/Orca for more information on Or_______________________________________________ Orca-list mailing list Orca-list gnome org http://mail.gnome.org/mailman/listinfo/orca-list Visit http://live.gnome.org/Orca for more information on Orca