I installed ubuntu on a second drive and it didn't detect opensolaris and
overwrote the MBR on the first drive (that has opensolaris). I fixed ubuntu
simple enough so it's now installed into the MBR on second drive. So if I
choose the second drive in bios it boots fine. But I still can't get the mbr
reinstalled into the MBR on first drive.
The method I see a lot of people mention is this:
pfexec zpool import -f rpool
mkdir /tmp/a
pfexec zfs set mountpoint=/tmp/a rpool/ROOT/opensolaris
pfexec /sbin/installgrub /tmp/a/boot/grub/stage1 /tmp/a/boot/grub/stage2
/dev/rdsk/c7t0d0s0
My problem is with the mountpoint. Doing a directory listing of /tmp/a shows
it's blank. Other mounts like /export and /rpool are allready mounted. In an
effort to get around this I tried using the stage1 and stage2 from the cd
(/boot/grub/stage1 and stage2) but when I try to boot it just shows a blank
screen.
This is with opensolaris 2009.08
Some hopefully useful information:
jack at opensolaris:~$ zpool status
pool: rpool
state: ONLINE
scrub: none requested
config:
NAME STATE READ WRITE CKSUM
rpool ONLINE 0 0 0
c7t0d0s0 ONLINE 0 0 0
errors: No known data errors
jack at opensolaris:~$ zfs list
NAME USED AVAIL REFER MOUNTPOINT
rpool 25.8G 431G 81.5K /rpool
rpool/ROOT 10.2G 431G 19K legacy
rpool/ROOT/opensolaris 6.30G 431G 6.13G /tmp/a
rpool/ROOT/opensolaris-1 654K 431G 6.07G /
rpool/ROOT/opensolaris-2 3.90G 431G 7.01G /
rpool/dump 6.00G 431G 6.00G -
rpool/export 3.61G 431G 21K /export
rpool/export/home 3.61G 431G 21K /export/home
rpool/export/home/sbadmin 3.61G 431G 3.61G /export/home/sbadmin
rpool/swap 6.00G 437G 101M -
--
This message posted from opensolaris.org