jsfarinet wrote:The problem now is: The machine boots just fine into Salix and goes thru just to gdm, but then in run in a lot of trouble. I think the "/" is heavvily corrupted by saving it to a *.dd and restoring it from them to the still existing partition. The "/home" otoh is fine. I tried forward and backward to repair the "/" to no extent.
The MBR is not all. Before first use of the partitions you had should perform a filesystem check for each partition. This includes the consideration of the superblocks. Perhaps you forgot to restore the superblocks. You'll never know what you have lost.
jsfarinet wrote:Now, my question is, because probably it would be easier and less time consuming: Is there a way, to keep what exist in good shape (i.e. mbr + boot block) and to only reinstall a basic "/" adding then step by step what i had?
My answer is no. And my question is: Why?
What is to come out with this fumbling? You have not written that you have checked the file system. Only the MBR and files themselves. I suppose your root filesystem is dead. A clean way is to reinstall Salix, while preserving the home partition.
You may keep your home partition and renew the root and swap partitions. To do this, boot your installation media and start a Salix installation.
When the partitioner shows up, remove the partitions where root and swap are bind to from the partitions list, then add them again, with new defined begin and end sectors and filesystem types.
Keep the partition where home was bind to. Write the partition table and exit the partitioner. A matching MBR with partition table will be created automatically. Also in the installation process, bind root and swap again to the renewed partitions and home to the untouched partition.
When you will be asked to test the swap partition surface, then let test it. When you will be asked to test the root partition surface and write the filesystem to it, then do so. When you will be asked to test the home partition surface and write the filesystem to it, then
prevent it. Don't touch
home.
Go further with the installation. The LILO bootloader will be written automatically to the MBR. After rebooting run an update. Then configure what is neccessary (HOSTNAME, hosts, CUPS, ...). Install your needed user programs and configure them. If
home is unaffected by the incident, you do not need to configure anything in home. All together will take 30 to 60 minutes and you will be ready. You need to fsck
home too. Thus you can be sure to have a functioning system.
Good luck!