Re: How do I clone a drive and resize (downsize) a partition ? fdisk verify warning.

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

 



On Thu, 2010-06-24 at 16:12 -0700, Patrick Bartek wrote:

> 
> In Linux, "everything's a file." ;-)

Sure.

> No, dd won't "resize" a partition, but you can use it to copy the
> filesystem from one partition to another of the same size or larger,
> then just resize the filesystem using an appropriate tool.  I've done
> this.  Not that hard at all.

Agreed.  That tool would be gparted.  And if you use it to resize the
partition, you might as well use it to copy the data as well.   I too
thought that Clonezilla and/or dd would be the easiest.  In the end it
was gparted.  Prior to this I had never thought of gparted as a cloning
tool. 

For those that aren't aware, gparted is VERY good at moving and resizing
partitions. 

> 
> > Or should I do an outright dd and then use gparted to
> > resize everything
> > afterward ? 
> 
> I would dd the filesystem on each partition separately for safety.  Not the whole drive.  Although, what you said above will work.

Actually, it didn't.  I'm not sure why and I don't have time to figure
out why.  I think you need to do something with the MBR too. 

In short, my advice to anyone who needs to do this is to use gparted.


-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux