If your host machine is also openSUSE ,then you can probably mount host's
/sbin/ on the virutal machine's /mnt/
with a command like -
UML VM#mount none /mnt -t hostfs -o /sbin
Now you have access to host's binary from within virtual machine. You can
copy some missing files.
Though these copied binaries may or mayn't work inside VM!
--
----
Cheers,
Lakshmipathi.G
FOSS Programmer.
www.giis.co.in
On Wed, Feb 6, 2013 at 6:54 AM, Tony Su <ton...@su-networking.com> wrote:
> Update - I found that the init command was inaccessible in all running VMs
> (weird) but this led me to look closer at what was available in /sbin.
>
> Unfortunately at least in the openSUSE image, any power off/shutdown/halt
> commands failed because they in turn were calling apps which did not exist.
>
> In the end, I found a workaround... I simply killed the UML process
> identified by the invoked kernel using top on the Host. This is likely OK
> because all the UML fs so far have mounted only read only.
>
> Tony
> On Feb 5, 2013 6:32 AM, "Tony Su" <ton...@su-networking.com> wrote:
>
>> <slapping my head>
>> Of course!
>>
>> Thx,
>> Tony
>> On Feb 4, 2013 7:05 PM, "Lakshmipathi.G" <lakshmipath...@gmail.com>
>> wrote:
>>
>>> Hi Tony -
>>> Did something like 'init 0' works ?
>>>
>>> Sometime back,I faced few problems after shutdown with 'init 0' file
>>> system became read-only !
>>> more info here :
>>> http://lists.fedoraproject.org/pipermail/india/2011-April/004567.html
>>>
>>>
>>> --
>>> ----
>>> Cheers,
>>> Lakshmipathi.G
>>> FOSS Programmer.
>>> www.giis.co.in
>>>
>>>
>>> On Tue, Feb 5, 2013 at 3:15 AM, Tony Su <ton...@su-networking.com>wrote:
>>>
>>>> Hello,
>>>> Now that I recently was able to boot some UML VMs, I quickly ran into
>>>> the problem that the fs I am using from fs.devloop.org.uk <all> seem
>>>> to be missing some fairly standard executables like /sbin/shutdown.
>>>>
>>>> So, am wondering how to best shutdown a VM missing "shutdown," should
>>>> it and others like PING be retrieved from the distro's repo?
>>>>
>>>> Tony
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> Everyone hates slow websites. So do we.
>>>> Make your web apps faster with AppDynamics
>>>> Download AppDynamics Lite for free today:
>>>> http://p.sf.net/sfu/appdyn_d2d_jan
>>>> _______________________________________________
>>>> User-mode-linux-user mailing list
>>>> User-mode-linux-user@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user
>>>>
>>>
>>>
>>> <http://www.giis.co.in>
>>
>>
<http://www.giis.co.in>
------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user