Hello, I have a ~250 gig sata disk I want to migrate to a 2T Sata disk. This is simple, but, I have a few caveats.
old disk: Disk /dev/sda: 320.1 GB, 320072933376 bytes 255 heads, 63 sectors/track, 38913 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x000a1ff7 Device Boot Start End Blocks Id System /dev/sda1 * 1 6405 51448131 7 HPFS/NTFS /dev/sda2 6406 6431 208845 83 Linux /dev/sda3 6432 14080 61440592+ 83 Linux /dev/sda4 14081 38913 199471072+ 5 Extended /dev/sda5 14081 14861 6273351 82 Linux swap / Solaris /dev/sda6 14862 26335 92164873+ 83 Linux /dev/sda7 26336 38913 101032753+ 83 Linux /dev/sda2 /boot reiserfs defaults 1 2 /dev/sda3 / reiserfs defaults 0 1 /dev/sda5 none swap sw 0 0 /dev/sda6 /usr/local reiserfs defaults 0 1 /dev/sda7 /usr/local/video reiserfs defaults 0 1 none /proc proc defaults 0 0 none /dev/shm tmpfs defaults 0 0 /dev/fd0 /mnt/floppy vfat noauto,user,umask=000 0 0 #/dev/fd0 /mnt/floppy auto noauto, 0 0 /dev/cdrom /mnt/cdrom auto noauto,rw,user 0 0 #/dev/sda1 /mnt/windows ntfs-3g 0 0 Disk /dev/sdb: 2000.4 GB, 2000398934016 bytes 255 heads, 63 sectors/track, 243201 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x5f61c272 Device Boot Start End Blocks Id System <needs formatting and file systems installed> OK, so I format using fdisk <no big deal> <new disk will just have /(200G), swap, boot(250M) and one bit fat /usr/local (1.8T) Ok now I was going to use same reiserfs < no big deal> unless I can use reiser4? good idea? <discuss-caveats> OK now I want the new fstab to use disklabels <old dog learning new trick here> like this simple (few) partition scheme: /dev/sdb3 200G 52G 42G 55% / udev 10M 224K 9.8M 3% /dev /dev/sdb1 250M 47M 189M 20% /boot /dev/sdb4 1800G 125G 12G 92% /usr/local Current <non disklabel fstab> /dev/sda1 /boot reiserfs defaults 1 2 /dev/sda2 none swap sw 0 0 /dev/sda3 / reiserfs defaults 0 1 /dev/sda4 /usr/local reiserfs defaults 0 1 /dev/cdrom /mnt/cdrom auto noauto,ro,user 0 0 /dev/fd0 /mnt/floppy vfat noauto,user,umask=000 0 0 shm /dev/shm tmpfs nodev,nosuid,noexec 0 0 none /proc proc defaults 0 0 so what does new fstab using disk labels look like? Last, just dd it over like this? dd if=/dev/sda of=/dev/sdb bs=32768 What did I miss? Discussion, corrections or caveats are most welcome.