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
2 x HP ProLiant BL460c (447707-B21) Blade Servers No RAM No HDD
$30.00
Toshiba Magnia SG20 VPN Linux server Web server (No HDD, *Read*) -
$41.53
1U BareMetal pfsense opnsense Router Firewall DNS Server 6x 10GB Ethernet Ports
$149.00
IBM CS821 20-Core 2.827GHz 128Gb 1.92Tb SSD 1U Linux Server - 8005-12N Power 8
$449.96
IBM E850 Power8 2x 12C 3.02GHz 512Gb 1.8Tb SAS 10GbE 16Gb Linux Server 8408-E8E
$674.96
PFSENSE 15" Depth Server Router Firewall Supermicro X11SSH-F E3-1240 V5 32GB RAM
$382.00
IBM Power8 S822L 20-Core 3.42GHz 256Gb 1.2Tb 40G Elastic Storage Server 5148-22L
$599.95
IBM 8247-21L S812L 10-core 3.42 GHz 128GB 2x 300gb 12x SFF Power8 Linux Server
$649.00
Dell PowerEdge R730xd Server 2.60Ghz 32-Core 64GB 800GB SSD Debian Linux
$836.80
POGO Linux WEBWARE 1150 Rack-Mount Server Pentium 4 2.8GHz 512MB - No Drives
$179.99