Wineboot
From Wine-Wiki
Contents |
[edit] Introduction
Unlike Linux, with Windows you often need to reboot. But before you reach across to powerdown your computer, you need to know that just because wine emulates Windows, this does not mean you need to reboot your computer. Wine has a utility that reboots Windows, or rather it reboots Wine. The Windows software you have installed, will think that your computer turned itself off and on again.
You may need to use this Tip if you install IE or some other programs that needs a Windows Reboot. However not every program requires a reboot and often it seems a program will run despite it's claim to need a reboot.
Wine progresses very, very fast. So fast that information can become out of date quickly. If you are able to update information, because this is a wiki, you are invited to do so. Make a note of the date and add your update.
[edit] Rebooting Wine Automatically
In a console type this :
Simulating a Windows Reboot
wineboot
[edit] creating a new fake windows directory
calling Wineboot will also create new wine folders. But by calling it with the wineprefix path set, you can use it in a script to set up a temporary wine and install the sotware.
vitamin [wineuser setp 08]
- export WINEPREFIX=/my/new/prefix
- wineboot
That's if you really must create prefix to copy some files there. If the next step for you is to install program - then just install it.
[edit] Rebooting Manually
Simulating the Windows Reboot
In a console type this :
rm -r /home/Your User Name/.wine/drive_c/Windows/WININIT.INI
[edit] Troubleshooting Wineboot
Where is Wineboot
A user [Jun 05] asked where to find Wineboot. 'Is wineboot linked with my distro [...] Is it included in a lib ?'
J. vonThadden: [running in a terminal Window] "wine wineboot" should do it.
S. Petreolle: if it is not [in your path] then you are using broken packages.
Further Reading
[edit] External Links
- FAQ, Frank's Corner - "How can I simulate a Windows reboot?".
- Winetools - After installing software the obsolete Winetools installer automatically simulates a Windows reboot.

