From: Alexander Aring <alex.aring@gmail.com>
To: ptxdist@pengutronix.de
Cc: Antonio Righettini <antorighettini@gmail.com>
Subject: Re: [ptxdist] hd.img use
Date: Tue, 3 Dec 2013 14:56:36 +0100 [thread overview]
Message-ID: <20131203135635.GA20444@omega> (raw)
In-Reply-To: <1589973.piQylqg9Vi@ws-stein>
On Tue, Dec 03, 2013 at 02:37:26PM +0100, Alexander Stein wrote:
> Hallo,
>
> On Tuesday 03 December 2013 14:16:42, Antonio Righettini wrote:
> > I have already try, dd commnad finish without errors, but the disk doesn't
> > contain data.
> >
> > I used this command :
> >
> > dd if=/.../hd.img of=/dev/sdc
> >
> > where sdc is my device (hard disk)
> >
> > I can not see any partition on hard disk.
>
> When you write an image (containing an MBR) to a currently attached disk, you need to call partprobe afterwards to update the partition table.
>
> Regards,
> Alexander
>
> BTW: no need for dd here. you can simply use cat /.../hd.img > /dev/sdc which is faster on some hardware
>
To make it faster you need call dd with a "correct" bs size.
- Alex
--
ptxdist mailing list
ptxdist@pengutronix.de
next prev parent reply other threads:[~2013-12-03 13:56 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-02 21:42 Antonio Righettini
2013-12-03 7:31 ` Alexander Aring
2013-12-03 13:16 ` Antonio Righettini
2013-12-03 13:37 ` Alexander Stein
2013-12-03 13:56 ` Alexander Aring [this message]
2013-12-03 13:57 ` Marc Kleine-Budde
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=20131203135635.GA20444@omega \
--to=alex.aring@gmail.com \
--cc=antorighettini@gmail.com \
--cc=ptxdist@pengutronix.de \
/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