[OpenIndiana-discuss] re-install grub

Marion Hakanson hakansom at ohsu.edu
Thu Aug 29 17:18:19 UTC 2013


jimklimov at cos.ru said:
> I don't think I've ever used installgrub -m flag... maybe it is what blocks
> you from installing to cXtYp0? Does installation to the disk itself (cXtY)
> also fail? 

axelle_apvrille at yahoo.fr said:
> No, that does not work either:
> # /sbin/installgrub /boot/grub/stage1 /boot/grub/stage2 /dev/rdsk/c4d0p0
> raw device must be a root slice (not s2)
> Unable to gather device information for /dev/rdsk/c4d0p0
> 
> I need to specify s0...
> # /sbin/installgrub /boot/grub/stage1 /boot/grub/stage2 /dev/rdsk/c4d0s0
> stage2 written to partition 1, 277 sectors starting at 50 (abs 61432610)
> stage1 written to partition 1 sector 0 (abs 61432560)
> 
> Note that however, I still don't have my grub back after reboot. 

Yes, you have to specify the s0 partition -- whatever shows up when
you run "zpool status -v rpool".  I always use the "-m", but I've not
used it in a multi-OS situation like yours, and it seems likely to
overwrite any Windows or other OS boot-blocks.

Regards,

Marion





More information about the OpenIndiana-discuss mailing list