From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-we0-x22c.google.com ([2a00:1450:400c:c03::22c]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1VnqT1-0007Ne-Eg for ptxdist@pengutronix.de; Tue, 03 Dec 2013 14:56:55 +0100 Received: by mail-we0-f172.google.com with SMTP id w62so7945282wes.31 for ; Tue, 03 Dec 2013 05:56:42 -0800 (PST) Date: Tue, 3 Dec 2013 14:56:36 +0100 From: Alexander Aring Message-ID: <20131203135635.GA20444@omega> References: <20131203073135.GA10736@x61s.Speedport_W_921V_1_24_000> <1589973.piQylqg9Vi@ws-stein> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1589973.piQylqg9Vi@ws-stein> 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 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