grub finds stage1
after running findroot it actually recognized zfs. I was able to cat /boot/grub/menu.lst and just ran the commands for loading osol as in the menu.lst
I am in osol now. how do I setup grub, so it can boot normally? I looked at /boot/grub/menu.lst and it does not look like what it should be. the one I saw from grub> was very different and the one visible from osol will definitely not work.
becoming su and trying grub does not work.
bash: grub: command not found
this is what I see from fdisk
Total disk size is 60800 cylinders
Cylinder size is 16065 (512 byte) blocks
Partition Status Type Start End Length %
========= ====== ============ ===== === ====== ===
1 Other OS 0 0 1 0
2 IFS: NTFS 21568 32035 10468 17
3 Active Solaris2 32036 33994 1959 3
4 EXT LBA 1 19241 19241 32
it looks like the stupid partitioning program I used to shrink the size of NTFS did that and also re-numbered my partitions just out of spite to create problems for me. GRUB seems to be installed on the NTFS partition and not on the osol partition. so maybe I need to direct grub to the proper partition??
I discovered that the active menu.lst is under /rpool/boot/grub/menu.lst
this is the contents which does not work on auto, but works after I do findroot /boot/grub/stage1
scb@Constantine:~$ cat /rpool/boot/grub/menu.lst
#---------- ADDED BY BOOTADM - DO NOT EDIT ----------
# rootnoverify (hd0,0)
# chainloader +1
# Unknown partition of type 15 found on /dev/rdsk/c8d0p0 partition: 2
# It maps to the GRUB device: (hd0,1) .
kernel$ /platform/i86pc/kernel/$ISADIR/unix -B $ZFS-BOOTFS,console=graphics
#============ End of LIBBE entry =============
what do I need to edit to make it work? or do I need to overwrite the MBR with installgrub? if yes which device?
Last edited by stephenbbb; 01-23-2011 at 03:14 PM.