From: Allan Gottlieb <gottlieb@nyu.edu>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] dd'ing small drive to large one
Date: Mon, 31 Jan 2011 14:16:47 -0500 [thread overview]
Message-ID: <yu9pqrcrihs.fsf@nyu.edu> (raw)
In-Reply-To: <201101311936.33827.wonko@wonkology.org> (Alex Schuster's message of "Mon, 31 Jan 2011 19:36:33 +0100")
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
next prev parent reply other threads:[~2011-01-31 20:08 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-31 17:34 [gentoo-user] dd'ing small drive to large one Alex Schuster
2011-01-31 18:19 ` Allan Gottlieb
2011-01-31 18:36 ` Alex Schuster
2011-01-31 19:16 ` Allan Gottlieb [this message]
2011-01-31 20:34 ` Alan McKinnon
[not found] ` <4D472323.6050007@wonkology.org>
2011-01-31 21:19 ` Alex Schuster
2011-01-31 22:37 ` Nils Holland
2011-01-31 22:39 ` Mick
2011-02-01 0:34 ` Alex Schuster
2011-02-01 8:42 ` Neil Bothwick
2011-01-31 22:57 ` Iain Buchanan
2011-02-02 13:41 ` Alex Schuster
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=yu9pqrcrihs.fsf@nyu.edu \
--to=gottlieb@nyu.edu \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox