BrandZ - Linux inside a Solaris Zone

Posted by Doomshammer on Monday, September 3. 2007 at 20:33 in Anwendungen, Computer, English only, Linux/Unix, Privat, Thoughts

Today I played around with BrandZ. BrandZ makes it possible to install another brand of OS inside of a Solaris Zone. My target was a CentOS installation inside of my zone.

The configuration of the zone works pretty much straight forward. A simple:
QUOTE:
zonecfg -z linuxtest1 "create -t SUNWlx; set zonepath=/export/myzone_root"

is enough, to have a basic linux-branded zone. To make the zone avail. via network, you could add a quick:
QUOTE:
zonecfg -z linuxtest1 "add net; set address=192.168.197.201/24; set physical=e1000g0; end"

to get a network interface assigned to the zone.

Now the zone is ready for installation. To make things easy, I took the CentOS tarbar that is avail. here. The installation is done by this command:
QUOTE:
zoneadm -z linuxtest1 install -d /home/doomy/CentOS/centos_fs_image.tar.bz2


After some minutes (depending on your machine speed and the typ of installation you've choosen) the installtion is complete and you are ready to boot up your linux zone:
QUOTE:
zoneadm -z linuxtest1 boot


Now enter the linux via SSH or local console (zlogin -C) and there we are:
QUOTE:
Linux linuxtest1 2.4.21 BrandZ fake linux i686 i686 i386 GNU/Linux


A linux installation couldn't be easier :-)

Calendar

Back May '13
Mon Tue Wed Thu Fri Sat Sun
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31    

Quicksearch

Not for Sale!

This blog is not for sale!

Latest twitter

Latest Photos

ERROR: The HTTP server returned the error or the warning(result:403).

Getaggte Artikel

Buttons

Ich bin ein Dokuleser
Get OpenSolaris
Gimme a Smile
neessen.net - Webhosting
I'm a blogger!
Lebst Du noch oder oarks Du schon?
last.fm
trnd - be trendy
I hear Metal
Visit GeoURL
Powered by Linux
Zsh lover
VIM! The Editor
Get Firefox
Ihr, nicht ich!
My amazon wishlist

BLOGROLL