-
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
![Yottamaster Aluminum Alloy 2 Bay 3.5 inch - 2 Bay RAID USB picture](/store/img/g/pAkAAOSw6t5mcw7o/s-l225/Yottamaster-Aluminum-Alloy-2-Bay-3-5-inch-2-Bay-RA.jpg)
Yottamaster Aluminum Alloy 2 Bay 3.5 inch - 2 Bay RAID USB
$64.99
![ORICO 5 Bay Raid USB3.0 to SATA External Hard Drive Enclosure for 3.5'' HDD LOT picture](/store/img/g/m2IAAOSwmz5kyNFT/s-l225/ORICO-5-Bay-Raid-USB3-0-to-SATA-External-Hard-Driv.jpg)
ORICO 5 Bay Raid USB3.0 to SATA External Hard Drive Enclosure for 3.5'' HDD LOT
$219.99
![ORICO 5 Bay Raid USB3.0 to SATA External Hard Drive Enclosure for 3.5'' HDD LOT picture](/store/img/g/m2IAAOSwmz5kyNFT/s-l225/ORICO-5-Bay-Raid-USB3-0-to-SATA-External-Hard-Driv.jpg)
ORICO 5 Bay Raid USB3.0 to SATA External Hard Drive Enclosure for 3.5'' HDD LOT
$140.79
![Dell EMC 092GD6 Broadcom 9305-16i LSI Quad Port 4 Port SAS RAID Controller picture](/store/img/g/ph8AAOSwnHxmXzcB/s-l225/Dell-EMC-092GD6-Broadcom-9305-16i-LSI-Quad-Port-4-.jpg)
Dell EMC 092GD6 Broadcom 9305-16i LSI Quad Port 4 Port SAS RAID Controller
$84.99
![Inspur LSI YZCA-00424-101 Raid Card 12Gbps HBA Controller Low Profile 9300-8i IT picture](/store/img/g/25EAAOSwxzdk-ipC/s-l225/Inspur-LSI-YZCA-00424-101-Raid-Card-12Gbps-HBA-Con.jpg)
Inspur LSI YZCA-00424-101 Raid Card 12Gbps HBA Controller Low Profile 9300-8i IT
$15.98
![LSI MegaRAID 9361-8i 12Gbps PCIe 3 x8 SATA SAS 3 8 Port RAID + BBU & CacheVault picture](/store/img/g/NdcAAOSwlPtmc2X8/s-l225/LSI-MegaRAID-9361-8i-12Gbps-PCIe-3-x8-SATA-SAS-3-8.jpg)
LSI MegaRAID 9361-8i 12Gbps PCIe 3 x8 SATA SAS 3 8 Port RAID + BBU & CacheVault
$39.00
![Dell PERC H330 PCIe 3.0 x8 RAID Storage Controller 4Y5H1 High Profile picture](/store/img/g/C7YAAOSwLYJl3nQQ/s-l225/Dell-PERC-H330-PCIe-3-0-x8-RAID-Storage-Controller.jpg)
Dell PERC H330 PCIe 3.0 x8 RAID Storage Controller 4Y5H1 High Profile
$15.99
![9207-8i PCIE3.0 6Gbps HBA LSI FW:P20 IT Mode ZFS FreeNAS unRAID 2* SFF-8087 US picture](/store/img/g/~n8AAOSwg9BibAAq/s-l225/9207-8i-PCIE3-0-6Gbps-HBA-LSI-FW-P20-IT-Mode-ZFS-F.jpg)
9207-8i PCIE3.0 6Gbps HBA LSI FW:P20 IT Mode ZFS FreeNAS unRAID 2* SFF-8087 US
$32.88
![Drobo DR04D-U External Data Backup Storage Raid Hard Drive 4 Bay NAS USB picture](/store/img/g/BikAAOSwmbBmeEtI/s-l225/Drobo-DR04D-U-External-Data-Backup-Storage-Raid-Ha.jpg)
Drobo DR04D-U External Data Backup Storage Raid Hard Drive 4 Bay NAS USB
$42.50
![OWC Guardian Maximus Raid Enclosure SATA Hard Drive FireWire picture](/store/img/g/-FoAAOSwtEBmQ5qa/s-l225/OWC-Guardian-Maximus-Raid-Enclosure-SATA-Hard-Driv.jpg)
OWC Guardian Maximus Raid Enclosure SATA Hard Drive FireWire
$36.99