Thursday, June 30, 2011

Bring back lx brand?

It is hard to say why the BrandZ code was removed from the OpenSolaris. However this can be corrected. With small fixes I've now got CentOS running in a zone on Illumos:

The Illumos Project SunOS 5.11 illumos-gate June 2011
root@indy:~# zoneadm -z centos boot; zlogin -C centos
[Connected to zone 'centos' console]
Welcome to CentOS
Press 'I' to enter interactive startup.
Configuring kernel parameters: [ OK ]
Setting hostname centos: [ OK ]
Checking root filesystem: [ OK ]
Activating swap partitions: [ OK ]
...
CentOS release 3.7 (Final)
Kernel 2.4.21 on an i686

centos login: root
Password:
Welcome to your shiny new Linux zone.

- The root password is 'root'. Please change it immediately.

- To enable networking goodness, see /etc/sysconfig/network.example.

- This message is in /etc/motd. Feel free to change it.

For anything more complicated, see:
http://opensolaris.org/os/community/brandz/

You have mail.
-bash-2.05b# cat /proc/cpuinfo
processor : 3
vendor_id : GenuineIntel
cpu family : 6
model : 30
model name : Intel(r) Core(tm) i7 CPU Q 720 @ 1.60GHz
stepping : 5
cpu MHz : 1596.146
cache size : 0 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 11
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm pni monitor ds_cpl est tm2 cx16 xtpr
...

5 comments:

bitje said...

Hi!

It would be really appreciated if you could publish the steps needed to make a live cd from the latest solaris 11 sparc express.
Thank you!

allpoints.threesixty said...

so ahh...any hints how I could make this happen on OpenIndiana_151+?

What are these "Small fixes"? pleaseplease! thanx! :)

alhazred said...

hg export -o lx.diff 12613

allpoints.threesixty said...

Thank you very much!
A gentleman as well as a scholar... :)

alhazred said...

After applying removed lines you must fix some issues, as I remember:
set_l10n_alternate_root (just comment out), missing pid_find, also you need to add VSW_ZMOUNT to vsfdev_t in lx_prvfsops.c...