X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-0.6 required=5.0 tests=AWL,BAYES_20,RCVD_IN_DNSWL_NONE X-Spam-Check-By: sourceware.org Message-ID: <4D104BBF.6080402@bonhard.uklinux.net> Date: Tue, 21 Dec 2010 06:39:59 +0000 From: Fergus User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: Cygwin ML CC: Fergus Subject: Re: dd to linux partition Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com >> dd if=/dev/sda1 of=/cygrive/f/sda1.img # windows, works!!! >> dd if=/dev/sda5 of=/cygrive/f/sda5.img # linux, will not work On my machine: ~> /usr/sbin/fdisk -l Disk /dev/sda: 1000.2 GB, 1000204886016 bytes .. Device Boot Start End Blocks Id System /dev/sda1 * 1 2048 16450528+ c W95 FAT32 (LBA) /dev/sda2 2049 63488 493516800 83 Linux /dev/sda3 63489 64512 8225280 82 Linux swap /dev/sda4 64513 121601 458567392+ 5 Extended /dev/sda5 64513 65536 8225248+ b W95 FAT32 /dev/sda6 65537 66560 8225248+ b W95 FAT32 /dev/sda7 66561 67584 8225248+ b W95 FAT32 /dev/sda8 67585 116736 394813408+ b W95 FAT32 /dev/sda9 116737 117760 8225248+ 83 Linux /dev/sda10 117761 118784 8225248+ 83 Linux ~> dd if=/dev/sda2 of=./test.img count=1 1+0 records in 1+0 records out 512 bytes (512 B) copied, 0.043 s, 11.9 kB/s Windows has to be made aware of any Linux partition(s) on your system. From my experience "Ext2 Installable File System for Windows" works really well. See http://www.fs-driver.org/ Fire it up and the Linux partition becomes totally accessible (read-write) from Windows, and therefore from Cygwin. Incidentally really useful for drag and drop, whatever, without going near Cygwin. I've never tried it for other than ID b i.e. ext2; and only on the XP platform. Maybe it is extensible (ext3 etc; Vista, W7) or maybe googling for something similar will get you something more elaborate, if you need it. Fergus -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple