Yes, you may need to check if following steps are also done.

  mount -F zfs rpool/ROOT/opensolaris /mnt
  bootadm update-archive -R /mnt
  zpool set bootfs=rpool/ROOT/opensolaris rpool

Aubrey Li wrote:
> On Thu, May 15, 2008 at 9:34 PM, Darren J Moffat <[EMAIL PROTECTED]> wrote:
>   
>> Aubrey Li wrote:
>>     
>>> Robin Guo wrote:
>>>       
>>>> Hi, Aubrey
>>>>
>>>>  Could you point the entry you added into menu.lst?  I think it might be
>>>> the
>>>> issue that syntax not correct.
>>>>
>>>>         
>>> Here is my menu.lst:
>>>
>>> [EMAIL PROTECTED]:~/work/cpupm-gate$ cat /rpool/boot/grub/menu.lst
>>> splashimage /boot/grub/splash.xpm.gz
>>> timeout 30
>>> default 0
>>> #---------- ADDED BY BOOTADM - DO NOT EDIT ----------
>>> title OpenSolaris 2008.05 snv_86_rc3 X86
>>> bootfs rpool/ROOT/opensolaris
>>> kernel$ /platform/i86pc/kernel/$ISADIR/unix -B $ZFS-BOOTFS
>>> module$ /platform/i86pc/$ISADIR/boot_archive
>>> #---------------------END BOOTADM--------------------
>>> #---------- ADDED BY BOOTADM - DO NOT EDIT ----------
>>> title OpenSolaris 2008.05 snv_86_rc3 X86
>>> bootfs rpool/ROOT/opensolaris
>>> kernel$ /platform/i86pc/kernel.mine/$ISADIR/unix -B $ZFS-BOOTFS
>>> module$ /platform/i86pc/$ISADIR/boot_archive
>>> #---------------------END BOOTADM--------------------
>>> #============ End of LIBBE entry =============
>>>       
>> You are loading your kernel but using the boot_archive from the already
>> existing one, you need to fix the module$ path to the boot_archive.
>>
>> Also I think you should probably choose a different "title" so you actually
>> know which entry is booting each kernel.
>>
>>     
>
> After build ON, I use cap-eye-install to install my own kernel image.
> # Install -G kernel.mine -k i86pc
> # tar xf /tmp/Install.aubrey/Install.i86pc.tar
>
> I have no idea how to create another boot_archive, Isn't the existing
> boot_archive
> fit for zfs-rootfs boot?
>   


> Thanks,
> -Aubrey
>   

_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to