On Mon, Jan 31 2011, Alex Schuster wrote: > Allan Gottlieb writes: > >> On Mon, Jan 31 2011, Alex Schuster wrote: > >> > There is a PC with a 160 GB SATA drive, and I want to replace it with >> > one of about 1 TB in size. Would this work? >> > >> > - attach 2nd drive via SATA port or USB->SATA convertor >> > - boot from rescue CD >> > - dd if=/dev/sda of=/dev/sdb >> > - remove sda, attach sdb to where sda was >> > - reboot >> > - add other partitions or enlarge the last one >> > >> > I do not expect problems, but I'm not entirely sure. Maybe the >> > different drive geometry would have an effect on file system or at >> > least to the Grub boot loader? >> >> Won't dd'ing the whole disk will make the 1TB disk a 160GB disk. > > Not really. Yes, the current partitioning scheme will not make more than the > 160G available. But this can be changed easily later, all I need to do is > call fdisk and add partitions. Or resize the last one.
Sure, but the other partitions will stay the same size. If you are using lvm then that is no problem, if not I would think it is constraining. allan

