|
| |||
| dd Partition Recovery Procedure?!? Hello again, this is a second part to my "Holiday Drive Recovery" post made a few moments ago. There have been some threads in the past several months on how to recover a hard drive installation using the `dd` command between to mismatched drive sizes. I just can't seem to find them. Does anyone have any links or a procedure? What I'm referring to is ... `dd` the drive image from a smaller partition to a larger partition ... now the problem is the larger partition thinks it is the same size as the smaller one. There had been a thread at one point of some commands to recover the lost space .... for both Linux and MSWin as I (seem to) remember. Any pointers or comments would be appreciated. TIA! -- ------------------------------------------------ http://www3.sympatico.ca/dmitton SPAM Reduction: Remove "x." from my domain. ------------------------------------------------ |
| |||
| Re: dd Partition Recovery Procedure?!? On Thu, 27 Dec 2007 12:49:04 -0500, Doug Mitton wrote: > > Hello again, this is a second part to my "Holiday Drive Recovery" post > made a few moments ago. > > There have been some threads in the past several months on how to > recover a hard drive installation using the `dd` command between to > mismatched drive sizes. I just can't seem to find them. Does anyone > have any links or a procedure? > > What I'm referring to is ... `dd` the drive image from a smaller > partition to a larger partition ... now the problem is the larger > partition thinks it is the same size as the smaller one. There had > been a thread at one point of some commands to recover the lost space > ... for both Linux and MSWin as I (seem to) remember. > > Any pointers or comments would be appreciated. TIA! I think it may be more effecient to use dd to copy partitions from the bad drive to files on a larger one (use conv=noerror conv=sync to keep going over bad blocks and fill in bad data with zeros). Then you can loop mount the image files and retrieve the data. |
| |||
| Re: dd Partition Recovery Procedure?!? On 2007-12-27, Doug Mitton <doug_mitton********.x.com> wrote: > Hello again, this is a second part to my "Holiday Drive Recovery" post > made a few moments ago. > > There have been some threads in the past several months on how to > recover a hard drive installation using the `dd` command between to > mismatched drive sizes. I just can't seem to find them. Does anyone > have any links or a procedure? > > What I'm referring to is ... `dd` the drive image from a smaller > partition to a larger partition ... now the problem is the larger > partition thinks it is the same size as the smaller one. There had > been a thread at one point of some commands to recover the lost space > ... for both Linux and MSWin as I (seem to) remember. > > Any pointers or comments would be appreciated. TIA! Hmm. I use Ghost, myself. But I know it's not an option to everyone. Just happen to need it for Windows, too. But just a idea: get the iso for GPartEd CD and look at the bigger disk. You might find that it can correct the problem. Not sure, but have a look. -- There is an art, it says, or rather, a knack to flying. The knack lies in learning how to throw yourself at the ground and miss. Douglas Adams |
| |||
| Re: dd Partition Recovery Procedure?!? Doug Mitton <doug_mitton********.x.com> wrote in news:31p7n39gdii0pjh3kptoia4ug1lt5k583n@4ax.com: > > Hello again, this is a second part to my "Holiday Drive Recovery" post > made a few moments ago. > > There have been some threads in the past several months on how to > recover a hard drive installation using the `dd` command between to > mismatched drive sizes. I just can't seem to find them. Does anyone > have any links or a procedure? > > What I'm referring to is ... `dd` the drive image from a smaller > partition to a larger partition ... now the problem is the larger > partition thinks it is the same size as the smaller one. There had > been a thread at one point of some commands to recover the lost space > ... for both Linux and MSWin as I (seem to) remember. > > Any pointers or comments would be appreciated. TIA! > What type of file system are you using? I believe that there are commands to extend or grow most file systems. For instance, I know for sure that it's possible with riserfs. Let us know which file system you are using and I am sure some one can help, this is a pretty simple thing I believe, though I never had to do it my self. - Bogdan |
| |||
| Re: dd Partition Recovery Procedure?!? x0054 <x0054@index.com> wrote: >Doug Mitton <doug_mitton********.x.com> wrote in >news:31p7n39gdii0pjh3kptoia4ug1lt5k583n@4ax.com : > >> Hello again, this is a second part to my "Holiday Drive Recovery" post >> made a few moments ago. >> >> There have been some threads in the past several months on how to >> recover a hard drive installation using the `dd` command between to >> mismatched drive sizes. I just can't seem to find them. Does anyone >> have any links or a procedure? >> >> What I'm referring to is ... `dd` the drive image from a smaller >> partition to a larger partition ... now the problem is the larger >> partition thinks it is the same size as the smaller one. There had >> been a thread at one point of some commands to recover the lost space >> ... for both Linux and MSWin as I (seem to) remember. >> >> Any pointers or comments would be appreciated. TIA! >> >What type of file system are you using? I believe that there are commands >to extend or grow most file systems. For instance, I know for sure that >it's possible with riserfs. Let us know which file system you are using and >I am sure some one can help, this is a pretty simple thing I believe, >though I never had to do it my self. > > - Bogdan I'm using ext3. I thought there were some "detailed" instructions to do this but maybe I was mistaken. Thanks! -- ------------------------------------------------ http://www3.sympatico.ca/dmitton SPAM Reduction: Remove "x." from my domain. ------------------------------------------------ |
| |||
| Re: dd Partition Recovery Procedure?!? On Fri, 28 Dec 2007 10:44:55 -0500, Doug Mitton wrote: > x0054 <x0054@index.com> wrote: > >>Doug Mitton <doug_mitton********.x.com> wrote in >>news:31p7n39gdii0pjh3kptoia4ug1lt5k583n@4ax.co m: >> >>> Hello again, this is a second part to my "Holiday Drive Recovery" post >>> made a few moments ago. >>> >>> There have been some threads in the past several months on how to >>> recover a hard drive installation using the `dd` command between to >>> mismatched drive sizes. I just can't seem to find them. Does anyone >>> have any links or a procedure? >>> >>> What I'm referring to is ... `dd` the drive image from a smaller >>> partition to a larger partition ... now the problem is the larger >>> partition thinks it is the same size as the smaller one. There had >>> been a thread at one point of some commands to recover the lost space >>> ... for both Linux and MSWin as I (seem to) remember. >>> >>> Any pointers or comments would be appreciated. TIA! >>> >>What type of file system are you using? I believe that there are commands >>to extend or grow most file systems. For instance, I know for sure that >>it's possible with riserfs. Let us know which file system you are using and >>I am sure some one can help, this is a pretty simple thing I believe, >>though I never had to do it my self. >> >> - Bogdan > > I'm using ext3. I thought there were some "detailed" instructions to > do this but maybe I was mistaken. Thanks! If I properly understand your question, there should really be no problem. When I replaced the hard drive in my laptop with a larger one, I backed the partitions up to an external drive using partimage from a live CD - then I swapped drives - then I restored to the new drive using partimage from a Live CD. At this point, all partitions were exactly the same as they had been, so I used gparted from the Live CD to resize the ones I wanted to. |
| |||
| Re: dd Partition Recovery Procedure?!? ray <ray@zianet.com> wrote: >On Fri, 28 Dec 2007 10:44:55 -0500, Doug Mitton wrote: > >> x0054 <x0054@index.com> wrote: >> >>>Doug Mitton <doug_mitton********.x.com> wrote in >>>news:31p7n39gdii0pjh3kptoia4ug1lt5k583n@4ax.com : >>> >>>> There have been some threads in the past several months on how to >>>> recover a hard drive installation using the `dd` command between to >>>> mismatched drive sizes. I just can't seem to find them. Does anyone >>>> have any links or a procedure? >>>> >>>> What I'm referring to is ... `dd` the drive image from a smaller >>>> partition to a larger partition ... now the problem is the larger >>>> partition thinks it is the same size as the smaller one. There had >>>> been a thread at one point of some commands to recover the lost space >>>> ... for both Linux and MSWin as I (seem to) remember. >>>> >>>> Any pointers or comments would be appreciated. TIA! >>>> >>>What type of file system are you using? I believe that there are commands >>>to extend or grow most file systems. For instance, I know for sure that >>>it's possible with riserfs. Let us know which file system you are using and >>>I am sure some one can help, this is a pretty simple thing I believe, >>>though I never had to do it my self. >>> >>> - Bogdan >> >> I'm using ext3. I thought there were some "detailed" instructions to >> do this but maybe I was mistaken. Thanks! > >If I properly understand your question, there should really be no problem. >When I replaced the hard drive in my laptop with a larger one, I backed >the partitions up to an external drive using partimage from a live CD - >then I swapped drives - then I restored to the new drive using partimage >from a Live CD. At this point, all partitions were exactly the same as >they had been, so I used gparted from the Live CD to resize the ones I >wanted to. There isn't really a problem ... I accomplished the task using `\cp -a /sourcedir /destdir` I was trying to find some old information that I had read once in one of the "general" Linux groups about some "manual" method of "fixing" a drive image created by `dd` between mismatched drive sizes. The `cp` commands seems slower than `dd` so I was looking for alternatives for a future recovery. I'll have to experiment with `partimage`, I haven't used it for a VERY long time. Thanks for the response. -- ------------------------------------------------ http://www3.sympatico.ca/dmitton SPAM Reduction: Remove "x." from my domain. ------------------------------------------------ |
| |||
| Re: dd Partition Recovery Procedure?!? Doug Mitton <doug_mitton********.x.com> wrote: <snipped> >What I'm referring to is ... `dd` the drive image from a smaller >partition to a larger partition ... now the problem is the larger >partition thinks it is the same size as the smaller one. There had >been a thread at one point of some commands to recover the lost space >... for both Linux and MSWin as I (seem to) remember. Doug, you might take a look at the resize2fs command. You use it in conjunction with resizing partitions. In your case it looks like you could just expand the file system in the larger partition so it "fills" the larger partition. TomT |
| Bookmarks |
| Thread Tools | |
| |
| | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| RECOVERY PARTITION | CHAD | Windows Vista | 2 | 12-18-2007 01:30 AM |
| Recovery Partition | John | Windows Vista | 4 | 10-30-2007 02:50 AM |
| recovery partition | brunetto | Windows XP | 9 | 09-04-2007 04:00 AM |
| Recovery partition on an HP | il barbi | Windows XP | 3 | 03-29-2007 03:45 AM |
| OT - HP Recovery Partition | Menno Hershberger | Windows XP | 3 | 02-03-2007 04:30 PM |
| New To Technology Questions? | Do You Need Help with Your Computer or Device? | Do You Need Help with this site? |