Re: Resizing partitions and copying data with dd

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I suggest the use of 'partimage'. As 'dd', it makes images of partition,
but more early, easy than 'dd', and the results size is more little.
There are an static binaries on home page of project
(http://prdownloads.sourceforge.net/partimage/partimage-0.6.4-static.tar.bz2?download).

Once you deploy the image on the new 10Gb FS, if it's ext3, from rescue
disk you must use the tool 'resize2fs' for enlarge the filesystem. Also,
use 'e2label' to make sure the original partition is using labels at
partitions for mount FS (fstab), and make changes to the
/boot/grub/menu.lst file.


Another method is create the new fs, use 'tar', 'cp', 'cpio' or 'rsync'
to populate files, and make changes at fstab, e2abel and grub.

Regards.



McDougall, Marshall (FSH) escribió:
> I am trying to move my root mount to a bigger partition without tearing
> down the whole machine.  I created a new ext3 partition of 10G.  I then
> tried to copy my existing root partition to the new partition using:
>
>  dd if=/dev/oldroot of=/dev/newroot
>
> It worked great except my newroot is 2G, not 10.  I tried using
> ext2online but there are some incompatibilities, or so it thinks.
> Anyone have a suggestion on how I can move my root mount to a new 10G
> partition without any catastrophe?  Thanks.
>
> Regards, Marshall
>
>   

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux