Yes, from what I can see from the first thread (
bad superblock), aus9 is more or less correct imo. What I would have suggested (had I not been asleep), or what I would have done had I had this problem would have been to run cfdisk and not do anything but rewrite the existing partition table to disk, then run 'lilo' to reinstall LiLO's settings. Can't guarantee that it would have worked, but afaik, the problem was because you changed the partition table after LiLO was installed.
LiLO, like every other boot loader, uses the partition table to "mark" (for want of a better or more precise/accurate word) where the partitions it needs to refer to are located (meaning start and end blocks, etc.), or so it appears to me (those more knowledgeable about this process may certainly expand or correct here). Changing the partition table without telling LiLO that it has changed (by running lilo to let it reread the settings and check that it knows where everything is) is bound to end in distress, because nothing is where LiLO thinks it should be and it's a bit obsessive that way
.
But OK, you've wiped the drive, so it's a moot point (until you do something similar in a different situation
. You probably will. We mostly all do
).
And the second problem solved itself, so we won't worry about that (unless it happens again).
So there's really no point to this reply
other than to say (again) that I think that worrying about the MBR/partition table
per se is a less-than-ideal starting point. What you need to be worried about is (imo, naturally)
the accessibility of your data, which is not the same as
accessibility of the OS, which is what the MBR controls (mostly).
The OS doesn't matter. The OS can be reinstalled, and so can apps.
Data matters. Lost data means lost work, lost save games, lost mail, lost irreplaceable information.
We know that partition tables can get borked. Most definitely under Win98. Since Win98 and Linux are now gently tied together (by LiLO, and /etc/fstab), borking the partition table of one can affect the other. So if I was you, I'd be much more interested in
reducing the chance to hit the partition my data was on than being able to restore a partition table that most likely borked my data when it went down in the first place (FAT tables, you know?). And that means getting the data off the partiition most likely to get borked -- and that's the Win 98 C:\ drive. So get your data on another partition. It also means putting Linux data on a partition fs not so likely to get borked-- and that means using at least ext3 (and above) rather than ext2, for the journalling, which will recover the journal of your data's locations on the partition, so even after a power outage or hard reboot, your data will most likely be OK.
Having your data elsewhere means that even if you can't boot the OS, you can boot from a Live CD or rescue CD and mount your data partition (which is probably ok, short of a full catastrophic HDD failure, rather than the many things that might make an OS unbootable) and find the address you need, or print out your CV, or back up important files to somewhere. It also makes it somewhat easier to back up your data, since it's in a more centralized location than what is standard under Windows.
Maybe it's me, but while I naturally prefer (vastly) that my OSes boot normally, I don't so much
care if they do, because even if they don't (short of the aforementioned catastrophic hardware failure, for which there is no preventative but good backups and ready cash), it doesn't mean that I have to
stop everything until it's fixed, which can be a real problem if I needed a fast copy of my resume for a surprise interview that I have to leave for in 10 minutes when my PC crashed on me.
And so it seems to me that this whole "backup the partition table" thing is a side point, rather than an essential one, rather like making certain that you could retrieve your jewelry if your house burned down, without first making sure that you yourself had a clear path out to save your
life.
But maybe I'm missing something. Just my 0.17 eurocents, anyway.