Restoring GRUB in the MBR

Start up the system using the installation DVD (procedure tested with SuSE 10.0) in the rescue mode.

Login as root user.

Use

fdisk -l

to get the disk partitions and labels.

Then mount the "/boot" (or the "/" partition when there is no separate "/boot" partiton) on "/mnt". Finally use the "grub-install" command.

Assuming that /dev/sda is the device on which you want to update the MBR and that the partition /dev/sda5 contains the "/" partition:

mount /dev/sda5 /mnt
grub-install --root-directory=/mnt /dev/sda

Rebuilding the software installation package cache used by Yast/Zypper

Problem description:
During a system online update or an installation of a software package the error message "SQL logic error or missing database" is shown.

Solution (at least for SuSE 10.3):

rm /var/cache/zypp/zypp.db
zypper refresh

Herschel: PACS/SoftwareInstallation/Misc (last edited 2009-07-15 14:32:37 by localhost)