From: jeremy jozwik on
hello list. i am contemplating beefing up my laptops hard drive. i did
a little google search and most of the hits seem to be forum posts.
and those that are not use different methods.

this is a big move so i would like to know the most tried and true,
least down time tutorial for this.

can someone either link me to a page that is the best method or reply
with nice step by step instructions.


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/f8d5d4f31003181636y618210c1s7b80243568ee39c3(a)mail.gmail.com
From: Stephen Powell on
On Thu, 18 Mar 2010 19:36:08 -0400 (EDT), jeremy jozwik wrote:
>
> hello list. i am contemplating beefing up my laptops hard drive. i did
> a little google search and most of the hits seem to be forum posts.
> and those that are not use different methods.
>
> this is a big move so i would like to know the most tried and true,
> least down time tutorial for this.
>
> can someone either link me to a page that is the best method or reply
> with nice step by step instructions.

That's really not enough information, Jeremy. For example, you didn't
tell us whether you need to keep the information on the old drive or
not. A hard disk upgrade is much simpler, for example, if you're
going to wipe the hard disk and start over from scratch than if you're
going to need to keep some or all of the existing data.

Then there are hardware issues. Sometimes there is a "system partition"
or a "host protected area" where stuff is stored, and there are
special migration procedures needed to avoid loss of hardware functionality,
etc. You really need to dig into the details with your hardware vendor
to check into this possibility. In other words, you're going to need
to do your homework and plan this carefully.

One tool which may aide you in the process is the partman utility
present in the Debian installer. I believe it has the capability
to copy partitions. Whether it can copy between partitions on different
hard drives I don't know. I've never tried that scenario, since
I've never used it on a machine with more than one hard drive.
Also, it doesn't necessarily support all filesystems. Again, you
have to do some homework and planning. A Debian live CD may provide
more tools, such as gparted. There's no "one size fits all"
five-minute answer. It depends on the exact situation. Do your homework!

--
.''`. Stephen Powell <zlinuxman(a)wowway.com>
: :' :
`. `'`
`-


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/1198581962.20198591268964765382.JavaMail.root(a)md01.wow.synacor.com
From: ~Stack~ on
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

jeremy jozwik wrote:
> what i am hoping for however is to more or less mirror the current
> drive / instillation over to the larger drive that will be installed.
> i would rather not have to re-install debian and all its
> configurations to the larger drive.

It has been a while since I have had the need to do this, but I have
done this successfully using a live CD. I created the partitions exactly
how I wanted them with Gparted and then used partimage to copy the
partitions over. The reason I used partimage over something like dd is
because dd would resize the partition as it was making an exact copy.
Using partimage I just told it to copy over the data and expand to the
larger partition on the new drive. I was told partimage uses dd in the
background so it obviously knows the right flags that I don't. Either
way, it is a nice interface to the whole process.

Two words of my own personal advice (take or leave as you see fit).
1) Use something like BleachBit (It is in Squeeze don't think it is in
Lenny) to wipe free disk space. I have found that a drive that has been
well used takes a LONG time to copy over, but when you zero out all the
'empty' space and only copy over the retained data you actually want, it
goes much faster. You may prefer to not risk this and wait out the time.
When I did this I went from a bunch of 300GB drives to 1TB drives, the
drives that I zeroed out the /scratch partition that held temp files
(~80% of the drive) were done so much faster then the one I did the
whole drive without zeroing. It makes sense though. Copy 50GB vs 300GB.
You only have an 80GB drive so you may just want to wait it out. Up to you.

2) Practice the methods on a drive with data you don't care about losing
first. Dig out some old 10GB drives from the back of the computer bin or
something, test it out, and keep good notes. It is really just a test to
make sure you don't make a silly mistake that zero's out your whole hard
drive or try to copy the wrong partition to the wrong place and lose
data. You *should* have a backup before you start, but restoring can be
a bother so this is just an extra step to help ensure you don't mess
something up when it is time to do the real thing. They say practice
makes perfect, right?


> ok, does it help if i have another machine where i can mount both the
> old laptop drive and the newer laptop drive and then do a copy
> everything from old to new and still retain a working machine?


If your laptop can hold both drives at the same time then you don't have
to have another system. Also, if you don't mind USB speeds, there are
plenty of adapters you could use to have both online. However, if you
have a spare system ready to go that requires no modification then might
as well use it. If you don't have an adapter and your laptop can't use
both at the same time, it would be recommended to have another system.

Hope this helps!
~Stack~
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkui/b0ACgkQ4OKTk6qYr2S3gACghmO26b8EJAlQRYnrhwxQZh/f
SHAAoJ04o5dMo3TDTR6z0novT0WWSVXs
=4PjI
-----END PGP SIGNATURE-----


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/4BA2FDBD.2030009(a)gmail.com
From: jeremy jozwik on
On Thu, Mar 18, 2010 at 9:29 PM, ~Stack~ <i.am.stack(a)gmail.com> wrote:
> Hope this helps!
> ~Stack~

greatly. thank you.


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/f8d5d4f31003182140w4a159c6ap46858d30e03c0362(a)mail.gmail.com
From: Ron Johnson on
On 2010-03-18 22:52, jeremy jozwik wrote:
> On Thu, Mar 18, 2010 at 6:39 PM, Ron Johnson <ron.l.johnson(a)cox.net> wrote:
>> Do you mean the "replace the existing drive with a larger capacity drive"
>> form of "beefing up"?
>
> yes. exactly that, i am considering installing a larger drive.
>
>> What exactly were your search terms?
>
> something along the lines of "debian migrate to a larger drive." if
> you want to know word for word what i search in my 3 attempts you will
> have to wait till tomorrow when i go back to work.

s/debian/thinkpad x61/

[snip]
>
> as this is the debian list figured most would assume this is a debian
> question. it is now obvious that is not true.

:)

> debian linux lenny running on a lenovo thinkpad x61 tablet. hard disk
> currently in system is a 80gig slow lil 5400rpm sata. looking to
> upgrade to a 7200 160 or 250 drive

7200RPM (remember, that's 1200RPS) drives get *hot*. I wouldn't put
one in a laptop. (It's one of the tradeoffs you make for buying
something that small.)

> On Thu, Mar 18, 2010 at 7:12 PM, Stephen Powell <zlinuxman(a)wowway.com> wrote:
>
[snip]
> which is why i wanted to ask the mailing list for tips and help with the issue.

When you at first did not say what kind of laptop you had, all
anyone on the list could do is give gross caveats and guidelines.

>> One tool which may aide you in the process is the partman utility
>> present in the Debian installer. I believe it has the capability
>> to copy partitions.

Yes. Great for resizing NTFS partitions to make room for Linux
dual-boot.

> Whether it can copy between partitions on different
>> hard drives I don't know.

I'm pretty sure it does.

[snip]
>
> ok, does it help if i have another machine where i can mount both the
> old laptop drive and the newer laptop drive and then do a copy
> everything from old to new and still retain a working machine?
>

"Only" for speed.

You could put the new HDD into an external enclosure, plug it into
the laptop and then boot the laptop from a Live CD. But that's
pretty slow. Directly connecting the two drives to PC will always
be faster.

--
Obsession with "preserving cultural heritage" is a racist impediment
to moral, physical and intellectual progress.


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/4BA326AD.9000402(a)cox.net