On Fri, Dec 4, 2009 at 1:23 PM, James Carlson <carlsonj at workingcode.com> wrote: > Tian He wrote: >> Also, in http://hub.opensolaris.org/bin/view/Community+Group+tools/building_opensolaris >> >> it describes the reboot command as >> >> reboot ~-- kernel-17/amd64/unix >> >> But that actually didn't work, I had to remove the tilde. I read >> the manual of reboot command but couldn't find out what that tilde >> does. Anyone knows? > > Nothing. It'll just cause the command to fail. > > "--" is a standard POSIX command feature; it means "the options for this > command end here, and all the rest should be interpreted as arguments, > even if the look like options." With the "reboot" command, it means > "pass the rest of this command to the kernel as its command line." > > I have no idea what "kernel-17" would mean in this context. It doesn't > look right to me. But it could be right if you manually created such a > directory and placed an alternative kernel there. yes, actually I used
Install -k i86pc -G kernel-n so in my case I typed reboot -- '/platform/i86pc/kernel-n/unix' to reboot. > >>> I searched for solutions to this kind of error. It seems that >>> >>> "if a boot environment (BE) is mounted by using the beadm mount command, and the system is rebooted before that BE gets unmounted, selecting that BE from the GRUB menu causes a boot failure." >>> >>> I wonder how that description fits into my case... > > I'm baffled. You were asking about SUNWonbld and _building_ the > software from source code. That has nothing to do with BEs. > > What are you doing? I am building and installing ON from source code. That description <http://defect.opensolaris.org/bz/show_bug.cgi?id=1156> is found when I searched the error message. I couldn't see the connection either. > > -- > James Carlson 42.703N 71.076W <carlsonj at workingcode.com> > -- One way leads to another -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.opensolaris.org/pipermail/on-discuss/attachments/20091204/e3abf176/attachment-0001.html>
