How can I load OpenSolaris x86 in single user mode?

Modern OpenSolaris is configured to prohibit root login during normal boot. This is only possible in single-user mode. However, many online instructions simply say to add ā€œ-sā€ to the end of the default grub boot arguments, which leaves the boot graphical display in an infinite loop and never enters the console with single user mode.

+4
source share
2 answers

The key point left by many OpenSolaris single-user instructions is that you should change the boot grub text entry, not the default image entry. Downloading in graphical mode with a single-user switch forever leaves the download progress schedule overlaid on the console, never allowing the maintenance console to be visible.

  • Reboot
  • At the grub prompt, highlight the most recent text boot entry and press e .
  • Highlight the line starting with kernel$ and press ' e '.
  • Add ' -s ' to the end of the line.

eg. edit:

 kernel$ /platform/i86pc/kernel/$ISADIR/unix -Bv$ZFS-BOOTFS 

to

 kernel$ /platform/i86pc/kernel/$ISADIR/unix -Bv$ZFS-BOOTFS -s 
  • Press ' enter '.
  • Press ' b ' to download.

The system should boot without graphical overlays and should quickly arrive at the system maintenance console.

+7
source

Complete OpenIndiana 157 Solution:

  • Reboot
  • At the grub prompt, highlight the most recent boot entry for the text and press 'e'.
  • Delete three lines (by pressing d with the cursor on the line to be deleted): splashimage / boot / solaris.xpm foreground d25f00 background 115d93
  • Press e with the cursor on the line starting with the kernel $
  • Remove part ", console = graphics" from this line
  • Add '-s' to the end of this line
  • Press 'enter'.
  • Press 'b' to download.
0
source

All Articles