Re: [opensuse] Where to put script to load modules?



On Wednesday 30 January 2008 03:27:16 pm Tom Cada wrote:
I have to use Windows 2000 from time to time. I have found it very
nice to use Qemu to run a Windows image in a virtual machine so I
don't have to reboot into Windows.

To make the best use of qemu I have to load the module kqemu and then
change its permissions to a+rw.

I want to run a small script at startup time to do just that, as I
often forget with the result that the Windows session is terribly
slow.

Where would the best place be to place the script so it is invoked at
startup.

Thanks... Tom.

/etc/init.d/boot.local

The permissions is probably good to solve in:
/etc/udev/rules.d

add rule:
60-kqemu.rules

and put in
KERNEL=="kqemu", NAME="%k", MODE="0666"

There are other options that you can add, like GROUP
KERNEL=="kqemu", NAME="%k", MODE="0666", GROUP="qemu"

create gemu system group, and add user to qemu group. Using YaST is the
easiest way.
Than permissions can be MODE="0660".


--
Regards,
Rajko
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx



Relevant Pages

  • [opensuse] Where to put script to load modules?
    ... I have to use Windows 2000 from time to time. ... To make the best use of qemu I have to load the module kqemu and then ... I want to run a small script at startup time to do just that, ... Where would the best place be to place the script so it is invoked at startup. ...
    (SuSE)
  • RE: What server hardening are you doing these days?
    ... permissions on their data, and Microsoft encourages ISVs to minimize ... I've been able to discuss ACLs and other security issues in Windows with ... Control or DAC (which is what you're referring to by the "stupid ...
    (Focus-Microsoft)
  • Re: Unnown process... 5eplorer.exe
    ... do not remove the cause (a "super"-hidden .dll program) but only remove ... symptom files and registry settings. ... It has all permissions but 'copy' denied to everyone, ... then by using the Windows XP Recovery Console. ...
    (microsoft.public.win2000.general)
  • RE: dcom permissions and vista?
    ... user BLAH with Local Activation and Local Launch permissions. ... Windows Vista indeed do some changes in handling DCOM and you may need to ... Windows Vista introduces the notion of Mandatory Access Labels in security ... Microsoft Online Community Support ...
    (microsoft.public.vc.atl)
  • Re: OT: Win 7 comments
    ... I had to edit the Registry. ... This is right up there with repairing permissions, ... That's odd, consider how some of you guys bring the same habits to Windows, ... I will wait for some apps to crash. ...
    (comp.sys.mac.advocacy)