View Single Post
  #1   (View Single Post)  
Old 14th May 2008
Nobber's Avatar
Nobber Nobber is offline
Port Guard
 
Join Date: May 2008
Location: Nova Scotia
Posts: 11
Default Help me boot OpenSolaris again!

I did something stupid.

I have three operating systems on my laptop: NetBSD in (hd0,0), FreeBSD in (hd0,1), and OpenSolaris in (hd0,2). OpenSolaris was the last to go on, and it installed GRUB in the MBR - which is fine, because GRUB can boot anything.

Then I installed GRUB from within FreeBSD, and copied the relevant lines from OpenSolaris's menu.lst to enable (so I thought) OpenSolaris to boot:

Code:
title OpenSolaris 2008.05 snv_86_rc3 X86
bootfs rpool/ROOT/opensolaris
kernel$ /platform/i86pc/kernel/$ISADIR/unix -B $ZFS-BOOTFS
module$ /platform/i86pc/$ISADIR/boot_archive
Now, I did remark to myself at the time that these lines were the weirdest I'd ever seen in a grub config file, but I had faith - if they worked with GRUB 0.95 from OpenSolaris, they'd work with GRUB 0.97 from FreeBSD, eh? - and ploughed on.

The OpenSolaris gurus among you will no doubt already be sensing what happened next. And what happened after I rebooted was indeed that OpenSolaris failed to boot. In fact, OpenSolaris failed to show up in the GRUB menu at all.

Now that I've laid bare my complete ignorance of how GRUB works, and how OpenSolaris uses it, could anyone tell me how to fix this and make OpenSolaris bootable again?

Please?
Reply With Quote