Re: DD Command question
- From: "joe" <joe@xxxxxxxx>
- Date: Sat, 30 Jun 2007 22:11:37 +0100
"Lew Pitcher" <lpitcher@xxxxxxxxxxxx> wrote in message
news:70e23$46866586$cef8bf9d$30741@xxxxxxxxxxxxxxxxxxxx
joe wrote:
Just started using Linux, so forgive my newbiness.
Lets say I have 1 hard disc (HDA) with only 1 partitioin (HDA1), and I
wanted to DD only the first 300MB into an arbritary folder. What DD
command
would I need to copy the first 300MB of HDA
dd if=/dev/hda of=/some/arbitrary/folder/hda.data bs=1024 count=300M
and how would this differ from DD`ing the first 300MB of HDA1 ?
Not by much - just the name of the input device
dd if=/dev/hda1 of=/some/arbitrary/folder/hda1.data bs=1024 count=300M
For some reason, linux didn`t listen to `count=300M`
When the seconds ticked by, I knew I was in trouble.
Fortunately I put the output file in a small (500Mb) partition. The dd ran
out of disc space.
So why didn`t it stop at 300Mb ?
Is there another way of specifying 300Mb to copy ?
I really appreciate your help.
.
- References:
- DD Command question
- From: joe
- Re: DD Command question
- From: Lew Pitcher
- DD Command question
- Prev by Date: Re: The PPP negotiation failed, coz serial loopback was detected
- Previous by thread: Re: DD Command question
- Next by thread: Re: DD Command question
- Index(es):
Relevant Pages
|