-
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
![Fanxiang SSD 4TB 2TB 1TB PS5 SSD M.2 NVME SSD 7300MBS PCIe 4.0 Solid State Drive picture](/store/img/g/yKsAAOSwNPJlqMdQ/s-l225/Fanxiang-SSD-4TB-2TB-1TB-PS5-SSD-M-2-NVME-SSD-7300.jpg)
Fanxiang SSD 4TB 2TB 1TB PS5 SSD M.2 NVME SSD 7300MBS PCIe 4.0 Solid State Drive
$259.99
![Netac 1TB 2TB 512GB Internal SSD 2.5'' SATA III 6Gb/s Solid State Drive lot picture](/store/img/g/pJUAAOSwFaRkhuj-/s-l225/Netac-1TB-2TB-512GB-Internal-SSD-2-5-SATA-III-6Gb-.jpg)
Netac 1TB 2TB 512GB Internal SSD 2.5'' SATA III 6Gb/s Solid State Drive lot
$119.99
![Fanxiang 4TB 2TB 1TB SSD 550MB/s 2.5'' SATA III Internal Solid State Drive lot picture](/store/img/g/pB0AAOSwrbRkIWhk/s-l225/Fanxiang-4TB-2TB-1TB-SSD-550MB-s-2-5-SATA-III-Inte.jpg)
Fanxiang 4TB 2TB 1TB SSD 550MB/s 2.5'' SATA III Internal Solid State Drive lot
$219.99
![4tb Ssd 870evo Internal Solid State Drive Hard Disk 2.5 Inch Sata SSD For Laptop picture](/store/img/g/eD8AAOSwXbhmYg9y/s-l225/4tb-Ssd-870evo-Internal-Solid-State-Drive-Hard-Dis.jpg)
4tb Ssd 870evo Internal Solid State Drive Hard Disk 2.5 Inch Sata SSD For Laptop
$47.79
![Patriot P210 128GB 256GB 512GB 1TB 2TB 2.5](/store/img/g/RzIAAOSwSZNlN-zB/s-l225/Patriot-P210-128GB-256GB-512GB-1TB-2TB-2-5-SATA-3-.jpg)
Patriot P210 128GB 256GB 512GB 1TB 2TB 2.5" SATA 3 6GB/s Internal SSD PC/MAC Lot
$15.50
![Patriot P300 128G 256GB 512GB 1TB 2TB M.2 2280 PCIe Gen3x4 NVMe Internal SSD Lot picture](/store/img/g/4A0AAOSw4aRlCzo8/s-l225/Patriot-P300-128G-256GB-512GB-1TB-2TB-M-2-2280-PCI.jpg)
Patriot P300 128G 256GB 512GB 1TB 2TB M.2 2280 PCIe Gen3x4 NVMe Internal SSD Lot
$16.99
![1080PRO 4TB SSD Solid State Hard Drive Ngff M.2 SSD Gaming Internal Hard Disk picture](/store/img/g/ADkAAOSwHoFmfNEh/s-l225/1080PRO-4TB-SSD-Solid-State-Hard-Drive-Ngff-M-2-SS.jpg)
1080PRO 4TB SSD Solid State Hard Drive Ngff M.2 SSD Gaming Internal Hard Disk
$28.99
![SSD 512GB 1/2/4TB 870 EVO SATA III SSD 2.5'' Solid State Drive Upgrade PC Laptop picture](/store/img/g/1xoAAOSwHrhmaWn2/s-l225/SSD-512GB-1-2-4TB-870-EVO-SATA-III-SSD-2-5-Solid-S.jpg)
SSD 512GB 1/2/4TB 870 EVO SATA III SSD 2.5'' Solid State Drive Upgrade PC Laptop
$39.99
![Fanxiang M.2 SATA SSD 2TB 1TB 512GB 256GB SSD Internal M2 Solid State Drive Lot picture](/store/img/g/vt0AAOSwAgVls0tY/s-l225/Fanxiang-M-2-SATA-SSD-2TB-1TB-512GB-256GB-SSD-Inte.jpg)
Fanxiang M.2 SATA SSD 2TB 1TB 512GB 256GB SSD Internal M2 Solid State Drive Lot
$109.99
![SAMSUNG 2.5 in SSD 870 EVO 2TB 1TB 500 GB 250 GB SATA III Solid State Drive lot picture](/store/img/g/8dwAAOSwy6dmeTP5/s-l225/SAMSUNG-2-5-in-SSD-870-EVO-2TB-1TB-500-GB-250-GB-S.jpg)
SAMSUNG 2.5 in SSD 870 EVO 2TB 1TB 500 GB 250 GB SATA III Solid State Drive lot
$149.13