move partition with directory & contents to another drive.
I have a partition sda10 which is named /home partimage, it resides within my Debian logical partition, but is not added to my fstab as I prefer not to automount after login.
It's approximately taking up 400G space on my Debian hdd sda & I would like to move to sdb windows drive which has 750G unallocated space also without automounting. Would it be easier to just create the partition & just move the directory to it? |
wouldn't the following work:
Code:
dd if=/dev/sda10 of=/dev/sdbX |
Thank you for your response, I usually use clonezilla, never used the command line to do it.
So my question is can I take it out of logical & create & place on a primary partition. Also does this command create the partition or does it need to be created prior to the dd command you supplied? |
Quote:
Create the new partition, mount it, mv the old dir to a new name eg /home2 on new partition, rename old to /home3, rename new to /home and reboot/test. If ok, delete old one... |
Would this command work, or do I need to add to the command?
Quote:
|
Have the device names changed in the commands on this howto dated from 2005
http://www.linuxquestions.org/questi...ommand-362506/ Or are the commands upto date |
I've created a partition on sdb3 & am going to copy everything fro sda10 to sdb3 they are all image files I will just copy individual folders .
|
All times are GMT -5. The time now is 11:32 PM. |