MBR not overwritable with dd?
Emanuel Strobl
Emanuel.Strobl at gmx.net
Mon Oct 11 00:43:37 PDT 2004
Am Montag, 11. Oktober 2004 04:37 schrieb Jerry McAllister:
> > I tried to null out the MBR with the BETA7 fixit CD with the follwoing=20
> > command:
> > dd if=3D/dev/zero of=3D/dev/ad0 count=3D16
> >
> > After that fdsik still showed me a valid partition tabel!
> > How? Does GEOM map the beginning of the raw device?
>
> Was it getting it from the in-memory informatino?
After a lowlevel format fdisk still showed me a partition in slice 1 with id
165. So fdisk is misbehaving here. A hexdump of the first 512 Bytes validated
that fdisk is wrong.
Another question is why does sysinstall complain about wrong geometry? It
claims the CHS values, but why? I heard that it's the fault of "other OSes"
becaus they're writing wrong info onto the disk. But this disk has nothing
but NULLs on it and sysinstall is presenting CHS values, also fdisk reads CHS
Values "from in-core labels". Can anybody entlighten me what in-core labels
are?
Then there's another error in sysinstall but I'll post that on current (when
creating two slices, the partition table ends up in having two active
entries)
Thanks,
-Harry
>
> ////jerry
>
> > Thank you in advance,
>
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe at freebsd.org"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20041011/a479c9a5/attachment.bin
More information about the freebsd-questions
mailing list