Let me thank everyone in advance. I''ve read a number of posts here and it helped tremendously in getting the install done. I have a couple of remaining issues which I can''t seem to overcome. Here are the basics: dom0 - CentOS 5.2 32-bit Xen 3.2.1 compiles from source domU - os200805.iso The install config: [root@internetpowagroup oshman]# cat opensolaris.install name = ''solaris'' memory = ''512'' disk = [ ''file:/home/oshman/sol-nv-b93.iso,6:cdrom,r'', ''phy:/dev/sdb1,0,w'' ] vif = [ '''' ] kernel = ''/home/oshman/solaris/unix-66-0624-nd'' ramdisk = ''/home/oshman/solaris/x86.miniroot-66-0624-nd'' extra = ''/platform/i86xpv/kernel/unix - nowin -B install_media=cdrom'' Worked like a charm after a little troubleshooting. Post install config: [root@internetpowagroup oshman]# cat opensolaris name = ''solaris'' memory = ''512'' disk = [''phy:/dev/sdb1,0,w'' ] vif = [ '''' ] kernel = ''/home/oshman/solaris/unix-66-0624-nd'' ramdisk = ''/home/oshman/solaris/x86.miniroot-66-0624-nd'' extra = ''/platform/i86xpv/kernel/unix'' on_shutdown = "destroy" on_reboot = "destroy" on_crash = "preserve" When it boots up I see: Searching for installed OS instances... ROOT/opensolaris was found on rpool. Do you wish to have it mounted read-write on /a? [y,n,?] y mounting rpool on /a cannot mount ''rpool/ROOT/opensolaris'': legacy mountpoint use mount(1M) to mount this filesystem Unable to mount rpool/ROOT/opensolaris as root Starting shell. Drops me to a shell where I see: # zfs list NAME USED AVAIL REFER MOUNTPOINT rpool 2.23G 18.7G 55K /a/rpool rpool@install 16K - 55K - rpool/ROOT 2.23G 18.7G 18K /a/rpool/ROOT rpool/ROOT@install 0 - 18K - rpool/ROOT/opensolaris 2.23G 18.7G 2.22G legacy rpool/ROOT/opensolaris@install 1.15M - 2.22G - rpool/ROOT/opensolaris/opt 3.60M 18.7G 3.60M /a/opt rpool/ROOT/opensolaris/opt@install 0 - 3.60M - rpool/export 37K 18.7G 19K /a/export rpool/export@install 0 - 19K - rpool/export/home 18K 18.7G 18K /a/export/home rpool/export/home@install 0 - 18K - I can mount rpool/ROOT/opensolaris manually (as read-only): # mount -F zfs rpool/ROOT/opensolaris /a # cd /a # ls COPYRIGHT devices media rpool LICENSE etc mnt sbin a export opt system bin file platform tmp boot kernel proc usr bootcd_microroot lib reconfigure var dev lost+found root But I can''t get it to mount at boot. Did I do something wrong during the install? Is there an incompatibility with Xen that I am unaware of. I tried using the option: extra = ''/platform/i86xpv/kernel/unix -B zfs-bootfs=rpool/27'' And it failed as well. Has anyone had this problem and is there a solution? Thanks. This message posted from opensolaris.org
Ash wrote:> Let me thank everyone in advance. I''ve read a number of posts here and it helped tremendously in getting the install done. I have a couple of remaining issues which I can''t seem to overcome. Here are the basics: > > dom0 - CentOS 5.2 32-bit > Xen 3.2.1 compiles from source > domU - os200805.iso > > The install config: > [root@internetpowagroup oshman]# cat opensolaris.install > name = ''solaris'' > memory = ''512'' > disk = [ ''file:/home/oshman/sol-nv-b93.iso,6:cdrom,r'', ''phy:/dev/sdb1,0,w'' ] > vif = [ '''' ] > kernel = ''/home/oshman/solaris/unix-66-0624-nd'' > ramdisk = ''/home/oshman/solaris/x86.miniroot-66-0624-nd'' > extra = ''/platform/i86xpv/kernel/unix - nowin -B install_media=cdrom'' > > Worked like a charm after a little troubleshooting. Post install config: > [root@internetpowagroup oshman]# cat opensolaris > name = ''solaris'' > memory = ''512'' > disk = [''phy:/dev/sdb1,0,w'' ] > vif = [ '''' ] > kernel = ''/home/oshman/solaris/unix-66-0624-nd'' > ramdisk = ''/home/oshman/solaris/x86.miniroot-66-0624-nd''You need to update and then copy the ramdisk off of the installed disk. You can''t use the miniroot from the install for the domU. bootadm update-archive -R /a then grab /platform/i86pc/boot_archive or /platform/i86pc/amd64/boot_archive MRJ> extra = ''/platform/i86xpv/kernel/unix'' > on_shutdown = "destroy" > on_reboot = "destroy" > on_crash = "preserve" > > When it boots up I see: > Searching for installed OS instances... > > ROOT/opensolaris was found on rpool. > Do you wish to have it mounted read-write on /a? [y,n,?] y > mounting rpool on /a > cannot mount ''rpool/ROOT/opensolaris'': legacy mountpoint > use mount(1M) to mount this filesystem > Unable to mount rpool/ROOT/opensolaris as root > Starting shell. > > Drops me to a shell where I see: > # zfs list > NAME USED AVAIL REFER MOUNTPOINT > rpool 2.23G 18.7G 55K /a/rpool > rpool@install 16K - 55K - > rpool/ROOT 2.23G 18.7G 18K /a/rpool/ROOT > rpool/ROOT@install 0 - 18K - > rpool/ROOT/opensolaris 2.23G 18.7G 2.22G legacy > rpool/ROOT/opensolaris@install 1.15M - 2.22G - > rpool/ROOT/opensolaris/opt 3.60M 18.7G 3.60M /a/opt > rpool/ROOT/opensolaris/opt@install 0 - 3.60M - > rpool/export 37K 18.7G 19K /a/export > rpool/export@install 0 - 19K - > rpool/export/home 18K 18.7G 18K /a/export/home > rpool/export/home@install 0 - 18K - > > I can mount rpool/ROOT/opensolaris manually (as read-only): > # mount -F zfs rpool/ROOT/opensolaris /a > # cd /a > # ls > COPYRIGHT devices media rpool > LICENSE etc mnt sbin > a export opt system > bin file platform tmp > boot kernel proc usr > bootcd_microroot lib reconfigure var > dev lost+found root > > But I can''t get it to mount at boot. Did I do something wrong during the install? Is there an incompatibility with Xen that I am unaware of. I tried using the option: > > extra = ''/platform/i86xpv/kernel/unix -B zfs-bootfs=rpool/27'' > > And it failed as well. Has anyone had this problem and is there a solution? > > Thanks. > > > This message posted from opensolaris.org > _______________________________________________ > xen-discuss mailing list > xen-discuss@opensolaris.org
Thanks MRJ!!! That fixed it. ___________________________________________ Loading smf(5) service descriptions: 139/139 WARNING: No randomness provider enabled for /dev/random. Use cryptoadm(1M) to enable a provider. Reading ZFS config: done. Mounting ZFS filesystems: (6/6) solaris console login: ___________________________________________ I think the warning is harmless. Just so I can the wealth of knowledge to anyone who needs it after me. The are the sites I needed to troubleshoot the issue: The "Bad kernel fault at addr=....." - see: http://www.mail-archive.com/xen-discuss@opensolaris.org/msg02296.html Ran an install from instructions here: http://www.mobilnews.cz/blog/?p=42 And of course, this page to fix the boot problem. Here is my ending post install config: [root@internetpowagroup oshman]# cat opensolaris name = ''solaris'' memory = ''512'' disk = [ ''phy:/dev/sdb1,0,w'' ] vif = [ '''' ] kernel = ''/home/oshman/solaris/unix'' ramdisk = ''/home/oshman/solaris/boot_archive'' extra = ''/platform/i86xpv/kernel/unix -kd -B zfs-bootfs=rpool/27'' on_shutdown = "destroy" on_reboot = "destroy" Thanks Again! This message posted from opensolaris.org