From: Alexander Stein <alexander.stein@systec-electronic.com>
To: ptxdist@pengutronix.de
Cc: Antonio Righettini <antorighettini@gmail.com>
Subject: Re: [ptxdist] hd.img use
Date: Tue, 03 Dec 2013 14:37:26 +0100 [thread overview]
Message-ID: <1589973.piQylqg9Vi@ws-stein> (raw)
In-Reply-To: <CALNnmSFB8B9h+qBroRccrYZBMU_+Ef=9b6iokGh8LvetR3aSAQ@mail.gmail.com>
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
--
ptxdist mailing list
ptxdist@pengutronix.de
next prev parent reply other threads:[~2013-12-03 13:38 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 [this message]
2013-12-03 13:56 ` Alexander Aring
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=1589973.piQylqg9Vi@ws-stein \
--to=alexander.stein@systec-electronic.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