[PLDWWW] page changed: docs:vserver

"Elan Ruusamäe (glen)" glen at pld-linux.org
Thu Feb 20 15:42:40 CET 2014


[Running 32 bit vserver on an 64 bit host] 

--- https://www.pld-linux.org/docs/vserver?rev=1386343855
+++ https://www.pld-linux.org/docs/vserver
@@ -577,28 +577,22 @@
    * press ALT+F2 and login to your guest vserver 
  
  
  ==== Running 32 bit vserver on an 64 bit host ====
- With recent PLD util-vserver package you can create 32-bit guest systems inside a 64-bit host. First you need to prepare a new distribution definition skeleton: 
  
+ With recent [[package>util-vserver]] package you can create 32-bit guest systems inside a 64-bit host.
  
+ To specify arch during guest creation, use ''-d'' option, and to change what ''uname'' returns, use arguments ''--personality linux_32bit --machine i686'':
  
- <file># mkdir -p /etc/vservers/.distributions/pld-th-i686/poldek/repos.d
+ <file># vserver test build --context <num> -n test -m poldek -- -d pld-th-i686 --personality linux_32bit --machine i686
  </file>
- Then copy your repository configuration to ''/etc/vservers/.distributions/pld-th-i686/poldek/repos.d/pld.conf'' and change the architecture and source paths to your liking. When configuration is ready, create a new guest vserver using the ''-d'' command line option: 
  
- 
- 
- <file># vserver test build --context <num> -n test -m poldek -- -d pld-th-i686
+ If you need to set ''uts'' parameters afterwards, you can just echo them:
+ <file>
+ # echo linux_32bit >> /etc/vservers/test/personality
+ # echo i686 > /etc/vservers/test/uts/machine
  </file>
- Later to force i686 32bit use: 
  
- 
- 
- <file># echo linux_32bit >> /etc/vservers/test/personality
- # echo i686 > /etc/vservers/test/uts/machine
- </file>
- however, you can do that at vserver build time using arguments ''--personality linux_32bit --machine i686''. 
  
  
  
  ==== Package built for different operating system (linux) ====


Diff URL:
  https://www.pld-linux.org/docs/vserver?do=diff&r1=1386343855&r2=1392907360
-- 
This mail was generated by DokuWiki at
https://www.pld-linux.org/


More information about the pld-cvs-commit mailing list