Required steps:
1. Boot from LiveCD. (After booting I disabled some services like AI,LDOM which are not necessary on my Ultra).
2. Configure network (plumb interface and enable ssh).
3. Download and run zfsinstall_sparc script (i.e. ./zfsinstall_sparc c4t1d0s0)
4. Reboot.
Sample output:
root@opensolaris:/jack# ./zfsinstall c4t1d0s0
Test TI started in real mode...
Target type specified: BE
BE target prepared successfully
BE target created successfully
Starting to copy data from UFS root to /zfsroot - this may take some time.
Updating vfstab
Updating boot-archive
updating /zfsroot//platform/sun4u/boot_archive
Installing zfs bootblk on /dev/rdsk/c4t1d0s0
###################################################
OpenSolaris now installed.
root@opensolaris:/jack# beadm umount opensolaris
root@opensolaris:/jack# reboot -- disk1
...
Sun Ultra 60 UPA/PCI (UltraSPARC-II 360MHz), Keyboard Present
OpenBoot 3.17, 512 MB memory installed, Serial #
Ethernet address 8:0:20:b8:a3:b9, Host ID: 80b8a3b9
Rebooting with command: boot disk1
Boot device: /pci@1f,4000/scsi@3/disk@1,0 File and args:
SunOS Release 5.11 Version snv_125 64-bit
Copyright 1983-2009 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.
WARNING: consconfig: cannot find driver for screen device /SUNW,ffb@1e,0
Can't find driver for console framebuffer
Hostname: opensolaris
Configuring devices.
Loading smf(5) service descriptions: 137/137
Reading ZFS config: done.
Mounting ZFS filesystems: (6/6)
opensolaris console login:
...
# beadm list
BE Active Mountpoint Space Policy Created
-- ------ ---------- ------- ------ -------
opensolaris NR / 580.69M static 2009-11-10 01:45
#
P.S. Now I've already updated the system to snv126.
Thanks for all the great work! I've almost pulled all my hair out using the OpenSolaris AI installer for sparc.
ReplyDeleteTrying your install script now on my SunBlade 150.
Also: come on sun... you have the packages, make a basic bootable test installer for sparc!
Thanks!
Good stuff as usual Alex. I need resolve some challenges with getting IPS packaging to ignore dependency.
ReplyDeleteHi. Thanks. I've already installed the OS and now it's working. Now, we would like to have the GUI up (CDE or Java Desktop). Do you have any links on how to? Thanks.
ReplyDeleteHi. I'm newbie in openSolaris especially in Sparc. Do you have any idea how to setup the xinit/xorg/XWindow for openSolaris Sparc ( with the live CD ). Thanks.
ReplyDeleteWilliam:
ReplyDeleteLiveCD (AI CD) does not contain X system,
you need install it (and Gnome WM) from pkg.opensolaris.org. Also success depends on what video card do you have.
The filesystem seems to be read-only for me. It tells me I cannot overwrite /etc/nsswith.conf because the file is read-only. Also, I currently don't have access to an IP address associated with a single website. If I try with milax.org (http://82.140.72.4/files/zfsinstall_sparc), it doesn't work.
ReplyDeleteGuillaume:
ReplyDeleteYou're right, try this url for wget: http://72.5.123.6/source/raw/milax/sparc/opensolaris/zfsinstall_sparc
Hi, I only work on this a few minutes a week, but I managed to download the script. I was wondering what was the assumption about the existing partitioning of the hard drive. Can I run the script on a hard drive that already has an install of Solaris and is thus already sliced? If yes, do I simply select the first slice on that hard drive (c1t0d0s0)?
ReplyDeleteGuillaume:yes
ReplyDeletehi,
ReplyDeleteyour opensolaris sparc live cd and your script for install it is ok, the script not work with efi label disk.
You must have SMI label disk for use your script.
Do you can write this in the list of prerequisite?
http://marcofalchi.blogspot.com/2009/12/opensolaris-sparc-svn-125-livecd.html
Work fine with my v210!
while updating ( after installing from the bootable CD for SPARC ).. i am encountering the following errors , can anyone please help me on this ..
ReplyDeleteexecute_removal
src.remove(self)
File "/usr/lib/python2.4/vendor-packages/pkg/actions/file.py", line 328, in re
move
self.save_file(pkgplan.image, path)
File "/usr/lib/python2.4/vendor-packages/pkg/actions/file.py", line 375, in sa
ve_file
misc.copyfile(full_path, saved_name)
File "/usr/lib/python2.4/vendor-packages/pkg/misc.py", line 89, in copyfile
shutil.copy2(src_path, dst_path)
File "/usr/lib/python2.4/shutil.py", line 92, in copy2
copyfile(src, dst)
File "/usr/lib/python2.4/shutil.py", line 47, in copyfile
fsrc = open(src, 'rb')
IOError: [Errno 2] No such file or directory: '/tmp/tmpB3miBb/var/spool/cron/cro
This is an internal error. Please let the developers know about this
problem by filing a bug at http://defect.opensolaris.org and including the
above traceback and this message. The version of pkg(5) is '6753a4a480ef'.
~~~~~~~~~~~~~~~~~~~
I am encountering following error on my M4000,while doing an update.. Please help .. Its a blocker for me ..
ReplyDeleteroot@linbgo044opensolaris:~# pfexec pkg image-update
DOWNLOAD PKGS FILES XFER (MB)
Completed 467/467 19088/19088 172.4/172.4 `
PHASE ACTIONS
Removal Phase 405/24161
driver (vnic) clone permission update failed with return code 252
command run was: /usr/sbin/update_drv -b /tmp/tmpB3miBb -d -m vnic 0666 root sys
clone
command output was:
------------------------------------------------------------
No entry found for driver (clone) in file (/tmp/tmpB3miBb/etc/minor_perm).
------------------------------------------------------------
Removal Phase 417/24161
driver (tl) clone permission update failed with return code 252
command run was: /usr/sbin/update_drv -b /tmp/tmpB3miBb -d -m ticlts 0666 root s
/shutil.py", line 47, in copyfile
fsrc = open(src, 'rb')
IOError: [Errno 2] No such file or directory: '/tmp/tmpB3miBb/var/spool/cron/cro
ntabs/sys'
pkg: This is an internal error. Please let the developers know about this
problem by filing a bug at http://defect.opensolaris.org and including the
above traceback and this message. The version of pkg(5) is '6753a4a480ef'.
debasis: Ask Shawn about this (mail to pkg discuss)
ReplyDelete