darkness

Monday, 26 July 2004

Mismatch in disk geometries and fdisk problems

darkness @ 19:41:01

Thanks to Andy for figuring this one out. Sometimes when I get a PC to make into a firewall with two hard disks that are destined to be mirrored, I find that the geometry on one doesn’t match the geometry on the other according to fdisk, despite the drives being identical. As it turns out this has to do with Linux guessing the disk geometry by looking at the partition table, and is probably a result of a partition table made from DOS/Windows on one drive and not on the other. I dd if=/dev/zero of=/dev/hda bs=1k count=100 and repeat for the other drive, reboot, and then the geometries agree.

1 Comment »

  1. Dude I’m creating a DD soundtrack myself for a friend. I have to thank you for having a list of the songs I need to find (love that church song). Was wondering where you got the voice clips from tho, can’t seem to find em anywhere.

    I’d appreciate the help.

    Dean

    Comment by Dean — Tuesday, 17 August 2004 @ 04:49:03

RSS feed for comments on this post. TrackBack URL

Leave a comment

Powered by WordPress