I managed to trash the copy of grub on my MBR (installed debian on a 2nd drive, but it went and installed grub on my 1st drive, overwriting the version that knows how to boot solaris off zfs). So... any ideas on how to reinstall the solaris version of grub, without completely reinstalling the system (b77 of the community edition)? Thanks much, Miles Fidelman This message posted from opensolaris.org
I would try:- put the solaris dvd boot to singe user mode mount the system under /a and run the instalgrub command in the shell: /sbin/installgrub -m /boot/grub/stage1 /boot/grub/stage2 /dev/rdsk/c0d0s0 Actually, it shouldn''t be a problem, you just need Sun Support on this case. This message posted from opensolaris.org
If you will be able to mount system under /a. It may look like:- /a/sbin/installgrub -m /a/../... I did (on RedHat Linuxes) many times :- boot: linux rescue # chroot /mnt/sysimage # grub-install /dev/sda In general, on Solaris it should go same way. This message posted from opensolaris.org
grub-install and grub commands are there, you''ll just need to use /dev/ dsk/cxxxxxx instead of sda/hda as it is on Linux. Obviously it didnt trash your grub.conf (symlinked as menu.lst as well usually) You might be able to boot Solaris if the Linux grub is patched with UFS support also. I advise you ask the people responsible for the Solaris installer, install-discuss I believe. James On Nov 24, 2007, at 12:50 PM, Miles Fidelman wrote:> I managed to trash the copy of grub on my MBR (installed debian on a > 2nd drive, but it went and installed grub on my 1st drive, > overwriting the version that knows how to boot solaris off zfs). > > So... any ideas on how to reinstall the solaris version of grub, > without completely reinstalling the system (b77 of the community > edition)? > > Thanks much, > > Miles Fidelman > > > This message posted from opensolaris.org > _______________________________________________ > xen-discuss mailing list > xen-discuss@opensolaris.org
thanks to all who responded since this is a sandbox machine, I ended up taking the easy way out and reinstalled the o/s - working again thanks! Miles James Cornell wrote:> grub-install and grub commands are there, you''ll just need to use > /dev/dsk/cxxxxxx instead of sda/hda as it is on Linux. Obviously it > didnt trash your grub.conf (symlinked as menu.lst as well usually) You > might be able to boot Solaris if the Linux grub is patched with UFS > support also. I advise you ask the people responsible for the Solaris > installer, install-discuss I believe. > > James > On Nov 24, 2007, at 12:50 PM, Miles Fidelman wrote: > >> I managed to trash the copy of grub on my MBR (installed debian on a >> 2nd drive, but it went and installed grub on my 1st drive, >> overwriting the version that knows how to boot solaris off zfs). >> >> So... any ideas on how to reinstall the solaris version of grub, >> without completely reinstalling the system (b77 of the community >> edition)? >> >> Thanks much, >> >> Miles Fidelman >> >> >> This message posted from opensolaris.org >> _______________________________________________ >> xen-discuss mailing list >> xen-discuss@opensolaris.org
Hi there - when you reinstalled the OS - do you loose any Raid Drive Configurations? Did you have to reimport your pools? I''m so new at using OpenSolaris. My issue is of what has been described in this thread - hoping your still part of this forum - but afraid of loosing all the work I have put into creating the LUN''s and pools. Thanks - Jeff -- This message posted from opensolaris.org