Thanks Joshua.
 
 I use ipmitool to activate the session like this:
 
 ipmitool -I lanplus -H  <hostname> -U root -P <password> sol activate
 
 Thanks for your hint, I am new to PXE - so I blindly copied what was on the 
website to the "/var/lib/tftpboot/pxelinux.cfg/default.cfg".
 My original PXE was configured to install ubuntu, it looked like this and it 
worked.
 
 default menu.c32
 MENU TITLE "Ubuntu PXE Boot Menu"
 
 LABEL Ubuntu
 MENU LABEL Ubuntu 14.04.3 (x86_64)
 KERNEL ubuntu/14.04/x86_64/install/netboot/ubuntu-installer/amd64/linux
 IPAPPEND 1
 APPEND console=tty0 console=ttyS1,115200n8 auto=true priority=high vga=788 
initrd=ubuntu/14.04/x86_64/install/netboot/ubuntu-installer/amd64/initrd.gz 
url=http://<ipaddress>/ubuntu/14.04/x86_64/preseed/ubuntu-server.seed 
live-installer/net-image=http://<ipaddress>/ubuntu/14.04/x86_64/install/filesystem.squashfs
 ksdevice=em1 locale=en_US.UTF-8 keyboard-configuration/layoutcode=us 
interface=em1 hostname=unassigned
 
 I changed it to:
 
 default menu.c32
 MENU TITLE "SmartOS PXE Boot Menu"
 
 LABEL SmartOS
 MENU LABEL SmartOS
 KERNEL mboot.c32
 IPAPPEND 1
 APPEND smartos/platform/i86pc/kernel/amd64/unix -B 
smartos=true,console=text,root_shadow='$5$2HOHRnK3$NvLlm.1KQBbB0WjoP7xcIwGnllhzp2HnT.mDO7DpxYA'
 --- smartos/platform/i86pc/amd64/boot_archive
 
 Now when I reset the power, this is what I see:
 
 mboot.c32 smartos/platform/i86pc/kernel/amd64/unix -B smartos=true,console=tex
 
 t,root_shadow='$5$2HOHRnK3$NvLlm.1KQBbB0WjoP7xcIwGnllhzp2HnT.mDO7DpxYA' --- 
smar
 
 tos/platform/i86pc/amd64/boot_archive 
ip=<ip-address>:<ip-address-of-pxe-server>:<ip-address-of gateway>:255.255.255.0
 
 Loading smartos/platform/i86pc/kernel/amd64/unix... ok
 
 Loading smartos/platform/i86pc/amd64/boot_archive...
 
 SunOS Release 5.11 Version joyent_20160218T022556Z 64-bit
 
 I think it tried to install when I left last night, but when I checked this 
morning, I could neither ping nor "ipmitool session activate" which I was 
hoping to take me to a command prompt.
 
 Thanks,
 
 Suresh
 
 On 2/26/16, 5:32 PM, "Joshua M. Clulow" 
<[email protected]<mailto:[email protected]>> wrote:
 
 On 26 February 2016 at 17:15, Kumar, Suresh 
<[email protected]<mailto:[email protected]>> wrote:
 I am trying to add SmartOS to our existing PXE environment; I pretty much 
followed the instructions from here:  
https://wiki.smartos.org/display/DOC/PXE+Booting+SmartOS
 
 I was able to open a session with ipmitool, but I realized that the SmartOS is 
not installed and the boot happened through ramdisk and many of my services 
(including network) did not start.
 
 What command-line are you using with "ipmitool" to do this?
 
 I thought setting smartos=true will install the OS, but that did not happen. 
Any clues as to what I am doing wrong and how do I debug?
 
 Booting with "smartos=true" is definitely the way to go.  This makes
 the platform image boot up and operate as a SmartOS machine.  If no
 "zones" ZFS pool exists on the disks in the system, the installer will
 be started on the default system console.
 
 I tried removing some relevant flags (noimport=true), during which the PXE 
boot just hangs and does not complete.
 
 You don't want "noimport=true", or "standalone=true".  Just "smartos=true".
 
 Here is my default.cfg:
 default smartos
 prompt 1
 timeout 50
 label smartos
 kernel mboot.c32
 append smartos/platform/i86pc/kernel/amd64/unix -B 
smartos=true,console=text,standalone=true,noimport=true,root_shadow='$5$2HOHRnK3$NvLlm.1KQBbB0WjoP7xcIwGnllhzp2HnT.mDO7DpxYA'
 --- smartos/platform/i86pc/amd64/boot_archive
 
 What bootloader are you chainloading to the client?  I don't recognise
 this configuration syntax.
 
 Cheers.
 
 --
 Joshua M. Clulow
 UNIX Admin/Developer
 http://blog.sysmgr.org
 



-------------------------------------------
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com

Reply via email to