Re: [zfs-discuss] how to upgrade kernel by my own on root-zfs platform

2008-05-15 Thread Aubrey Li
On Thu, May 15, 2008 at 11:15 PM, Robin Guo <[EMAIL PROTECTED]> wrote: > Hi, Aubrey, > > Do you ever do installgrub to the slice, and boot up from the > disk/slice where ZFS resides on? > > It should be > > # mount -F zfs rpool/ROOT/opensolaris /mnt > # installgrub /mnt/boot/grub/stage1 /mnt

Re: [zfs-discuss] how to upgrade kernel by my own on root-zfs platform

2008-05-15 Thread Aubrey Li
On Thu, May 15, 2008 at 11:17 PM, Robin Guo <[EMAIL PROTECTED]> wrote: > Yes, you may need to check if following steps are also done. > > mount -F zfs rpool/ROOT/opensolaris /mnt mount failed: Device busy > bootadm update-archive -R /mnt > zpool set bootfs=rpool/ROOT/opensolaris rpool depends

Re: [zfs-discuss] how to upgrade kernel by my own on root-zfs platform

2008-05-15 Thread Robin Guo
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

Re: [zfs-discuss] how to upgrade kernel by my own on root-zfs platform

2008-05-15 Thread Robin Guo
Hi, Aubrey, Do you ever do installgrub to the slice, and boot up from the disk/slice where ZFS resides on? It should be # mount -F zfs rpool/ROOT/opensolaris /mnt # installgrub /mnt/boot/grub/stage1 /mnt/boot/grub/stage2 /dev/rdsk/ I think if not do installgrub, the grub is still boot f

Re: [zfs-discuss] how to upgrade kernel by my own on root-zfs platform

2008-05-15 Thread Aubrey Li
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: >> >> [

Re: [zfs-discuss] how to upgrade kernel by my own on root-zfs platform

2008-05-15 Thread Darren J Moffat
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/sp

Re: [zfs-discuss] how to upgrade kernel by my own on root-zfs platform

2008-05-15 Thread Aubrey Li
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 #-

Re: [zfs-discuss] how to upgrade kernel by my own on root-zfs platform

2008-05-15 Thread Robin Guo
Hi, Aubrey   Could you point the entry you added into menu.lst?  I think it might be the issue that syntax not correct.   Thanks. Aubrey Li wrote: On Thu, May 15, 2008 at 3:38 PM, Aubrey Li <[EMAIL PROTECTED]> wrote: Hi all, I'm new to zfs. Recently I compiled ON successfully o

Re: [zfs-discuss] how to upgrade kernel by my own on root-zfs platform

2008-05-15 Thread Aubrey Li
On Thu, May 15, 2008 at 3:38 PM, Aubrey Li <[EMAIL PROTECTED]> wrote: > Hi all, > > I'm new to zfs. > Recently I compiled ON successfully on OpenSolaris 200805 release. > So I want to upgrade kernel by my own image. > Following the cap-eye-install, I got a tar ball and extract it under "/". > I als

[zfs-discuss] how to upgrade kernel by my own on root-zfs platform

2008-05-15 Thread Aubrey Li
Hi all, I'm new to zfs. Recently I compiled ON successfully on OpenSolaris 200805 release. So I want to upgrade kernel by my own image. Following the cap-eye-install, I got a tar ball and extract it under "/". I also added a entry in /rpool/boot/grub/menu.lst to boot my own kernel. After I selecte