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
ASRock B550M Pro SE AM4 DDR4 SATA 6Gb/s 1 PCIe 4.0 x16 Micro ATX Motherboard
$71.49
ASUS B150M-C Motherboard mATX LGA1151 w/Intel i3-6100 CPU DDR4 SATA HDMI Tested
$45.00
ASUS Q170M-C Motherboard LGA1151 with IO Shield
$29.95
ASROCK B560M-C INTEL CHIPSET B560 SOCKET LGA1200 DDR4 MICRO ATX MOTHERBOARD
$69.99
MSI MPG B550 GAMING PLUS AM4 AMD B550 PCIe 4.0 ATX Motherboard
$94.99
GIGABYTE GA-X99-UD4 LGA 2011-v3 Intel X99 SATA 6Gb/s USB 3.0 ATX Motherboard
$79.95
Gigabyte B560 DS3H AC Intel B560 LGA 1200 ATX Desktop Motherboard A
$79.99
Gigabyte M-ATX motherboard with Intel Core i3 8100 CPU and 8GB DDR4 RAM
$79.00
MSI MAG B650 Tomahawk WiFi Gaming Motherboard AMD AM5, ATX, DDR5, PCIe 4.0
$129.95
ASRock B560M-C Iintel LGA1200 DDR4 HDMI Micro ATX Motherboard
$74.99