I have a new Western Digital model WDBH2D0010HNC-NRSN hard disk drive. That's a 1 terabyte drive. My current, in use, desktop drive is 400gig.
Code:mark@Lexington:~$ sudo fdisk -l Disk /dev/sda: 400.1 GB, 400088457216 bytes 255 heads, 63 sectors/track, 48641 cylinders, total 781422768 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00084ceb Device Boot Start End Blocks Id System /dev/sda1 * 2048 39063551 19530752 83 Linux /dev/sda2 765798398 781422591 7812097 5 Extended /dev/sda3 39063552 765796351 363366400 83 Linux /dev/sda5 765798400 781422591 7812096 82 Linux swap / Solaris
I want to use the command line command "dd" to transfer ALL of what is on the 400 gig to the 1 terabyte drive.
One - is this the correct use of dd for my purpose? And please note, no sudo argument
dd if=/dev/sda of /dev/sdb
where sda is the 400gig drive with folders, files, objects and sdb is the new, essentially empty, drive.
Two - what formatting is necessary for ext4? Rounded to cylinders should NOT be checked using GParted? Or by using dd I don't have to format to ext4 first?
Three - the transfer must be done in LiveCD (or LiveUSB) session? Or can the /sda be mounted and the /sdb be unmounted?
After the transfer is completed should I resize the / and /home and 'swap'? I'm mostly considering enlarging the / as it is about 20 gig. I am thinking to make it 40 gig. Maybe that's overkill. Opinions?
I have backed up all of /home, that the default Ubuntu backup software, named: Backup, can do. Whenever it does a backup, Backup puts a message on-screen about not backing up a few items. I believe this is harmless, as it cannot backup the directory or file .gvfs and the like. Here is today's message:
Thank you for your time and all ideas considered.Code:/home/mark/.speech-dispatcher/log/ibmtts.log /home/mark/.speech-dispatcher/pid/speech-dispatcher.pid
Bookmarks