> I'm attempting to expand a root pool for a VMware VM > that is on an 8GB virtual disk. I mirrored it to a > 20GB disk and detached the 8GB disk. I did > "installgrub" to install grub onto the second virtual > disk, but I get a kernel panic when booting. Is there > an extra step I need to perform to get this working? > > Basically I did this: > > 1. Created a new 20GB virtual disk. > 2. Booted into the VM. > 3. Created a Solaris partition covering the whole > virtual disk. > 4. Created a slice 0 covering cylinders 1 to 2607 > (i.e. the whole disk but cylinder 0). > 4. Attached the slice 0 to the root pool using "zpool > attach rpool /dev/dsk/c3d0s0 /dev/dsk/c5t0d0s0". > 5. Installed grub using "installgrub > /boot/grub/stage1 /boot/grub/stage2 > /dev/rdsk/c5t0d0s0". > 6. detached the old 8GB virtual disk using "zpool > detach rpool /dev/dsk/c3d0s0". > 7. init 6. > 8. reconfigured the VM BIOS to boot from the 2nd HDD > first. > > When attempting to boot the VM I now get a big > warning that the root pool cannot be mounted "This > device is not bootable! It is either offlined or > detached or faulted. Please try to boot from another > device." and a nice kernel panic, followed by the > inevitable reboot. > > How can I get this working? I'm using OpenSolaris > 2008.05 upgraded to build 93. > > Thanks > > Andrew. This message posted from opensolaris.org