-
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
![Vintage Apple Macintosh SE M5010 Computer w/ Keyboard & mouse -power up- no OS picture](/store/img/g/A-EAAOSwd~pmb51M/s-l225/Vintage-Apple-Macintosh-SE-M5010-Computer-w-Keyboa.jpg)
Vintage Apple Macintosh SE M5010 Computer w/ Keyboard & mouse -power up- no OS
$139.99
![Vintage Apple Macintosh 512K / Mouse, Keyboard & Extras + Carry Case / Turns On picture](/store/img/g/mSoAAOSwSVZmaap5/s-l225/Vintage-Apple-Macintosh-512K-Mouse-Keyboard-Extras.jpg)
Vintage Apple Macintosh 512K / Mouse, Keyboard & Extras + Carry Case / Turns On
$260.00
![Vintage Apple A2M2010 Monitor II, Green Phosper CRT picture](/store/img/g/LIMAAOSw1TxmaGy2/s-l225/Vintage-Apple-A2M2010-Monitor-II-Green-Phosper-CRT.jpg)
Vintage Apple A2M2010 Monitor II, Green Phosper CRT
$99.99
![Vintage Apple IIe 2e iie Computer A2S2064 picture](/store/img/g/CgUAAOSw-G1mdiIk/s-l225/Vintage-Apple-IIe-2e-iie-Computer-A2S2064-.jpg)
Vintage Apple IIe 2e iie Computer A2S2064
$215.00
![Vintage Apple Macintosh IIx M5840 FOR PARTS/NOT WORKING picture](/store/img/g/Q5QAAOSw-qdmfIZ6/s-l225/-Vintage-Apple-Macintosh-IIx-M5840-FOR-PARTS-NOT-W.jpg)
Vintage Apple Macintosh IIx M5840 FOR PARTS/NOT WORKING
$100.00
![Vintage Apple Macintosh IIe A2S2064 POWERS ON DECENT CONDITION picture](/store/img/g/8-MAAOSwxERmfJFf/s-l225/Vintage-Apple-Macintosh-IIe-A2S2064-POWERS-ON-DECE.jpg)
Vintage Apple Macintosh IIe A2S2064 POWERS ON DECENT CONDITION
$125.00
![Vintage Apple Macintosh IIGS A2S6000 TESTED POWERS ON picture](/store/img/g/08wAAOSwn99mfII6/s-l225/Vintage-Apple-Macintosh-IIGS-A2S6000-TESTED-POWERS.jpg)
Vintage Apple Macintosh IIGS A2S6000 TESTED POWERS ON
$150.00
![Working Vintage Apple M2453 iBook G3 Clamshell Blueberry RAM Mac OS 9 picture](/store/img/g/v60AAOSwnilme73C/s-l225/Working-Vintage-Apple-M2453-iBook-G3-Clamshell-Blu.jpg)
Working Vintage Apple M2453 iBook G3 Clamshell Blueberry RAM Mac OS 9
$179.00
![Vintage Apple IIe Computer A2S2128 (825-1351-A) picture](/store/img/g/8lAAAOSwtRhmYgoB/s-l225/Vintage-Apple-IIe-Computer-A2S2128-825-1351-A-.jpg)
Vintage Apple IIe Computer A2S2128 (825-1351-A)
$174.99
![Vtg Apple IIGS Computer Only A2S6000 picture](/store/img/g/m84AAOSwsOhmdh1J/s-l225/Vtg-Apple-IIGS-Computer-Only-A2S6000-.jpg)
Vtg Apple IIGS Computer Only A2S6000
$215.00