[ltp] Re: Cloning a hard disk?
Jaime Iniesta
linux-thinkpad@linux-thinkpad.org
Fri, 19 Aug 2005 02:48:56 -0400
------=_Part_3879_22073175.1124434136959
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
It looks like my test didn't work. After 11 hours I aborted the process:
root@0[dev]# dd if=3D/dev/hda of=3D/dev/uba bs=3D10M
1895+0 records in
1895+0 records out
19870515200 bytes transferred in 40062.003484 seconds (495994 bytes/sec)
Jaime
2005/8/18, Jaime Iniesta <capitanplaneta@gmail.com>:
>=20
> Well, the cloning is in process. What I did is boot up from the
> Knoppix CD, then open a shell, become root with su and...
>=20
> dd if=3D/dev/hda of=3D/dev/uba bs=3D10M
>=20
> It is taking quite a lot of time, 15 minutes now but I can expect
> several hours maybe... This PC has an old and slow USB connector.
> Anyway I want to try what happens with that.
>=20
> AlBundy, thanks for the tip on the HD adapter. I have seen it costs 43
> euros on Lenovo, seems like a good idea, this way I could have both
> drives always connected, and maybe use the second hard drive as
> additional storage on Linux, mounting it from there. Do you know if I
> can decide which drive to boot from, on BIOS?
>=20
> Jaime
>=20
> On 8/18/05, Jaime Iniesta <capitanplaneta@gmail.com> wrote:
> > Thanks everybody for the help. Hey AlBundy! I am also on Madrid!!!
> > Hope you are too on the Linux Madrid mailing list.
> >
> > I am right now on Knoppix making some tests with my PC, its hard drive
> > and the external USB one. Lets see if I can get it to work with dd.
> >
> > Jaime!
> >
> > On 8/18/05, Javier (a.k.a AlBundy) <buzonazo@gmail.com> wrote:
> > > On 8/18/05, Jaime Iniesta <capitanplaneta@gmail.com> wrote:
> > > > Hi everybody!
> > >
> > > [...]
> > > > I don't want to make partitions on the hard disk, because I have
> > another
> > > 40
> > > > Gb Samsung hard disk. I'm thinking about installing Linux on that
> > Samsung
> > > > hard drive, and leave the IBM hard drive intact, with Windows, so I=
=20
> can
> > > swap
> > > > disks whenever I need to use Windows.
> > >
> > > Hola Jaime:
> > >
> > > 1) To make many connections in hard disk connector is NOT a good idea=
.
> > > All connectors have a finite lifetime, and if you damage internal
> > > connector, it can need a very very expensive repair.
> > >
> > > If you really want 2 hard drives, you should get an second hard disk
> > > drive adapter, that fits in Ultrabay bay.
> > >
> > >
> > >
> > >
> > > 2) Knoppix CD has both "dd" and "partimage".
> > >
> > >
> > >
> > > 3) If you finally choose the "dd" option, you should add a bigger
> > > "bs=3D" parameter, to get a faster backup, like this:
> > > dd if=3D/dev/hda bs=3D10M
> > >
> > > The default block size is 512bytes. If your hard disk is 40GB, you
> > > would need, approx:
> > > 40 x 1024 x 1024 x 1024 / 512 =3D 83-millions read/write operations
> > >
> > > with a block size of 10M:
> > > (40 x 1024 x 1024 x 1024) / (10 x 1024 x 1024)=3D 4096 read/write
> > > operations
> > >
> > >
> > > ------------
> > > AlBundy
> > > Madrid (Espa=F1a)
> > > --
> > > The linux-thinkpad mailing list home page is at:
> > > http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad
> > >
> >
> >
> > --
> >
> > Jaime Iniesta AKA Capit=E1n planeta
> > email: capitanplaneta ARROBA gmail PUNTO com
> > jabber: capitanplaneta ARROBA jabberes PUNTO org
> > webs: http://capitanplaneta.blogspot.com/
> >
>=20
>=20
> --
>=20
> Jaime Iniesta AKA Capit=E1n planeta
> email: capitanplaneta ARROBA gmail PUNTO com
> jabber: capitanplaneta ARROBA jabberes PUNTO org
> webs: http://capitanplaneta.blogspot.com/
>=20
--=20
Jaime Iniesta AKA Capit=E1n planeta
email: capitanplaneta ARROBA gmail PUNTO com
jabber: capitanplaneta ARROBA jabberes PUNTO org
webs: http://capitanplaneta.blogspot.com/
------=_Part_3879_22073175.1124434136959
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
It looks like my test didn't work. After 11 hours I aborted the process:<br=
>
<br>
root@0[dev]# dd if=3D/dev/hda of=3D/dev/uba bs=3D10M<br>
1895+0 records in<br>
1895+0 records out<br>
19870515200 bytes transferred in 40062.003484 seconds (495994 bytes/sec)<br=
>
<br>
Jaime<br>
<br><br><div><span class=3D"gmail_quote">2005/8/18, Jaime Iniesta <<a hr=
ef=3D"mailto:capitanplaneta@gmail.com">capitanplaneta@gmail.com</a>>:</s=
pan><blockquote class=3D"gmail_quote" style=3D"border-left: 1px solid rgb(2=
04, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Well, the cloning is in process. What I did is boot up from the<br>Knoppix =
CD, then open a shell, become root with su and...<br><br>dd if=3D/dev/hda o=
f=3D/dev/uba bs=3D10M<br><br>It is taking quite a lot of time, 15 minutes n=
ow but I can expect
<br>several hours maybe... This PC has an old and slow USB connector.<br>An=
yway I want to try what happens with that.<br><br>AlBundy, thanks for the t=
ip on the HD adapter. I have seen it costs 43<br>euros on Lenovo, seems lik=
e a good idea, this way I could have both
<br>drives always connected, and maybe use the second hard drive as<br>addi=
tional storage on Linux, mounting it from there. Do you know if I<br>can de=
cide which drive to boot from, on BIOS?<br><br>Jaime<br><br>On 8/18/05, Jai=
me Iniesta <
<a href=3D"mailto:capitanplaneta@gmail.com">capitanplaneta@gmail.com</a>>=
; wrote:<br>> Thanks everybody for the help. Hey AlBundy! I am also on M=
adrid!!!<br>> Hope you are too on the Linux Madrid mailing list.<br>>
<br>> I am right now on Knoppix making some tests with my PC, its hard d=
rive<br>> and the external USB one. Lets see if I can get it to work wit=
h dd.<br>><br>> Jaime!<br>><br>> On 8/18/05, Javier (a.k.a AlBu=
ndy) <
<a href=3D"mailto:buzonazo@gmail.com">buzonazo@gmail.com</a>> wrote:<br>=
> > On 8/18/05, Jaime Iniesta <<a href=3D"mailto:capitanplaneta@gm=
ail.com">capitanplaneta@gmail.com</a>> wrote:<br>> > > Hi every=
body!
<br>> ><br>> > [...]<br>> > > I don't want =
to make partitions on the hard disk, because I have<br>> another<br>>=
> 40<br>> > > Gb Samsung hard disk. I'm thinking about install=
ing Linux on that
<br>> Samsung<br>> > > hard drive, and leave the IBM hard drive=
intact, with Windows, so I can<br>> > swap<br>> > > disks w=
henever I need to use Windows.<br>> ><br>> > Hola Jaime:<br>
> ><br>> > 1) To make many connections in hard disk connector i=
s NOT a good idea.<br>> > All connectors have a finite lifetime, and =
if you damage internal<br>> > connector, it can need a very very expe=
nsive repair.
<br>> ><br>> > If you really want 2 hard drives, you should get=
an second hard disk<br>> > drive adapter, that fits in Ultrabay bay.=
<br>> ><br>> ><br>> ><br>> ><br>> > 2) Knoppi=
x CD has both "dd" and "partimage".
<br>> ><br>> ><br>> ><br>> > 3) If you finally choo=
se the "dd" option, you should add a bigger<br>> > "bs=
=3D" parameter, to get a faster backup, like this:<br>> > &=
nbsp; dd if=3D/dev/hda bs=3D10M
<br>> ><br>> > The default block size is 512bytes. If your hard=
disk is 40GB, you<br>> > would need, approx:<br>> >  =
; 40 x 1024 x 1024 x 1024 / 512 =3D 83-millions read=
/write operations<br>> >
<br>> > with a block size of 10M:<br>> >  =
; (40 x 1024 x 1024 x 1024) / (10 x 1024 x 1024)=3D 4096 read/wr=
ite<br>> > operations<br>> ><br>> ><br>> > --------=
----<br>> > AlBundy<br>
> > Madrid (Espa=F1a)<br>> > --<br>> > The linux-thinkpad=
mailing list home page is at:<br>> > <a href=3D"http://mailman.linux=
-thinkpad.org/mailman/listinfo/linux-thinkpad">http://mailman.linux-thinkpa=
d.org/mailman/listinfo/linux-thinkpad
</a><br>> ><br>><br>><br>> --<br>><br>> Jaime Iniesta =
AKA Capit=E1n planeta<br>> email: capitanplaneta ARROBA gmail PUNTO com<=
br>> jabber: capitanplaneta ARROBA jabberes PUNTO org<br>> webs: <a h=
ref=3D"http://capitanplaneta.blogspot.com/">
http://capitanplaneta.blogspot.com/</a><br>><br><br><br>--<br><br>Jaime =
Iniesta AKA Capit=E1n planeta<br>email: capitanplaneta ARROBA gmail PUNTO c=
om<br>jabber: capitanplaneta ARROBA jabberes PUNTO org<br>webs: <a href=3D"=
http://capitanplaneta.blogspot.com/">
http://capitanplaneta.blogspot.com/</a><br></blockquote></div><br><br><br>-=
- <br><br>Jaime Iniesta AKA Capit=E1n planeta<br>email: capitanplaneta ARRO=
BA gmail PUNTO com<br>jabber: capitanplaneta ARROBA jabberes PUNTO org<br>
webs: <a href=3D"http://capitanplaneta.blogspot.com/">http://capitanplaneta=
.blogspot.com/</a>
------=_Part_3879_22073175.1124434136959--