[osol-discuss] A question about OpenSolaris Customize

2009-08-18 Thread Chen Jianxun(Kelvin)

I am an engineer of Open Community Great China. There is a company, that
is a ISV focus on Storage Porduct, they are intending to develop a kind
of Storage product and want use Solaris as the OS of that, and leverage
Comstar module. But they think even the OpenSolaris 0906 is too large
for their product, they just want a core Operating System, doesn't
include GUI, doesn't include unnecessary package in it. And they want
include their own software in it. My question is, does Distribution
Constructer can do it? If so, what is the correct packages set for
minimal live CD.

begin:vcard
fn:Jianxun(Kelvin) Chen
n:Chen;Jianxun(Kelvin)
email;internet:jianxun.c...@sun.com
tel;work:86-10-68093995
tel;cell:86-13501085870
version:2.1
end:vcard

___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org

Re: [osol-discuss] A question about OpenSolaris Customize

2009-08-18 Thread Chen Jianxun(Kelvin)

Hi Kristo

Thank you very much for you point it out now I am downloading the image 
and go on with it. But I have a question, because it is a Virtual disk 
Image, so I worry about that can I use it on a real server, and how can 
I do it. Thank you very much.


Che Kristo 写道:
Hi, Take a look at this Sun Wiki which can help you build a JEOS (Just 
enough operatin system) prototype: 
http://wikis.sun.com/display/jeos/OpenSolaris++2009.06+JeOS+Prototype


There is an OpenSolaris project for JEOS at 
http://opensolaris.org/os/project/jeos/


On Tue, Aug 18, 2009 at 5:03 PM, Chen Jianxun(Kelvin) 
jianxun.c...@sun.com mailto:jianxun.c...@sun.com wrote:


I am an engineer of Open Community Great China. There is a
company, that
is a ISV focus on Storage Porduct, they are intending to develop a
kind
of Storage product and want use Solaris as the OS of that, and
leverage
Comstar module. But they think even the OpenSolaris 0906 is too large
for their product, they just want a core Operating System, doesn't
include GUI, doesn't include unnecessary package in it. And they want
include their own software in it. My question is, does Distribution
Constructer can do it? If so, what is the correct packages set for
minimal live CD.


___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org
mailto:opensolaris-discuss@opensolaris.org




begin:vcard
fn:Jianxun(Kelvin) Chen
n:Chen;Jianxun(Kelvin)
email;internet:jianxun.c...@sun.com
tel;work:86-10-68093995
tel;cell:86-13501085870
version:2.1
end:vcard

___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org

[osol-discuss] A question about OpenSolaris Package

2008-07-16 Thread Chen Jianxun(Kelvin)
Hi

I have a question about the Opensolaris package. My question is:

Can I package a common application to a Opensolaris package and then I
can install it use pkgadd of pkg command. If it is possible, how can I
do it. Any one can help me, thank you very mcuh.
begin:vcard
fn:Jianxun(Kelvin) Chen
n:Chen;Jianxun(Kelvin)
email;internet:[EMAIL PROTECTED]
tel;work:86-10-68093995
tel;cell:86-13501085870
version:2.1
end:vcard

___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org

Re: [osol-discuss] I want to boot OpenSolaris from USB disk

2008-06-10 Thread Chen Jianxun(Kelvin)

Hi Aubrey

Thanks a lot for your warmly help, You know, OpenSolaris doesn't specify 
bootpath in grup config file. It was stored in another configfile, so is 
there any way to change it? BTW, are you a Chinese, if so and you live 
in China mainland, I can call you for more clear communitation.


Aubrey Li 写道:

On Tue, Jun 10, 2008 at 9:28 AM, Chen Jianxun(Kelvin)
[EMAIL PROTECTED] wrote:
  

Hi Aubrey

Thank you very much, I know I can resolve this problem by reinstall grub,
but my target is to careate bootable usb disk anywhere, in another ward, I
want to find a way, to change the bootpath automatically, needn't
interactive action during the boot procedure.



I understand your intention.
But at least grub need to know where is your root pool.
I believe currently grub is statically pointing to the previous device slice.
If you want to change the bootpath automatically, it seems we need another
Grub plus plus..., :-)

Thanks,
-Aubrey
  


begin:vcard
fn:Jianxun(Kelvin) Chen
n:Chen;Jianxun(Kelvin)
email;internet:[EMAIL PROTECTED]
tel;work:86-10-68093995
tel;cell:86-13501085870
version:2.1
end:vcard

___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org

Re: [osol-discuss] I want to boot OpenSolaris from USB disk

2008-06-09 Thread Chen Jianxun(Kelvin)

Hi Aubrey

Thank you very much, I know I can resolve this problem by reinstall 
grub, but my target is to careate bootable usb disk anywhere, in another 
ward, I want to find a way, to change the bootpath automatically, 
needn't interactive action during the boot procedure.


Aubrey Li 写道:

On Fri, Jun 6, 2008 at 1:27 PM, Chen Jianxun(Kelvin)
[EMAIL PROTECTED] wrote:
  

Hi All

I am Kelvin Chen, I want to create bootable OpenSolaris USB disk, and I
have finished something about it, but I meet many trouble too, so, now I
need some help on it, if any one have experience about that, please help
me, thank you very much.

I have installed OpenSolaris 08/05 on USB Disk successfully, and I can
boot OpenSolaris from USB Disk. But I meet many trouble when I try to
boot OpenSolaris from the same USB Disk but on another computer. I move
the USB Disk to another computer, it can not boot and give some error
message I catch the screen output, and attache the photo with this
email, I hope it is helpful for someone.

I can guess the reason of that, such as I move the USB Disk from
computer A to computer B, the computer A and computer B know the USB
Disk from different PCI path, and recognize as different device ID, so
the boot program can not find the correct boot device and can not boot
normally.

Who have experience on it. Please give me a hand for that. Thank you
verymuch.



From the screenshot, it looks like you just need to reinstall grub.
Try installgrub /boot/grub/stage1 /boot/grub/stage2 your USB Disk device name

Thanks,
-Aubrey
  


begin:vcard
fn:Jianxun(Kelvin) Chen
n:Chen;Jianxun(Kelvin)
email;internet:[EMAIL PROTECTED]
tel;work:86-10-68093995
tel;cell:86-13501085870
version:2.1
end:vcard

___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org

Re: [osol-discuss] I give up.

2008-06-09 Thread Chen Jianxun(Kelvin)

Hi James

First of all, thank you very much, but my problem isn't relevant network 
card, I try to boot a installed solaris from usb disk.


James Carlson 写道:

Lu Baolu writes:
  

I am encountering an e1000g error on Nevada snv_87. I am not sure
whether it is the same as you stated.



That's the one.  Here's the work-around:

  

One known problem with e1000g is that the new FMA support can cause it
to erroneously report itself as faulty, resulting in failures.  If
fmadm faulty shows a Critical error, then this problem has hit
you.  The workaround is to plumb the interface with the undocumented
DLPI_DEVONLY environment variable set.
  


(You can move /sbin/ifconfig to a different name, then put in a script
named /sbin/ifconfig that sets this environment variable to true and
exec the original ifconfig.)

  


begin:vcard
fn:Jianxun(Kelvin) Chen
n:Chen;Jianxun(Kelvin)
email;internet:[EMAIL PROTECTED]
tel;work:86-10-68093995
tel;cell:86-13501085870
version:2.1
end:vcard

___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org

Re: [osol-discuss] I want to boot OpenSolaris from USB disk

2008-06-09 Thread Chen Jianxun(Kelvin)
Hi Andrew

Firtst of all, thank you very much. I make the bootable USB disk by
install Solaris on to a USB Disk.

Andrew Watkins 写道:
 Chen,

 How are you making the bootable USB in the first place?

 Have you followed the example which can be located on ether of these two
 blogs:

 http://blogs.sun.com/dminer/entry/opensolaris_developer_preview_on_usb

 or

 http://softwareblogs.intel.com/2008/05/15/fun-with-usb-sticks-how-to-make-one-bootable-with-opensolaris-200805/

 Andrew



 Chen Jianxun(Kelvin) wrote:
   
 Hi All

 I am Kelvin Chen, I want to create bootable OpenSolaris USB disk, and I
 have finished something about it, but I meet many trouble too, so, now I
 need some help on it, if any one have experience about that, please help
 me, thank you very much.

 I have installed OpenSolaris 08/05 on USB Disk successfully, and I can
 boot OpenSolaris from USB Disk. But I meet many trouble when I try to
 boot OpenSolaris from the same USB Disk but on another computer. I move
 the USB Disk to another computer, it can not boot and give some error
 message I catch the screen output, and attache the photo with this
 email, I hope it is helpful for someone.

 I can guess the reason of that, such as I move the USB Disk from
 computer A to computer B, the computer A and computer B know the USB
 Disk from different PCI path, and recognize as different device ID, so
 the boot program can not find the correct boot device and can not boot
 normally.

 Who have experience on it. Please give me a hand for that. Thank you
 verymuch.


 

 This body part will be downloaded on demand.
 

begin:vcard
fn:Jianxun(Kelvin) Chen
n:Chen;Jianxun(Kelvin)
email;internet:[EMAIL PROTECTED]
tel;work:86-10-68093995
tel;cell:86-13501085870
version:2.1
end:vcard

___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org

Re: [osol-discuss] I want to boot OpenSolaris from USB disk

2008-06-09 Thread Chen Jianxun(Kelvin)

Hi Hans

First of all, thank you very much, for your warmly help, I make usbdisk 
bootable just by install Solaris on usb disk, so I can boot it normally 
on original computer, but, if I use the USB disk on another computer, 
maybe it will get trouble, because there are difference between the 
original computer and other computers. But my target is to careate a 
automatically boot USB that I can use everywhere instead of modify grub 
of other configfile every time. So I think maybe somewhere during boot 
procedure I can change the bootpath or some configfile by script of 
program. Do you have some experience for that? Or could you give me some 
advice where can I find some useful material. Thank you once again.


Hans 写道:

Hi, Kevin, interesting experiment.

Could you brief your process of making USB disk image before more help can be 
given  ?

As a suggestion on a 2nd computer, please connect the USB disk. But instead of 
booting from it, boot from CD-ROM (or miniboot if any, unavailable for 2008.05 
at default ?), and then do format to figure out the PCI path, and compare with 
it on the 1st computer. If they differ, mount the USB disk on the 2nd computer 
as /a while in CD-ROM boot, and correct path by doing,

mv /a/dev /a/dev.orig
mv /a/devices /a/devices.orig
mv /a/etc/path_to_inst /a/etc/path_to_inst.orig
devfsadm -r /a  # rebuild device tree

It is useful to put the above and below in a script if switching computers is 
common.

Now fix the boot path, by editing /a/boot/solaris/bootenv.rc and fixing line with 
setprop bootpath '/[EMAIL PROTECTED],0' to match the path you'll find 
mounted for /a .

Fix /etc/vfstab if needed.

Recreate archive
   bootadm update-archive -v -R /a
   touch /a/reconfigure
   cd /; sync; sync; umount /a; init 6

The ideas above are stolen from VMware to Virtual Box migration as in 
http://blogs.sun.com/jimlaurent/entry/importing_solaris_vmdk_image_into


I think it might work for device migration in general. Give all credits to Jim 
if it works.

Good luck.

Hans
 
 
This message posted from opensolaris.org

___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org
  


begin:vcard
fn:Jianxun(Kelvin) Chen
n:Chen;Jianxun(Kelvin)
email;internet:[EMAIL PROTECTED]
tel;work:86-10-68093995
tel;cell:86-13501085870
version:2.1
end:vcard

___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org