-
Starnge dd behaviour in 8.2.0
Dear All -
If I use the command fdisk -l I get the usual and expected output of the style
Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 131604479 131602432 62.8G 7 HPFS/NTFS/exFAT
/dev/sda2 131604480 1180327679 1048723200 500.1G 7 HPFS/NTFS/exFAT
/dev/sda3 1180327680 2229050879 1048723200 500.1G 7 HPFS/NTFS/exFAT
My question concerns the line
/dev/sda1 * 2048 131604479 131602432 62.8G 7 HPFS/NTFS/exFAT
Surely that means that /dev/sda1 starts at sector number 2048 and that there are 2,048 sectors at the start of /dev/sda (yes, numbered 0000-2047) allocated otherwise?
For various reasons I want to zero these initial sectors of /dev/sda using the command
dd if=/dev/zero of=/dev/sda count=2048
but to my annoyance (and very considerable damage to the system) this also zeroes the first sector of /dev/sda1.
That is, the dd command zeroes not just those sectors numbered 0000-2047 but also the sector numbered 2048: so 2049 altogether. not 2048.
I am absolutely convinced that my understanding of counts / numbers / numbering as described above was correct under 7.4.2 and that I issued commands, many times, in the manner describe without damaging /dev/sda1; (but I am a bit nervous now about checking that)!
Can anybody conform that I am right? That I am wrong? That dd under 8.2.0 is glitchy?
Thank you!
Fergus
PS And by the way (completely different and unconnected) I find the file /boot/isolinux/ifcpu64.c32 is broken in the 8.2.0 installation and I have to over-write it with the same file from 7.4.2 for things to work properly. Anybody else?
Fergus
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
IBM Power S824 8286-42A NO HDD X16 64GB IBM FRU:00LP755/2 x IBM Power8 Six-Cor
$200.00
IBM S822LC 8335-GCA Power 8 2U Server 2xPower8 8core/64t 256gb RAM Tested
$493.45
IBM 520 8203-E4A Power Systems Server PowerPC Dual-Core 4.2GHZ 16GB SEE NOTES
$240.00
IBM System x3650 M3 7945AC1 Server INTEL XEON E5620 2.4GHz 4GB
$59.00
IBM EServer Xseries 220 Desktop
$160.00
IBM System X 3550 M3 Server 124GB RAM Dual 2.67GHz Xeon Six Core X5650 No HDD
$79.95
IBM X3200 M3 Tower Server Intel Xeon X3450 2.67GHz 2GB 2*500 Gb Hdd Linux AS IS
$60.00
IBM System X3100 M5 (PN: 5457-AC1) Server
$199.99
IBM x3650 M3, 7945-AC1, 40GB, XEON e5507, 2.26ghz x2 with RAID Card, No HDD
$249.00
IBM System X3650 M4 Server 2x Xeon 32 GB RAM NO HDD NO OS
$215.00