Freeze during installation - fix system

Hi,

after getting a bit annoyed of Ubuntu I decided to switch to SUSE 11.4. (I had used suse a long time ago…)

During the installation the computer froze and I had to restart. That was after the system booted from hard disk, but before I got to set up things like the machine name or further users.

After rebooting the system failed to start the graphical system. That is earlyxdm failed to start.
Next, I ran rpm --rebuilddb and yast on cli and did updates. Now, after the updates, the graphical system works again. However, I’m not sure if there is still something wrong with the system. E.g. in the Desktop Folder the icon for Office is missing.

Is there a way to rerun those setup steps, that were skipped due to freeze and restart? Or another way of making sure, that everything is installed and set up properly?

I tried to simply reinstall the system. However, I encrypted the hard drive and the 11.4 KDE live image that I put on a usb stick fails during boot stating that it cannot read the harddisk.
It is the same thumb drive I used for the initial installation.

Thanks for your help.

Cheers.

Copy the text below from the code field into kwrite:

[Desktop Entry]
X-SuSE-translate=true
Name=Office
Protocols=file;ftp;http;
MiniIcon=openoffice
MimeType=application/x-scalc;application/x-smf;application/x-sdraw;application/x-sds;application/x-swriter;application/x-sgl;application/x-sda;
Exec=oofromtemplate
Icon=ooo-gulls
Path=$HOME
Type=Application
Terminal=0
StartupNotify=false
OnlyShowIn=KDE;

Save it as the text file Office.desktop into your Desktop folder (~/Desktop/Office.desktop). You then need to mark it executable. Open up a terminal session and run the command:

chmod +x ~/Desktop/Office.desktop

If Office is still there, your icon should now work.

Thank You,

Hi, thanks for your answer.

Turns out, that file is actually already there and has the exact same content as what you suggested putting in there.

I tried zypper install --force libreoffice but after a relogin the icon is still missing. Missing meaning there is an entry called office, but the icon is a sheet of paper with a questionmark on it.

Since I had to restart during installation I am a bit worried, that there is other parts of the system missing, not just the office icon…
Hence my question, is it possible to rerun the vital setup steps or to ensure that everything is set up properly?

Thanks.

                                               Hi, thanks for your answer.

Turns out, that file is actually already there and has the exact same content as what you suggested putting in there.

I tried zypper install --force libreoffice but after a relogin the icon is still missing. Missing meaning there is an entry called office, but the icon is a sheet of paper with a questionmark on it.

Since I had to restart during installation I am a bit worried, that there is other parts of the system missing, not just the office icon…
Hence my question, is it possible to rerun the vital setup steps or to ensure that everything is set up properly?

Thanks.

Try running the chmod command as I suggested before and see what happens.

chmod +x ~/Desktop/Office.desktop

Thank You,

Sorry, I forgot to tell. Yes, the file is executable already:


> ll Desktop/
total 20
-rwxr--r-- 1 gnawer users 282 Oct 31 00:58 MozillaFirefox.desktop
-rwxr--r-- 1 gnawer users 123 Oct 31 00:58 myComputer.desktop
-rwxr--r-- 1 gnawer users 350 Oct 31 00:58 Office.desktop
-rwxr--r-- 1 gnawer users 140 Oct 31 00:58 Support.desktop
-rwxr--r-- 1 gnawer users 260 Oct 31 00:58 SuSE.desktop
> cat Desktop/Office.desktop
[Desktop Entry]
X-SuSE-translate=true
Name=Office
Protocols=file;ftp;http;
MiniIcon=openoffice
MimeType=application/x-scalc;application/x-smf;application/x-sdraw;application/x-sds;application/x-swriter;application/x-sgl;application/x-sda;
Exec=oofromtemplate
Icon=ooo-gulls
Path=$HOME
Type=Application
Terminal=0
StartupNotify=false
OnlyShowIn=KDE;


Clicking it starts Libre Office and it seems to work fine.

Again, my concern isn’t so much about that icon. It’s more about other more important parts of the system possibly not being set up correctly. Thus, again, my question: Is there a way to make sure it is.

Or maybe another way. A special setup program is run when the system is booted for the first time after installation. The one which shows the remaining steps of installation on the left side. The one where you can set the name of the machine and select further packages and such. How is it called, where on the disk is it hidden, can I run this program manually to make it finish the installation?

The live system doesn’t seem to be working and I don’t want to waste too much time starting over the installation from the very beginning.

Thanks.

On 2011-10-31 08:06, gnawer wrote:

> Or maybe another way. A special setup program is run when the system is
> booted for the first time after installation. The one which shows the
> remaining steps of installation on the left side. The one where you can
> set the name of the machine and select further packages and such. How is
> it called, where on the disk is it hidden, can I run this program
> manually to make it finish the installation?

It is YaST, it triggers when it sees a special named 0 bytes file on the
root. But I don’t remember the name of that file.


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)

The Libreoffice desktop icon was also missing (replaced by a question mark) after I upgraded to 12.1.

I fixed that specific problem by editing ~/Desktop/Office.desktop as follows:

Replace the line that says

Icon=ooo-gulls

with

Icon=libreoffice-startcenter