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: > [EMAIL PROTECTED] 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: > [EMAIL PROTECTED] 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 > [EMAIL PROTECTED] 16K - 55K - > rpool/ROOT 2.23G 18.7G 18K /a/rpool/ROOT > rpool/[EMAIL PROTECTED] 0 - 18K - > rpool/ROOT/opensolaris 2.23G 18.7G 2.22G legacy > rpool/ROOT/[EMAIL PROTECTED] 1.15M - 2.22G - > rpool/ROOT/opensolaris/opt 3.60M 18.7G 3.60M /a/opt > rpool/ROOT/opensolaris/[EMAIL PROTECTED] 0 - 3.60M - > rpool/export 37K 18.7G 19K /a/export > rpool/[EMAIL PROTECTED] 0 - 19K - > rpool/export/home 18K 18.7G 18K /a/export/home > rpool/export/[EMAIL PROTECTED] 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 > [email protected] _______________________________________________ xen-discuss mailing list [email protected]
