-
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
![Samsung 1TB NVMe M.2 SSD Solid State Drive MZVLB1T0HALR-000L7 Lenovo 00UP492 picture](/store/img/g/t54AAOSwZMNkixgB/s-l225/Samsung-1TB-NVMe-M-2-SSD-Solid-State-Drive-MZVLB1T.jpg)
Samsung 1TB NVMe M.2 SSD Solid State Drive MZVLB1T0HALR-000L7 Lenovo 00UP492
$39.99
![Samsung - S Pen Creator Edition - White picture](/store/img/g/nicAAOSwg8Nl-6GK/s-l225/Samsung-S-Pen-Creator-Edition-White.jpg)
Samsung - S Pen Creator Edition - White
$38.00
![Samsung E1720NR LCD Monitor picture](/store/img/g/BlcAAOSwIAFmfWNW/s-l225/Samsung-E1720NR-LCD-Monitor.jpg)
Samsung E1720NR LCD Monitor
$20.00
![Samsung Galaxy Tab A9+ 11.0](/store/img/g/qbUAAOSw1o1l1Rtt/s-l225/Samsung-Galaxy-Tab-A9-11-0-64GB-Gray-Wi-Fi-Tablet-.jpg)
Samsung Galaxy Tab A9+ 11.0" 64GB Gray Wi-Fi Tablet Bundle SM-X210NZAYXAR 2023
$149.99
![Samsung Chromebook XE350XBA-K05US 15.6](/store/img/g/GBsAAOSwAXVmaIaV/s-l225/Samsung-Chromebook-XE350XBA-K05US-15-6-1080p-FHD-L.jpg)
Samsung Chromebook XE350XBA-K05US 15.6" 1080p FHD Laptop Intel 4GB RAM 128GB SSD
$89.20
![Samsung Galaxy Tab S2 SM-T710 32GB Wi-Fi 8](/store/img/g/doUAAOSwmBtmX-S9/s-l225/Samsung-Galaxy-Tab-S2-SM-T710-32GB-Wi-Fi-8-Android.jpg)
Samsung Galaxy Tab S2 SM-T710 32GB Wi-Fi 8" Android Tablet - Black
$42.99
![Samsung - 980 PRO 1TB Internal Gaming SSD PCIe Gen 4 x4 NVMe picture](/store/img/g/Lj4AAOSw4zxmgyl7/s-l225/Samsung-980-PRO-1TB-Internal-Gaming-SSD-PCIe-Gen-4.jpg)
Samsung - 980 PRO 1TB Internal Gaming SSD PCIe Gen 4 x4 NVMe
$62.00
![Samsung Chromebook 3 4GB 16GB SSD 11.6-Inch Laptop XE500C13-K02US HDMI WIFI picture](/store/img/g/ubUAAOSwBINleyTe/s-l225/Samsung-Chromebook-3-4GB-16GB-SSD-11-6-Inch-Laptop.jpg)
Samsung Chromebook 3 4GB 16GB SSD 11.6-Inch Laptop XE500C13-K02US HDMI WIFI
$39.59
![Samsung Galaxy Tab A8 10.5 Tablet 64GB GRAY WiFi SM-X200NZAEXAR picture](/store/img/g/L5QAAOSwkpplXO0V/s-l225/Samsung-Galaxy-Tab-A8-10-5-Tablet-64GB-GRAY-WiFi-S.jpg)
Samsung Galaxy Tab A8 10.5 Tablet 64GB GRAY WiFi SM-X200NZAEXAR
$144.99
![Samsung Galaxy Note GT-N8013 16GB Wi-Fi 10.1](/store/img/g/vzgAAOSwvPtmYIn1/s-l225/Samsung-Galaxy-Note-GT-N8013-16GB-Wi-Fi-10-1-Table.jpg)
Samsung Galaxy Note GT-N8013 16GB Wi-Fi 10.1" Tablet- Tablet Only
$50.98