From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from webbox1416.server-home.net ([77.236.96.61]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1VnqB0-0006BH-TN for ptxdist@pengutronix.de; Tue, 03 Dec 2013 14:38:11 +0100 From: Alexander Stein Date: Tue, 03 Dec 2013 14:37:26 +0100 Message-ID: <1589973.piQylqg9Vi@ws-stein> In-Reply-To: References: <20131203073135.GA10736@x61s.Speedport_W_921V_1_24_000> MIME-Version: 1.0 Subject: Re: [ptxdist] hd.img use Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de Cc: Antonio Righettini 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