[wplug] Working with a DD image
scoob8000
scoob8000 at gmail.com
Thu Mar 20 12:18:05 EST 2008
I'll have to give that a shot, I didn't think it could be so easy. :)
Thanks
Mike
On Thu, Mar 20, 2008 at 10:36 AM, Moshe Hyzon <mokatz at gmail.com> wrote:
> more than likely, you can use gnu parted
> (http://www.gnu.org/software/parted/index.shtml) and just operate on
> the image instead of a normal block device.
>
> So you'd do something like:
>
> # parted imagefile.img
>
> or whatever, and it would just work.
>
>
> If you had just a single partition as an image, you could run
> resize2fs directly on it. But for a full disk, a complete tool like
> parted would probably be best.
>
> Moshe
>
>
>
>
> On Thu, Mar 20, 2008 at 8:42 AM, scoob8000 <scoob8000 at gmail.com> wrote:
> > I did some data recovery on a disk, and now need to put it back on the
> > replacement drive which is smaller.
> >
> > Problem being, I need to resize the partitions first..
> >
> > So long story short, can I mount the image in a manner that I can
> > resize the partitions on it before putting it
> > on the new drive?
> >
> > Any thoughts/comments appreciated!
> >
> > -Mike
> > _______________________________________________
> > wplug mailing list
> > wplug at wplug.org
> > http://www.wplug.org/mailman/listinfo/wplug
> >
> _______________________________________________
> wplug mailing list
> wplug at wplug.org
> http://www.wplug.org/mailman/listinfo/wplug
>
More information about the wplug
mailing list