public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] dd says no space left on device
@ 2011-05-15  7:45 Adam Carter
  2011-05-15  9:20 ` Joost Roeleveld
  2011-05-15 17:52 ` Mick
  0 siblings, 2 replies; 22+ messages in thread
From: Adam Carter @ 2011-05-15  7:45 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 965 bytes --]

I'm cloning a windows disk using gentoo;

On the old 66GB disk;
# dd if=/dev/sdb of=/root/winmbr.bin bs=512 count=1
# dd if=/dev/sdb1 bs=10M | gzip -v > winpartition.gz

Then after swapping in the new 500GB disk;
dd if=/root/winmbr.bin of=/dev/sdb bs=512 count=1
# gunzip -c winpartition.gz | dd of=/dev/sdb1 bs=10M
dd: writing `/dev/sdb1': No space left on device
0+306 records in
0+305 records out
10137600 bytes (10 MB) copied, 0.109885 s, 92.3 MB/s
# fdisk -l /dev/sdb

Disk /dev/sdb: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xe3f7e3f7

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *      206848   117207039    58500096    7  HPFS/NTFS/exFAT

Why is dd saying no space left after copying 10MB when sdb1 is 65GB?

[-- Attachment #2: Type: text/html, Size: 1073 bytes --]

^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2011-05-17  7:52 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-15  7:45 [gentoo-user] dd says no space left on device Adam Carter
2011-05-15  9:20 ` Joost Roeleveld
2011-05-15 13:44   ` Alex Schuster
2011-05-15 17:52 ` Mick
2011-05-15 18:15   ` Volker Armin Hemmann
2011-05-15 18:40     ` Mick
2011-05-15 19:45       ` Volker Armin Hemmann
2011-05-16  1:01         ` Adam Carter
2011-05-16  6:00           ` Mick
2011-05-16  6:31             ` Adam Carter
2011-05-16 10:37               ` Mick
2011-05-16 10:45                 ` Neil Bothwick
2011-05-16 11:16                   ` Mick
2011-05-16 11:37                     ` Neil Bothwick
2011-05-16 11:56                       ` Adam Carter
2011-05-16 14:21                         ` Stroller
2011-05-16 15:35                           ` Mick
2011-05-16 16:03                             ` Stroller
2011-05-16 18:55                               ` Mick
2011-05-16 19:54                             ` Neil Bothwick
2011-05-16 20:14                               ` Mick
2011-05-17  7:50                           ` Adam Carter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox