Dear all, a Pretec 8Gb 233x CF disk repeatedly gave me file corruptions on a net5501 device. Therefore I followed the advice on this list and got myself a couple Transcend CF150 8GB Industrial disks. By virtue of having a setup with two more or less mirrored systems on sda1 and sda3 (and swap on sda2) I was able to copy the not corrupted versions of files to and fro until the system was again mirrored but now on my server's hdd.
Then I reinstalled on a Transcend disk. I needed much time to find out why GRUB2 would boot only from sda3 and only after installing it with # grub-install --root-directory=/mnt/sdX /dev/sdX in the server's card reader: I had not RTF(Wiki)M and was ignorant about the heads - cylinders - sectors options in [c]fdisk. After following http://wiki.soekris.info/What_is_this_disk_geometry_thing things looked brighter although it took some more trial and error to make the boot loader work. My questions: ... Could omitting the heads - cylinders - sectors setup when partitioning the previous CF disk have led to the repeated file corruptions, mainly with files such as /var/lib/dpkg/info/tzdata.list mean that the six months old Pretec disk is healthy but a misaligned partition table led to file corruption during dist-upgrades? I had installed the Debian Squeeze image from http://halblog.com/SqueezeOnSoekris.html and obviously used the partitioning from my server with its BIOS and card reader, and the upgrades were done in place on the Soekris with the other BIOS and understanding of sectors etc. ... if I repartition a disk that was properly formatted for a Soekris BIOS again on a PC, do I have to add the h-c-s options every time again when I am using fdisk, or do they "stick". ... any recommendations for the right steps how to make GRUB2 work after copying a root partition to a new CF disk? Is it necessary to use # grub-install inside a chroot or will grub-install --root-directory=/mnt/sdX /dev/sdX suffice? When to run # update-grub, inside the chroot or on the Soekris (for detection of the OS on sda3), or # grub-mkconfig. Greetings Andreas _______________________________________________ Soekris-tech mailing list [email protected] http://lists.soekris.com/mailman/listinfo/soekris-tech
